Book Appointment (POST)
Create or book a health appointment.
Replace {yourInstance} with the My Domain name of your Salesforce org.
POST
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
appointmentTypes | Array | Type of the appointment. | Required, if none of the following are provided:
| 65.0 |
channelId | String | Engagement channel associated with the work type. | Required | 65.0 |
comment | String | Additional text to aid in facilitating the appointment. | Optional | 65.0 |
endDate | String | End date and time for the slots range. | Required | 65.0 |
participants | Array | List of participants involved in the appointment. Patient and Facility are required. For single resource appointment, include either a Device (asset) or Provider or both for multi-resource appointment. | Required | 65.0 |
serviceCategories | Array | List of broad categorizations of the service. An array of strings. | Required, if none of the following are provided:
| 65.0 |
serviceTypes | Array | List of specific services to be performed. An array of strings. | Required, if none of the following are provided:
| 65.0 |
slots | Array | List of references to the slots the appointment is filling. | Required, if the appointment is for an external resource. | 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. | 65.0 |
specialties | Array | List of the specialties of a practitioner required for the service. | Optional | 65.0 |
startDate | String | Start date and time for the slots range. | Required | 65.0 |
timeZone | String | Timezone in which the appointment is updated. | Optional | 65.0 |
workTypeId | String | Work type associated with the resource. | Required | 65.0 |