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": "a0d3575e-9c5e-418d-8266-8ea2c46da6d1",
  "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>a0d3575e-9c5e-418d-8266-8ea2c46da6d1</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": "ad2fac35-ba1f-48b4-8c22-82ce76f9b6f4",
      "DoctorID": "7e20eb34-0364-42b0-8102-1ec6290f617e",
      "PatientPhone": "sample string 3"
    },
    {
      "InvitationID": "ad2fac35-ba1f-48b4-8c22-82ce76f9b6f4",
      "DoctorID": "7e20eb34-0364-42b0-8102-1ec6290f617e",
      "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>7e20eb34-0364-42b0-8102-1ec6290f617e</DoctorID>
      <InvitationID>ad2fac35-ba1f-48b4-8c22-82ce76f9b6f4</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
    <DoctorInvitation>
      <DoctorID>7e20eb34-0364-42b0-8102-1ec6290f617e</DoctorID>
      <InvitationID>ad2fac35-ba1f-48b4-8c22-82ce76f9b6f4</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
  </DoctorInvitation>
</GetDoctorInvitationResponse>