PUT api/admin/doctors/Intercom/{doctorId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| doctorId | integer |
Required |
Body Parameters
IntercomBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorId | integer |
None. |
|
| Status | string |
None. |
|
| EhrResult | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"doctorId": 1,
"status": "sample string 2",
"ehrResult": true
}
text/html
Sample:
{"doctorId":1,"status":"sample string 2","ehrResult":true}
application/xml, text/xml
Sample:
<IntercomBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ps.BusinessObjects.BindingModels.Doctors"> <DoctorId>1</DoctorId> <EhrResult>true</EhrResult> <Status>sample string 2</Status> </IntercomBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataActionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccessful": true,
"errorMessage": "sample string 2",
"data": {}
}
text/html
Sample:
{"isSuccessful":true,"errorMessage":"sample string 2","data":{}}
application/xml, text/xml
Sample:
<DataActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ps.CoreUtilities.Framework.Exceptions"> <Data /> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </DataActionResponse>