POST api/Lookups/GetVaccineRoute
Request Information
URI Parameters
None.
Body Parameters
RequestBase| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientID": "6ffdd364-33ce-4af8-8ee8-9bd7ef5dd7ce",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<RequestBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 3</Language> <PatientID>6ffdd364-33ce-4af8-8ee8-9bd7ef5dd7ce</PatientID> <WebApiVersion>2</WebApiVersion> </RequestBase>
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": "639df2cb-298d-4cf6-aeea-7796ec64412e",
"Name": "sample string 2"
},
{
"ID": "639df2cb-298d-4cf6-aeea-7796ec64412e",
"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>639df2cb-298d-4cf6-aeea-7796ec64412e</ID>
<Name>sample string 2</Name>
</Lookup>
<Lookup>
<ID>639df2cb-298d-4cf6-aeea-7796ec64412e</ID>
<Name>sample string 2</Name>
</Lookup>
</DataList>
</LookupResponse>