PUT api/admin/doctors/Cancel/{doctorId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| doctorId | integer |
Required |
Body Parameters
CancelDoctorBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorId | integer |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"doctorId": 1,
"comment": "sample string 2"
}
text/html
Sample:
{"doctorId":1,"comment":"sample string 2"}
application/xml, text/xml
Sample:
<CancelDoctorBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ps.BusinessObjects.BindingModels.Doctors"> <Comment>sample string 2</Comment> <DoctorId>1</DoctorId> </CancelDoctorBindingModel>
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>