Cancel Appointment Action
Cancel an existing appointment.
This action is available in API version 65.0 and later.
URI: /services/data/vXX.X/connect/health/appointment-management/appointment/{id}
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: PATCH
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
cancellationReason | String | Reason for the cancellation. |
comment | String | Additional notes or comments for the cancellation. |
id | String | Required Unique identifier of the appointment to update. This is part of the request URL. |
status | String | Required New status for the appointment. Must be a valid cancellation status such as Cancelled. |
| Output | Type | Description |
|---|---|---|
errorMessages | Array | A list of errors, if any occurred. |
id | String | The id of the Appointment. |
isSuccess | Boolean | Indicates whether the appointment was cancelled successfully or not. |
status | String | The status of the Appointment, like Scheduled, Rejected. |
PATCH
This sample request is for the Cancel Appointment action.
This sample response is for the Cancel Appointment action.