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": "1e23adb9-713a-46ea-b987-cb24f7ce95bc",
"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>1e23adb9-713a-46ea-b987-cb24f7ce95bc</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": "ce17b8b6-172c-4e80-939a-ee17dba64fe9",
"DoctorID": "3b233c6e-ff9f-44e3-8f74-d6b01f772590",
"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>3b233c6e-ff9f-44e3-8f74-d6b01f772590</DoctorID>
<InvitationID>ce17b8b6-172c-4e80-939a-ee17dba64fe9</InvitationID>
<PatientPhone>sample string 3</PatientPhone>
</DoctorInvitation>
</DoctorInvitationResponse>