Get slots associated with the provider or asset.
Resource
/connect/health/appointment-management/slots
Resource Example
Replace {yourInstance} with the My Domain name of your Salesforce org.
HTTP Methods
POST
Request Body for POST
{
"resources": [
{
"resourceId": "c51xx000000B1xxBCI",
"serviceTerritoryId": "08pxx000000G6xxGHG",
"serviceResourceId": "08pxx000000I8xxIKM",
"resourceType": "Provider"
}
],
"channelId": "a02xx000000A8xxAGH",
"workTypeId": "1Fwxx0000004C9bCAE",
"startDate": "2013-12-10T09:00:00Z",
"endDate": "2013-12-10T11:00:00Z",
"sourceSystem": "<cerner>",
"appointmentTypes": [
"FOLLOW-UP"
],
"serviceCategories": [
"serviceCategoryCode1",
"serviceCategoryCode2"
],
"serviceTypes": [
"serviceTypeCode1",
"serviceTypeCode2"
]
}
Request Parameters for POST
| Parameter Name | Type | Description | Required or Optional | Available version |
|---|---|---|---|---|
| appointmentTypes | Array | Type of the appointment. An array of strings.
Required, if none of the following are provided:
|
Required | 65.0 |
| channelId | String | Engagement channel associated with the work type. | Required | 65.0 |
| endDate | String | End date and time for the slots range. | Required | 65.0 |
| resources | Resources Input | Array of resources, like provider or device. | Required | 65.0 |
| serviceCategories | Array | List of broad categorizations of the service. An
array of strings. Required, if none of the following are
provided:
|
Required | 65.0 |
| serviceTypes | Array | List of specific services to be performed. An array
of strings. Required, if none of the following are
provided:
|
Required | 65.0 |
| sourceSystem | String | Source system associated with the appointment type, service type or service category. Required, if workTypeId is not provided but either appointmentType, serviceTypes, or serviceCategories is. | Required | 65.0 |
| startDate | String | Start date and time for the slots range. | Required | 65.0 |
| workTypeId | String | Work type associated with the resource. | Required | 65.0 |