GET api/GetKits

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of APIKit
NameDescriptionTypeAdditional information
ID

integer

None.

Title

string

None.

CurrentUserID

integer

None.

Code

string

None.

IsStore

boolean

None.

Inactive

boolean

None.

DrugsIDs

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Title": "sample string 2",
    "Code": "sample string 3",
    "IsStore": true,
    "Inactive": true,
    "CurrentUserID": 1,
    "DrugsIDs": [
      1,
      2
    ]
  },
  {
    "ID": 1,
    "Title": "sample string 2",
    "Code": "sample string 3",
    "IsStore": true,
    "Inactive": true,
    "CurrentUserID": 1,
    "DrugsIDs": [
      1,
      2
    ]
  }
]

application/octet-stream, multipart/form-data

Sample:
[{"ID":1,"Title":"sample string 2","Code":"sample string 3","IsStore":true,"Inactive":true,"CurrentUserID":1,"DrugsIDs":[1,2]},{"ID":1,"Title":"sample string 2","Code":"sample string 3","IsStore":true,"Inactive":true,"CurrentUserID":1,"DrugsIDs":[1,2]}]

application/xml, text/xml

Sample:
<ArrayOfMedicationController.APIKit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers">
  <MedicationController.APIKit>
    <Code>sample string 3</Code>
    <CurrentUserID>1</CurrentUserID>
    <DrugsIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </DrugsIDs>
    <ID>1</ID>
    <Inactive>true</Inactive>
    <IsStore>true</IsStore>
    <Title>sample string 2</Title>
  </MedicationController.APIKit>
  <MedicationController.APIKit>
    <Code>sample string 3</Code>
    <CurrentUserID>1</CurrentUserID>
    <DrugsIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </DrugsIDs>
    <ID>1</ID>
    <Inactive>true</Inactive>
    <IsStore>true</IsStore>
    <Title>sample string 2</Title>
  </MedicationController.APIKit>
</ArrayOfMedicationController.APIKit>