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": "d0342b7f-b431-4e38-87de-cc00351cd7a8",
  "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>d0342b7f-b431-4e38-87de-cc00351cd7a8</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": "b44e2d53-5f30-4aa9-a65a-5b7fb375e793",
      "DoctorID": "5a47060c-034d-4ee8-b71e-481dd95b04da",
      "PatientPhone": "sample string 3"
    },
    {
      "InvitationID": "b44e2d53-5f30-4aa9-a65a-5b7fb375e793",
      "DoctorID": "5a47060c-034d-4ee8-b71e-481dd95b04da",
      "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>5a47060c-034d-4ee8-b71e-481dd95b04da</DoctorID>
      <InvitationID>b44e2d53-5f30-4aa9-a65a-5b7fb375e793</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
    <DoctorInvitation>
      <DoctorID>5a47060c-034d-4ee8-b71e-481dd95b04da</DoctorID>
      <InvitationID>b44e2d53-5f30-4aa9-a65a-5b7fb375e793</InvitationID>
      <PatientPhone>sample string 3</PatientPhone>
    </DoctorInvitation>
  </DoctorInvitation>
</GetDoctorInvitationResponse>