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": "0250fecd-94a1-4b43-9502-b72a88848181",
"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>0250fecd-94a1-4b43-9502-b72a88848181</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": "edfdc044-a5c0-463f-b230-584f3880f816",
"DoctorID": "bcd9e27b-d29d-47ae-942d-a85f543f3682",
"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>bcd9e27b-d29d-47ae-942d-a85f543f3682</DoctorID>
<InvitationID>edfdc044-a5c0-463f-b230-584f3880f816</InvitationID>
<PatientPhone>sample string 3</PatientPhone>
</DoctorInvitation>
</DoctorInvitationResponse>