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": "c4e44929-9854-4c17-9b19-b15efab61f8c",
  "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>c4e44929-9854-4c17-9b19-b15efab61f8c</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": "8cb91dee-0b02-488c-81d5-163b91c51c66",
  "CategoryName": "sample string 2",
  "ServiceList": [
    {
      "ServiceID": "f53eb3d4-3ecc-489e-8fec-4887ad93e181",
      "ServiceName": "sample string 2"
    },
    {
      "ServiceID": "f53eb3d4-3ecc-489e-8fec-4887ad93e181",
      "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>8cb91dee-0b02-488c-81d5-163b91c51c66</CategoryID>
  <CategoryName>sample string 2</CategoryName>
  <ServiceList>
    <LaboratoryServiceLookup>
      <ServiceID>f53eb3d4-3ecc-489e-8fec-4887ad93e181</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
    <LaboratoryServiceLookup>
      <ServiceID>f53eb3d4-3ecc-489e-8fec-4887ad93e181</ServiceID>
      <ServiceName>sample string 2</ServiceName>
    </LaboratoryServiceLookup>
  </ServiceList>
</LaboratoryCategoryLookup>