Endpoint | Description |
---|---|
Returns an array of appointments with specified status. | |
GET /timeOff/{timeOffId} | Returns a JSON object for specified time off period. |
GET /appointments/resource/{resourceId/{statusList} | Returns all appointments that include specified resource. |
GET /appointments/recurringappointments/{recurringApptId} | Returns a list of appointment objects that were part of the recurring appointment series that specified appointment is part of as determined by the value set in its recurringAppointmentId. |
GET /appointments/{appointmentId}/checkWaitList | Checks the waitlist of specified appointment before updating appointment object. |
GET /appointments/report | Returns an array of all appointments on a business' account. |
POST /appointments | Creates a new appointment on a business' account. Request body/payload: Must pass a full appointment object. |
PUT /appointments/{appointmentId} | Updates an existing appointment. Request body/payload: Must pass an appointment with the desired changes made. |
PUT /appointments/{appointmentId}/cancel/{sendStaffEmail}/{sendClientEmail} | Sets an appointment to a substatus of CANCEL and alters boolean flag accordingly to notify the client via email. Effectively cancels an appointment with the option to send an email to the staff and the client. Request body/payload: Must pass an appointment object with substatus set to CANCEL. |
PUT /appointments/{appointmentId}/noshow/{sendClientEmail} | Sets an appointment to a substatus of NO_SHOW and alters boolean flag accordingly to notify the client via email. Request body/payload: Must pass an appointment object with substatus set to NO_SHOW. This endpoint also requires a JSON POST body of an empty string for the Reason property of the appointment: {"reason" : ""} |
PUT /appointments/{appointmentId}/completed/{sendClientEmail} | Sets an appointment to a substatus of COMPLETED and alters boolean flag accordingly to send a thank you email to the client. Request body/payload: Must pass an appointment object with substatus set to COMPLETED. This endpoint also requires a JSON POST body of an empty string for the Reason property of the appointment: {"reason" : ""} |
To aid with page load time, we have included pageNumber and pageSize parameters for server side pagination. The pageSize parameter will be the number of items shown per page.
Parameter | Type | Endpoints to be used with | Description |
---|---|---|---|
clientId | integer | GET /appointments/report | Displays unique numeric ID of client of appointment to be returned following a GET report call. |
classScheduleId | integer | GET /appointments/report | Displays unique numeric ID of client of appointment to be returned following a GET report call. |
endDate | string | GET /appointments/report | Displays the end date of appointments to be returned following a GET report call, formatted as YYYY-MM-DD. |
excludeTimeOff | boolean | GET /appointments/report | If TRUE then the GET report call does not return appointments that are set for reasons of reasonType PERSONAL; if FALSE then it does return appointments that are set for reasons of reasonType PERSONAL. |
onlyTimeOff | integer | GET /appointments/report | Can be set to 0 or 1; if set to 0 then reads as essentially false; if set to 1 then only appointments that are set for reasons that are of reasonType PERSONAL will return. |
order_field | string | GET /appointments/report | Displays the field that appointments returned following a GET report call should be ordered by. |
order_mode | string | GET /appointments/report | Displays the mode ('asc'ending or 'desc'ending) in which appointments returned following a GET report call should appear. |
pageNumber | integer | GET /appointments/report | Works with the pageSize parameter to determine how appointments get returned following a GET report call. The pageNumber value represents the number of pages on which the class sessions that get returned appear. |
pageSize | integer | GET /appointments/report | Works with the pageNumber parameter to determine how appointments gets returned following a GET report call. The pageSize value represents the number of class sessions appearing on each page of class sessions that gets returned. |
staffIdList | integer | GET /appointments/report | Displays a comma-separated list of unique numeric IDs of staff of appointments to be returned following a GET report call. |
startDate | string | GET /appointments/report | Displays the start date of appointments to be returned following a GET report call, formatted as YYYY-MM-DD. |
locationIdList | integer | GET /appointments/report | Displays a comma-separated list of locationIds connected to the appointments you want returned following a GET report call. |
statusList | string | GET /appointments/report | Displays a comma-separated list of statuses of the appointments you want returned following a GET report call. Has acceptable values of OPEN, CLOSED, INPROGRESS, COMPLETED, READ_ONLY, PENDING, PENDING_CONFIRMATION, PENDING_WAITLIST, CHECKEDIN, CANCELLED, and CONFIRMED. |
waitListIds | string | PUT /appointments/{appointmentId} | Displays a comma-separated list of waitListIds to be invited to claim the spot of a cancelled appointment. |
override | integer | POST /appointments | Can be set to 0 or 1; if set to 0 then staff for specified appointment is free during that time slot; if set to 1 you are overriding the staff's work schedule and effectively double booking him or her. |
Property name | Type | Description |
---|---|---|
businessId | integer | Provides unique numeric ID of the business offering availability. (Required) |
color | string | |
createdDate | string | |
createdUser | string | |
description | string | |
endDate | string | |
endTime | integer | |
modifiedDate | string | |
modifiedUser | string | |
reason | object | |
recurringAppointmentId | integer | |
staff | object | |
startDate | string | |
startTime | integer | |
status | string | |
timeOffId | integer |
Add Comment