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": "a93232c4-4dd2-4cf6-963a-2c41c865aaed",
  "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>a93232c4-4dd2-4cf6-963a-2c41c865aaed</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": "01735e99-15fe-406b-9e29-7d988fbee217",
  "CategoryName": "sample string 2",
  "ServiceList": [
    {
      "ServiceID": "9132c259-0c92-4e38-a67e-ec66a5b28f2c",
      "ServiceName": "sample string 2"
    },
    {
      "ServiceID": "9132c259-0c92-4e38-a67e-ec66a5b28f2c",
      "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>01735e99-15fe-406b-9e29-7d988fbee217</CategoryID>
  <CategoryName>sample string 2</CategoryName>
  <ServiceList>
    <LaboratoryServiceLookup>
      <ServiceID>9132c259-0c92-4e38-a67e-ec66a5b28f2c</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
    <LaboratoryServiceLookup>
      <ServiceID>9132c259-0c92-4e38-a67e-ec66a5b28f2c</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
  </ServiceList>
</LaboratoryCategoryLookup>