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.

InputTypeDescription
appointmentTypesArrayTypes of appointments to search such as Follow-up. Required, if none of the following are provided:
  • workTypeId
  • serviceTypes
  • serviceCategories.
channelIdStringID of the engagement channel associated with the appointment. Required, if an engagement channel is configured for a Work Type.
endDateStringEnd date and time for the slot search range.
resourcesArrayArray of resource objects to find slots for.
serviceCategoriesArrayCategory of service to find slots for. Required, if none of the following are provided:
  • workTypeId
  • serviceTypes
  • appointmentTypes.
serviceTypesArrayServices types to find slots for. Required, if none of the following:
  • workTypeId
  • serviceCategories
  • appointmentTypes.
sourceSystemStringDescription of the external system defined in Salesforce, such as cerner. Required, if workTypeId is not provided.
startDateStringRequired.
Start date and time for the slot search range.
workTypeIdStringID of the Work Type associated with the desired appointment. Required, if none of the following are provided:
  • serviceTypes
  • serviceCategories
  • appointmentTypes.
OutputTypeDescription
resourceSlotDetailsArrayList 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.