Update Appointment Action

Update an existing appointment.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/connect/health/appointment-management/appointment/{id}

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: PUT

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

Inputs 

InputTypeDescription
appointmentTypesArrayType of appointment, such as Follow-up.
Required, if none of the workTypeId, serviceTypes, or serviceCategories are provided.
channelIdStringEngagement channel associated with the appointment.
Required, if an engagement channel is configured for a visit type.
commentStringNotes associated with the appointment. The maximum length is 256 characters.
descriptionStringDescription of the appointment.
endDateStringEnd time of the appointment.
idStringRequired
The unique identifier of the appointment to update. This is part of the request URL.
participantsArrayList of participants involved in the appointment.
For single resource appointment, include either a Device (asset) or a Provider. For multi-resource appointment, include both.
serviceCategoriesArrayList of service categories performed during the appointment.
Required, if none of the workTypeId, serviceTypes, or appointmentType are provided.
serviceTypesArrayA list of specific services to be performed during this appointment.
Required, if none of the workTypeId, appointmentType, or serviceCategories are provided.
slotsArrayA list of references to the slots that this appointment is filling.
Required: Required, if the appointment is being booked for an external resource.
sourceSystemStringRequired, if workTypeId is not provided.
External system defined in Salesforce, such as cerner.
specialtiesArrayA list of the specialties of a practitioner that would be required to perform the service requested in this appointment.
startDateStringStart time of the appointment.
timeZoneStringTimezone in which the appointment is booked.
workTypeIdStringVisit type associated with the appointment.
Required, if none of the appointmentType, serviceTypes, or serviceCategories are provided.

Outputs 

OutputTypeDescription
idStringID of the appointment.
isSuccessBooleanIndicates whether the appointment was updated successfully (true) or not (false).
statusStringStatus of the appointment, such as Scheduled or Rejected.
errorMessagesArrayList of errors, if any.

Example 

PUT

This sample request is for the Update Appointment action.

1{
2  "inputs": [
3    {
4      "id": "08pxx000000Axq6xxC",
5      "workTypeId": "08qxx000000Axq6xxC",
6      "channelId": "0eFSG000000NNOV2A0",
7      "description": "Discussion",
8      "startDate": "2025-07-21T18:00:00.000Z",
9      "endDate": "2025-07-21T18:30:00.000Z",
10      "comment": "Payload for the internal salesforce system",
11      "participants": [
12        {
13          "reference": "Patient/001xx000012udqQxxQ"
14        },
15        {
16          "reference": "Practitioner/0bSxx0000005JoaxxE",
17          "isReferenceRequired": true
18        },
19        {
20          "reference": "Facility/001xx000012udqhxxA"
21        }
22      ]
23    }
24  ]
25}

This sample response is for the Update Appointment action.

1[
2  {
3    "id": "08pxx000000Axq6xxC",
4    "isSuccess": true,
5    "status": "Scheduled",
6    "errorMessages": []
7  }
8]