Required parameters | Type | Description |
startDateTime | DateTimeOffset | The start time for the appointment (yyyy-mm-dd hh:mm + timezone offset) (24 hour time) |
endDateTime | DateTimeOffset | The end time for the appointment (yyyy-mm-dd hh:mm+ timezone offset) (24 hour time). |
practitioner | Object containing Id | The id of practitioner for whom to book the appointment (within a practitioner object) |
locationId | String(50) | The id of the location for where the appointment is (see get locations). |
clients | Array of objects containing Ids | An array of the client ids for this appointment – each within a client object (at least one).
Note: Currently only 1 client is supported. |
Optional parameters | Type | Description |
appointmentTypeId | String(50) | The id of the applicable appointment type (see endpoint “Specialty Types”) |
subject | String(300) | If not provided, coreplus will use the name of the client and their date of birth as the subject |
notes | String(300) | Adds any relevant information related to the appointment |
isEmailReminderRequired | Boolean | Flag to determine whether the appointment will send an email reminder to the client using the client’s associated email address. (true/false) |
isSmsReminderRequired | Boolean | Flag to determine whether the appointment will send an SMS reminder to the client using the client’s associated mobile number. (true/false) Note: SMS will be flagged as true ONLY if the given client has a mobile number associated with their record |
notifyPractitioner | Boolean | Flag to determine whether an SMS notification will be sent to the practitioner associated with the appointment (true/false) |
Example request | URL: https://sandbox.coreplus.com.au/API/Core/v2/Appointment/
BODY:
|
Example response |
|
Example response (conflict or timeslot not available): |
|