POST api/AppointmentCancellationRequest
Adds a request to cancel an appointment.
Request Information
URI Parameters
None.
Body Parameters
Model used to request to cancel an appointment.
AppointmentCancellationRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentCancellationRequestId |
Unique ID of appointment cancellation request (Read only). |
globally unique identifier |
None. |
| AppointmentId |
Unique ID of the appointment to be canceled (Required). |
globally unique identifier |
None. |
| Status |
Status of the appointment cancellation request (Read only). |
string |
None. |
| CancelReason |
Reason to cancel the appointment request. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppointmentCancellationRequestId": "1bd235a1-fb97-4b32-992f-28f0e86950a7",
"AppointmentId": "1f0cb869-57f1-484a-b867-6d70703be5e0",
"Status": "sample string 3",
"CancelReason": "sample string 4"
}
application/xml, text/xml
Sample:
<AppointmentCancellationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentCancelRequests"> <AppointmentCancellationRequestId>1bd235a1-fb97-4b32-992f-28f0e86950a7</AppointmentCancellationRequestId> <AppointmentId>1f0cb869-57f1-484a-b867-6d70703be5e0</AppointmentId> <CancelReason>sample string 4</CancelReason> <Status>sample string 3</Status> </AppointmentCancellationRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppointmentCancellationRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentCancellationRequestId |
Unique ID of appointment cancellation request (Read only). |
globally unique identifier |
None. |
| AppointmentId |
Unique ID of the appointment to be canceled (Required). |
globally unique identifier |
None. |
| Status |
Status of the appointment cancellation request (Read only). |
string |
None. |
| CancelReason |
Reason to cancel the appointment request. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AppointmentCancellationRequestId": "17dc3dde-4fc6-40b3-a112-0e1721fc0c01",
"AppointmentId": "e8f08e44-ec26-424b-95d0-4ac40fee89c6",
"Status": "sample string 3",
"CancelReason": "sample string 4"
}
application/xml, text/xml
Sample:
<AppointmentCancellationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentCancelRequests"> <AppointmentCancellationRequestId>17dc3dde-4fc6-40b3-a112-0e1721fc0c01</AppointmentCancellationRequestId> <AppointmentId>e8f08e44-ec26-424b-95d0-4ac40fee89c6</AppointmentId> <CancelReason>sample string 4</CancelReason> <Status>sample string 3</Status> </AppointmentCancellationRequestModel>