Newer Version Available
Book Appointment Action
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v65.0/connect/health/appointment-management/appointment
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: OAuth2 Bearer Token
Inputs
| Input | Details |
|---|---|
| appointmentTypes |
|
| channelId |
|
| comment |
|
| description |
|
| endDate |
|
| participants |
|
| serviceCategories |
|
| serviceTypes |
|
| slots |
|
| sourceSystem |
|
| specialties |
|
| startDate |
|
| timeZone |
|
| workTypeId |
|
Outputs
| Output | Details |
|---|---|
| id |
|
| isSuccess |
|
| status |
|
| errorMessages |
|
Example
Sample Request
1{
2 "workTypeId": "08qxxG000000Axq6xxC",
3 "channelId": "0eFxx000000NNOVxx0",
4 "description": "Discussion",
5 "startDate": "2025-07-21T18:00:00.000Z",
6 "endDate": "2025-07-21T18:30:00.000Z",
7 "comment": "Payload for the testing",
8 "participants": [
9 {
10 "reference": "Patient/001xx000012udqQxxQ"
11 },
12 {
13 "reference": "Practitioner/0bSxx0000005JoaxxE",
14 "isReferenceRequired": true
15 },
16 {
17 "reference": "Facility/001xx000012udqhxxA"
18 }
19 ]
20}Sample Response
1[
2 {
3 "id": "08pxx000000Axq6xxC",
4 "isSuccess": true,
5 "status": "scheduled",
6 "error": []
7 }
8]