POST api/Medical/DoctorInvitationAdd

Request Information

URI Parameters

None.

Body Parameters

DoctorInvitationAddRequest
NameDescriptionTypeAdditional information
DoctorInvitationAdd

DoctorInvitationAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorInvitationAdd": {
    "PatientPhone": "sample string 1"
  },
  "PatientID": "30be1cb4-1cb0-4478-9ad4-19941fc921af",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<DoctorInvitationAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>30be1cb4-1cb0-4478-9ad4-19941fc921af</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <DoctorInvitationAdd>
    <PatientPhone>sample string 1</PatientPhone>
  </DoctorInvitationAdd>
</DoctorInvitationAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DoctorInvitationResponse
NameDescriptionTypeAdditional information
DoctorInvitation

DoctorInvitation

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DoctorInvitation": {
    "InvitationID": "4fcd227f-c284-430a-a808-63304285d958",
    "DoctorID": "9cf770be-9d9d-4d0e-8b4d-c19135dddfa7",
    "PatientPhone": "sample string 3"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<DoctorInvitationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <DoctorInvitation>
    <DoctorID>9cf770be-9d9d-4d0e-8b4d-c19135dddfa7</DoctorID>
    <InvitationID>4fcd227f-c284-430a-a808-63304285d958</InvitationID>
    <PatientPhone>sample string 3</PatientPhone>
  </DoctorInvitation>
</DoctorInvitationResponse>