POST api/Lookups/GetLanguage

Request Information

URI Parameters

None.

Body Parameters

RequestBase
NameDescriptionTypeAdditional information
PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientID": "609dbf2e-d2b4-4335-960c-68182202158f",
  "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>609dbf2e-d2b4-4335-960c-68182202158f</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LanguageLookupResponse
NameDescriptionTypeAdditional information
DataList

Collection of LanguageLookup

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "ID": "5fd6bcf9-8687-4f80-832f-ab954346ddf7",
      "Name": "sample string 2",
      "ShortCode": "sample string 3"
    },
    {
      "ID": "5fd6bcf9-8687-4f80-832f-ab954346ddf7",
      "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>5fd6bcf9-8687-4f80-832f-ab954346ddf7</ID>
      <Name>sample string 2</Name>
      <ShortCode>sample string 3</ShortCode>
    </LanguageLookup>
    <LanguageLookup>
      <ID>5fd6bcf9-8687-4f80-832f-ab954346ddf7</ID>
      <Name>sample string 2</Name>
      <ShortCode>sample string 3</ShortCode>
    </LanguageLookup>
  </DataList>
</LanguageLookupResponse>