POST api/Medical/DoctorInvitationAdd
Request Information
URI Parameters
None.
Body Parameters
DoctorInvitationAddRequest| Name | Description | Type | Additional 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": "6299fa35-a500-4b6a-89be-b00956023d93",
"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>6299fa35-a500-4b6a-89be-b00956023d93</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| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorInvitation | DoctorInvitation |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"DoctorInvitation": {
"InvitationID": "84f22860-599d-4679-bbed-f5cdf6a83c66",
"DoctorID": "577d384b-eb0f-4076-aa25-575beae9dcf8",
"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>577d384b-eb0f-4076-aa25-575beae9dcf8</DoctorID>
<InvitationID>84f22860-599d-4679-bbed-f5cdf6a83c66</InvitationID>
<PatientPhone>sample string 3</PatientPhone>
</DoctorInvitation>
</DoctorInvitationResponse>