POST api/Patient/PatientDoctorUpdate
Request Information
URI Parameters
None.
Body Parameters
PatientDoctorUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientDoctor | PatientDoctor |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientDoctor": {
"PatientDoctorID": "4b2b7923-f546-49dc-b85f-a781f83ab776",
"DoctorSpecialtyID": "b255bc88-c8d8-4101-a860-bfa6d02ef9ee",
"Name": "sample string 2",
"InstitutionName": "sample string 3",
"Address": "sample string 4",
"PhoneSMS": "sample string 5",
"WhatsApp": "sample string 6",
"Email": "sample string 7",
"Website": "sample string 8",
"WorkingHours": "sample string 9",
"AssistantName": "sample string 10",
"OtherInfo": "sample string 11",
"Notes": "sample string 12"
},
"PatientID": "ef198c6f-e5b6-4a46-b603-c2a465f9c69a",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientDoctorUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>ef198c6f-e5b6-4a46-b603-c2a465f9c69a</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientDoctor>
<Address>sample string 4</Address>
<AssistantName>sample string 10</AssistantName>
<DoctorSpecialtyID>b255bc88-c8d8-4101-a860-bfa6d02ef9ee</DoctorSpecialtyID>
<Email>sample string 7</Email>
<InstitutionName>sample string 3</InstitutionName>
<Name>sample string 2</Name>
<Notes>sample string 12</Notes>
<OtherInfo>sample string 11</OtherInfo>
<PatientDoctorID>4b2b7923-f546-49dc-b85f-a781f83ab776</PatientDoctorID>
<PhoneSMS>sample string 5</PhoneSMS>
<Website>sample string 8</Website>
<WhatsApp>sample string 6</WhatsApp>
<WorkingHours>sample string 9</WorkingHours>
</PatientDoctor>
</PatientDoctorUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientDoctorResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientDoctor | PatientDoctor |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientDoctor": {
"PatientDoctorID": "796aef2b-21e2-438f-8a8f-8db173ecd01c",
"DoctorSpecialtyID": "7af83af4-972b-4776-859e-ac9b7364578c",
"Name": "sample string 2",
"InstitutionName": "sample string 3",
"Address": "sample string 4",
"PhoneSMS": "sample string 5",
"WhatsApp": "sample string 6",
"Email": "sample string 7",
"Website": "sample string 8",
"WorkingHours": "sample string 9",
"AssistantName": "sample string 10",
"OtherInfo": "sample string 11",
"Notes": "sample string 12"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientDoctorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<PatientDoctor>
<Address>sample string 4</Address>
<AssistantName>sample string 10</AssistantName>
<DoctorSpecialtyID>7af83af4-972b-4776-859e-ac9b7364578c</DoctorSpecialtyID>
<Email>sample string 7</Email>
<InstitutionName>sample string 3</InstitutionName>
<Name>sample string 2</Name>
<Notes>sample string 12</Notes>
<OtherInfo>sample string 11</OtherInfo>
<PatientDoctorID>796aef2b-21e2-438f-8a8f-8db173ecd01c</PatientDoctorID>
<PhoneSMS>sample string 5</PhoneSMS>
<Website>sample string 8</Website>
<WhatsApp>sample string 6</WhatsApp>
<WorkingHours>sample string 9</WorkingHours>
</PatientDoctor>
</PatientDoctorResponse>