POST api/Lookups/GetMedicine

Request Information

URI Parameters

None.

Body Parameters

MedicineRequest
NameDescriptionTypeAdditional information
Filter

string

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": "sample string 1",
  "PatientID": "f58f2070-5838-4d8b-bb51-ce9af0656b22",
  "WebApiVersion": 3,
  "Language": "sample string 4"
}

application/xml, text/xml

Sample:
<MedicineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 4</Language>
  <PatientID>f58f2070-5838-4d8b-bb51-ce9af0656b22</PatientID>
  <WebApiVersion>3</WebApiVersion>
  <Filter>sample string 1</Filter>
</MedicineRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LookupResponse
NameDescriptionTypeAdditional information
DataList

Collection of Lookup

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "ID": "d795f086-6b34-4e74-8d4f-e3ba2da888fb",
      "Name": "sample string 2"
    },
    {
      "ID": "d795f086-6b34-4e74-8d4f-e3ba2da888fb",
      "Name": "sample string 2"
    }
  ],
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<LookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <DataList>
    <Lookup>
      <ID>d795f086-6b34-4e74-8d4f-e3ba2da888fb</ID>
      <Name>sample string 2</Name>
    </Lookup>
    <Lookup>
      <ID>d795f086-6b34-4e74-8d4f-e3ba2da888fb</ID>
      <Name>sample string 2</Name>
    </Lookup>
  </DataList>
</LookupResponse>