Get Slots (POST)

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.

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/health/appointment-management/slots

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
appointment​Types Array Type of the appointment. An array of strings. Required, if none of the following are provided:
  • workTypeId
  • serviceTypes
  • serviceCategories
Required 65.0
channel​Id 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
service​Categories Array List of broad categorizations of the service. An array of strings. Required, if none of the following are provided:
  • workTypeId
  • serviceTypes
  • appointmentType
Required 65.0
service​Types Array List of specific services to be performed. An array of strings. Required, if none of the following are provided:
  • workTypeId
  • appointmentType
  • serviceCategories
Required 65.0
source​System 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
start​Date String Start date and time for the slots range. Required 65.0
workType​Id String Work type associated with the resource. Required 65.0

Response Body for POST

Get Slots Output