Update an existing appointment.
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/68.0/connect/health/appointment-management/appointment/{id}
- Formats
- JSON, XML
- HTTP Methods
- PUT
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| appointmentTypes |
|
| channelId |
|
| comment |
|
| description |
|
| endDate |
|
| id |
|
| participants |
|
| serviceCategories |
|
| serviceTypes |
|
| slots |
|
| sourceSystem |
|
| specialties |
|
| startDate |
|
| timeZone |
|
| workTypeId |
|
Outputs
| Output | Details |
|---|---|
| id |
|
| isSuccess |
|
| status |
|
| errorMessages |
|
Example
- PUT
This sample request is for the Update Appointment action.
{
"inputs": [
{
"id": "08pxx000000Axq6xxC",
"workTypeId": "08qxx000000Axq6xxC",
"channelId": "0eFSG000000NNOV2A0",
"description": "Discussion",
"startDate": "2025-07-21T18:00:00.000Z",
"endDate": "2025-07-21T18:30:00.000Z",
"comment": "Payload for the internal salesforce system",
"participants": [
{
"reference": "Patient/001xx000012udqQxxQ"
},
{
"reference": "Practitioner/0bSxx0000005JoaxxE",
"isReferenceRequired": true
},
{
"reference": "Facility/001xx000012udqhxxA"
}
]
}
]
}
This sample response is for the Update Appointment action.
[
{
"id": "08pxx000000Axq6xxC",
"isSuccess": true,
"status": "Scheduled",
"errorMessages": []
}
]