Get Appointment Slots Action
Get available appointment slots for healthcare providers or assets based on
specified criteria. Calls the Get Appointment Slots Connect API.
This action is available in API version 68.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/getAppointmentSlots
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| appointmentTypes |
|
| assetCategory |
|
| channelId |
|
| endDate |
|
| resourceId |
|
| resourceType |
|
| serviceCategories |
|
| serviceResourceId |
|
| serviceTerritoryId |
|
| serviceTypes |
|
| sourceSystem |
|
| startDate |
|
| workTypeId |
|
Outputs
| Output | Details |
|---|---|
| availableSlots |
|
Example
Sample Request
1{
2 "inputs": [
3 {
4 "resourceId": "0Hnxx000000DAxx0AG",
5 "resourceType": "Provider",
6 "serviceTerritoryId": "0Hhxx000000Efxx0AK",
7 "serviceResourceId": "0Hnxx000000DAxx0AG",
8 "assetCategory": "",
9 "startDate": "2026-07-15T00:00:00Z",
10 "endDate": "2026-07-16T00:00:00Z",
11 "workTypeId": "08qxx0000009cxxYAA",
12 "channelId": "0eFxx000000Mexx2AK",
13 "sourceSystem": "Salesforce",
14 "serviceCategories": [],
15 "serviceTypes": [],
16 "appointmentTypes": []
17 }
18 ]
19 }Sample Response
1[
2 {
3 "availableSlots": [
4 {
5 "slotId": "slot-xyz-1",
6 "slotStartDate": "2026-07-15T11:00:00.000Z",
7 "slotEndDate": "2026-07-15T11:30:00.000Z",
8 "sourceSystem": "Salesforce"
9 },
10 {
11 "slotId": "slot-xyz-2",
12 "slotStartDate": "2026-07-15T14:30:00.000Z",
13 "slotEndDate": "2026-07-15T15:00:00.000Z",
14 "sourceSystem": "Salesforce"
15 }
16 ]
17 }
18 ]