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": "e49b9ccf-6b18-4a9a-8fb4-8e4a3b58696b",
  "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>e49b9ccf-6b18-4a9a-8fb4-8e4a3b58696b</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": "e6d9fcc5-d39a-4732-ae04-51ee5d5e3249",
  "CategoryName": "sample string 2",
  "ServiceList": [
    {
      "ServiceID": "4913bbc7-e757-47c1-ac6b-c7d484b5000d",
      "ServiceName": "sample string 2"
    },
    {
      "ServiceID": "4913bbc7-e757-47c1-ac6b-c7d484b5000d",
      "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>e6d9fcc5-d39a-4732-ae04-51ee5d5e3249</CategoryID>
  <CategoryName>sample string 2</CategoryName>
  <ServiceList>
    <LaboratoryServiceLookup>
      <ServiceID>4913bbc7-e757-47c1-ac6b-c7d484b5000d</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
    <LaboratoryServiceLookup>
      <ServiceID>4913bbc7-e757-47c1-ac6b-c7d484b5000d</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
  </ServiceList>
</LaboratoryCategoryLookup>