POST api/Lookups/GetLanguage
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": "01110a54-61d6-4140-9a2c-02ce9c0736e2",
"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>01110a54-61d6-4140-9a2c-02ce9c0736e2</PatientID> <WebApiVersion>2</WebApiVersion> </RequestBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LanguageLookupResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of LanguageLookup |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"DataList": [
{
"ID": "4da973c5-f275-4186-aeaa-1c40935b3fb8",
"Name": "sample string 2",
"ShortCode": "sample string 3"
},
{
"ID": "4da973c5-f275-4186-aeaa-1c40935b3fb8",
"Name": "sample string 2",
"ShortCode": "sample string 3"
}
],
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<LanguageLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<DataList>
<LanguageLookup>
<ID>4da973c5-f275-4186-aeaa-1c40935b3fb8</ID>
<Name>sample string 2</Name>
<ShortCode>sample string 3</ShortCode>
</LanguageLookup>
<LanguageLookup>
<ID>4da973c5-f275-4186-aeaa-1c40935b3fb8</ID>
<Name>sample string 2</Name>
<ShortCode>sample string 3</ShortCode>
</LanguageLookup>
</DataList>
</LanguageLookupResponse>