POST api/Lookups/GetLaboratoryCategory

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": "464d675c-8767-48c4-9879-f642b7c27798",
  "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>464d675c-8767-48c4-9879-f642b7c27798</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LaboratoryCategoryLookup
NameDescriptionTypeAdditional information
CategoryID

globally unique identifier

None.

CategoryName

string

None.

ServiceList

Collection of LaboratoryServiceLookup

None.

Response Formats

application/json, text/json

Sample:
{
  "CategoryID": "67b26b6b-2185-4be5-96d9-6214756ce4f4",
  "CategoryName": "sample string 2",
  "ServiceList": [
    {
      "ServiceID": "bf2db1c2-d961-4532-a698-74fc581b36a9",
      "ServiceName": "sample string 2"
    },
    {
      "ServiceID": "bf2db1c2-d961-4532-a698-74fc581b36a9",
      "ServiceName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<LaboratoryCategoryLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <CategoryID>67b26b6b-2185-4be5-96d9-6214756ce4f4</CategoryID>
  <CategoryName>sample string 2</CategoryName>
  <ServiceList>
    <LaboratoryServiceLookup>
      <ServiceID>bf2db1c2-d961-4532-a698-74fc581b36a9</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
    <LaboratoryServiceLookup>
      <ServiceID>bf2db1c2-d961-4532-a698-74fc581b36a9</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
  </ServiceList>
</LaboratoryCategoryLookup>