POST api/Lookups/GetShareWithDoctor

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": "5a44a81d-0b8e-4227-ad79-044e2d62669f",
  "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>5a44a81d-0b8e-4227-ad79-044e2d62669f</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DoctorShareResponse
NameDescriptionTypeAdditional information
DoctorList

Collection of ShareDoctor

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DoctorList": [
    {
      "DoctorID": "059da66d-8efa-4540-8043-8664df29bc7b",
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    },
    {
      "DoctorID": "059da66d-8efa-4540-8043-8664df29bc7b",
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    }
  ],
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<DoctorShareResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <DoctorList>
    <ShareDoctor>
      <DoctorID>059da66d-8efa-4540-8043-8664df29bc7b</DoctorID>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </ShareDoctor>
    <ShareDoctor>
      <DoctorID>059da66d-8efa-4540-8043-8664df29bc7b</DoctorID>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </ShareDoctor>
  </DoctorList>
</DoctorShareResponse>