POST api/Lookups/GetMaritalStatus

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": "d3e5721d-1f32-4dbc-8cdd-54d1bff7e003",
  "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>d3e5721d-1f32-4dbc-8cdd-54d1bff7e003</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

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": "c627b271-5e60-4db7-a3a1-0d89e9dbbaef",
      "Name": "sample string 2"
    },
    {
      "ID": "c627b271-5e60-4db7-a3a1-0d89e9dbbaef",
      "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>c627b271-5e60-4db7-a3a1-0d89e9dbbaef</ID>
      <Name>sample string 2</Name>
    </Lookup>
    <Lookup>
      <ID>c627b271-5e60-4db7-a3a1-0d89e9dbbaef</ID>
      <Name>sample string 2</Name>
    </Lookup>
  </DataList>
</LookupResponse>