POST api/Medical/GetDoctorInvitation

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": "3dd72f8e-6451-401e-bc82-4fe713405308",
  "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>3dd72f8e-6451-401e-bc82-4fe713405308</PatientID>
  <WebApiVersion>2</WebApiVersion>
</RequestBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetDoctorInvitationResponse
NameDescriptionTypeAdditional information
DoctorInvitation

Collection of DoctorInvitation

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DoctorInvitation": [
    {
      "InvitationID": "55f0869d-67e6-4cb8-8109-32e7ff283c8b",
      "DoctorID": "1232ab6b-adc6-4d38-a2c6-6a8da34483f7",
      "PatientPhone": "sample string 3"
    },
    {
      "InvitationID": "55f0869d-67e6-4cb8-8109-32e7ff283c8b",
      "DoctorID": "1232ab6b-adc6-4d38-a2c6-6a8da34483f7",
      "PatientPhone": "sample string 3"
    }
  ],
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<GetDoctorInvitationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <DoctorInvitation>
    <DoctorInvitation>
      <DoctorID>1232ab6b-adc6-4d38-a2c6-6a8da34483f7</DoctorID>
      <InvitationID>55f0869d-67e6-4cb8-8109-32e7ff283c8b</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
    <DoctorInvitation>
      <DoctorID>1232ab6b-adc6-4d38-a2c6-6a8da34483f7</DoctorID>
      <InvitationID>55f0869d-67e6-4cb8-8109-32e7ff283c8b</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
  </DoctorInvitation>
</GetDoctorInvitationResponse>