Get Slots Action
Retrieve available appointment slots for one or more resources.
This action is available in API version 65.0 and later.
URI: /services/data/vXX.X/connect/health/appointment-management/slots
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
appointmentTypes | Array | Types of appointments to search such as Follow-up. Required, if none of the following are provided:
|
channelId | String | ID of the engagement channel associated with the appointment. Required, if an engagement channel is configured for a Work Type. |
endDate | String | End date and time for the slot search range. |
resources | Array | Array of resource objects to find slots for. |
serviceCategories | Array | Category of service to find slots for. Required, if none of the following are provided:
|
serviceTypes | Array | Services types to find slots for. Required, if none of the following:
|
sourceSystem | String | Description of the external system defined in Salesforce, such as cerner. Required, if workTypeId is not provided. |
startDate | String | Required. Start date and time for the slot search range. |
workTypeId | String | ID of the Work Type associated with the desired appointment. Required, if none of the following are provided:
|
| Output | Type | Description |
|---|---|---|
resourceSlotDetails | Array | List of resources and their corresponding available slots. |
POST
This sample request is for the Get Slots action.
This sample response is for the Get Slots action.