Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Cancel Appointment Action
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/67.0/connect/health/appointment-management/appointment/{id}
- Formats
- JSON, XML
- HTTP Methods
- PATCH
- Authentication
- Authorization: Bearer Token
Inputs
| Input | Details |
|---|---|
| cancellationReason |
|
| comment |
|
| id |
|
| status |
|
Outputs
| Output | Details |
|---|---|
| errorMessages |
|
| id |
|
| isSuccess |
|
| status |
|
Usage
- PATCH
This sample request is for the Cancel Appointment action.
1{
2 "id": "08xxG000000Axx6YAC",
3 "status": "Cancelled",
4 "cancellationReason": "Patient requested cancellation.",
5 "comment": "Patient will call back to reschedule."
6}This sample response is for the Cancel Appointment action.
1{
2 "id": "08pxx000000Axx6YAC",
3 "isSuccess": true,
4 "status": "Cancelled",
5 "errorMessages": []
6}