POST api/Lookups/GetVital

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": "917a77ff-ca98-48c9-a644-a808eda21fcc",
  "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>917a77ff-ca98-48c9-a644-a808eda21fcc</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VitalLookupResponse
NameDescriptionTypeAdditional information
DataList

Collection of VitalLookup

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "VitalDataTypeID": "4afb63c4-dce9-44f5-bfed-b0b177999c75",
      "DecimalDigits": 1,
      "InputCount": 1,
      "VitalUnit1ID": "2c3aa04c-cc1e-448b-9d16-002a5f64c663",
      "Label1": "sample string 1",
      "VitalUnit2ID": "57f6cbe9-9fb7-4094-b6d3-ac2605815956",
      "Label2": "sample string 2",
      "VitalUnit3ID": "b414fc8f-1cf9-40f2-a246-92ce1fb9109b",
      "Label3": "sample string 3",
      "ID": "2978b178-2f59-4826-8dfe-487dd958608d",
      "Name": "sample string 5"
    },
    {
      "VitalDataTypeID": "4afb63c4-dce9-44f5-bfed-b0b177999c75",
      "DecimalDigits": 1,
      "InputCount": 1,
      "VitalUnit1ID": "2c3aa04c-cc1e-448b-9d16-002a5f64c663",
      "Label1": "sample string 1",
      "VitalUnit2ID": "57f6cbe9-9fb7-4094-b6d3-ac2605815956",
      "Label2": "sample string 2",
      "VitalUnit3ID": "b414fc8f-1cf9-40f2-a246-92ce1fb9109b",
      "Label3": "sample string 3",
      "ID": "2978b178-2f59-4826-8dfe-487dd958608d",
      "Name": "sample string 5"
    }
  ],
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<VitalLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <DataList>
    <VitalLookup>
      <ID>2978b178-2f59-4826-8dfe-487dd958608d</ID>
      <Name>sample string 5</Name>
      <DecimalDigits>1</DecimalDigits>
      <InputCount>1</InputCount>
      <Label1>sample string 1</Label1>
      <Label2>sample string 2</Label2>
      <Label3>sample string 3</Label3>
      <VitalDataTypeID>4afb63c4-dce9-44f5-bfed-b0b177999c75</VitalDataTypeID>
      <VitalUnit1ID>2c3aa04c-cc1e-448b-9d16-002a5f64c663</VitalUnit1ID>
      <VitalUnit2ID>57f6cbe9-9fb7-4094-b6d3-ac2605815956</VitalUnit2ID>
      <VitalUnit3ID>b414fc8f-1cf9-40f2-a246-92ce1fb9109b</VitalUnit3ID>
    </VitalLookup>
    <VitalLookup>
      <ID>2978b178-2f59-4826-8dfe-487dd958608d</ID>
      <Name>sample string 5</Name>
      <DecimalDigits>1</DecimalDigits>
      <InputCount>1</InputCount>
      <Label1>sample string 1</Label1>
      <Label2>sample string 2</Label2>
      <Label3>sample string 3</Label3>
      <VitalDataTypeID>4afb63c4-dce9-44f5-bfed-b0b177999c75</VitalDataTypeID>
      <VitalUnit1ID>2c3aa04c-cc1e-448b-9d16-002a5f64c663</VitalUnit1ID>
      <VitalUnit2ID>57f6cbe9-9fb7-4094-b6d3-ac2605815956</VitalUnit2ID>
      <VitalUnit3ID>b414fc8f-1cf9-40f2-a246-92ce1fb9109b</VitalUnit3ID>
    </VitalLookup>
  </DataList>
</VitalLookupResponse>