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.

InputTypeDescription
cancellationReasonStringReason for the cancellation.
commentStringAdditional notes or comments for the cancellation.
idStringRequired
Unique identifier of the appointment to update. This is part of the request URL.
statusStringRequired
New status for the appointment. Must be a valid cancellation status such as Cancelled.
OutputTypeDescription
errorMessagesArrayA list of errors, if any occurred.
idStringThe id of the Appointment.
isSuccessBooleanIndicates whether the appointment was cancelled successfully or not.
statusStringThe 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.