POST api/Lookups/GetMedicine
Request Information
URI Parameters
None.
Body Parameters
MedicineRequest| Name | Description | Type | Additional 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": "4321f107-5a9a-4f63-ad14-3839225c5586",
"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>4321f107-5a9a-4f63-ad14-3839225c5586</PatientID> <WebApiVersion>3</WebApiVersion> <Filter>sample string 1</Filter> </MedicineRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LookupResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of Lookup |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"DataList": [
{
"ID": "cb142f4f-6916-416c-8769-75e357093db1",
"Name": "sample string 2"
},
{
"ID": "cb142f4f-6916-416c-8769-75e357093db1",
"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>cb142f4f-6916-416c-8769-75e357093db1</ID>
<Name>sample string 2</Name>
</Lookup>
<Lookup>
<ID>cb142f4f-6916-416c-8769-75e357093db1</ID>
<Name>sample string 2</Name>
</Lookup>
</DataList>
</LookupResponse>