Endpoint | Description | GET /appointments/status/{status}||
---|---|---|---|
Returns an array of appointments with specified status. | |||
GET /appointmentstimeOff/{appointmentIdtimeOffId} | Returns a JSON object for specified appointmenttime 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:
| ||
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:
|
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. |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "additionalStaffIdList": null, "appointmentDateTimeClient": "Thursday, Jul 26, 2018 at 8:00 AM FNT", "appointmentDateTimeStaff": "Thursday, Jul 26, 2018 at 8:00 AM FNT", "blockStaffIdList": [], "blockedStaffList": [], "businessId": 43111, "calendarId": 16902079, "cancelReason": null, "cancelUser": null, "changeReason": "", "classScheduleId": null, "client": {Client object for client of appointment-see clients API page}, "clientConfirmedDate": 1532371154462, "clientConfirmed": true, "clientEndDate": "2018-07-25", "clientEndTime": 900, "clientReminderHours": 1, "clientRescheduleCount": 0, "clientStartDate": "2018-07-26", "clientStartTime": 800, "color": "#668CD9", "completedReason": null, "coordinatorStaff": null, "coupon": null, "couponId": null, "createddate": "2018-06-21 14:45:52", "createduser": "JoeSchmo", "customFieldDesc": "Comments : Boo!", "date": "2018-07-26", "dateCheckedIn": null, "dateCompleted": null, "discount": null, "endDate": "2018-07-26", "endTime": 930, "fields": {Scheduler fields object for fields of fields of appointment-see scheduler fields API page}, "invitationUUId": null, "jobRequisitionId": null, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "locationSuperGroup": null, "modifieddate": null, "modifieduser": null, "noPrefSelected": null, "noShowReason": null, "note": "", "packageSoldId": null, "price": null, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": {Reason group object for reason group of appointment-see groups API page}, "recall": null, "recallDate": null, "recallStatus": null, "recurringAppointmentId": 101096, "remindClientSmsHrs": 2, "remindStaffSmsHours": 4, "resource": {Resource object for resource of appointment-see resources API page}, "seats": 1, "sendConfirmationToClient": false, "sendConfirmationToStaff": false, "staff": {Staff object for staff of appointment-see staff API page}, "staffReminderHours": 3, "staffRescheduleCount": 9, "startDate": "2018-07-26", "startTime": 945, "status": "OPEN", "subStatus": "CONFIRMED", "transactionFee": null, "waitlistId": null } |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "additionalStaffIdListbusinessId": null43111, "addresscolor": null, "appointmentDateTimeClientcreatedDate": "Thursday, Jun 28, 2018 at 8:00 AM FNT2018-08-03 14:39:38", "appointmentDateTimeStaffcreatedUser": "Thursday, Jun 28, 2018 at 8:00 AM FNTJoeSchmo", "blockStaffIdListdescription": [],"Need a "blockedStaffList": nullbreak!", "businessIdendDate": 43111, "calendarId": 16902075"2018-10-01", "cancelReasonendTime": null1200, "cancelUsermodifiedDate": null, "changeReason": "", "classScheduleId": null, "classroom": null, "client": {Client object for client of appointment-see clients API page}, "clientConfirmedDate": 1532371154462, "clientConfirmed": true, "clientEndDate": "2018-06-28", "clientEndTime": 900, "clientReminderHours": 0, "clientRescheduleCount": 0, "clientStartDate": "2018-06-28", "clientStartTime": 800, "color": "#668CD9", "completedReason": null, "coordinatorStaff": {Staff object for coordinator staff of appointment-see staff API page}, "coupon": null, "couponId": null, "createddate": "2018-06-21 14:45:51", "createduser": "JoeSchmo", "customFieldDesc": "". "date": "2018-06-28", "dateCheckedIn": null, "dateCompleted": 1530785153340, "discount": null, "endDate": "2018-06-28", "endTime": 900, "fields": null, "invitationUUId": null, "jobRequisitionId": null, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "locationSuperGroup": null, "modifieddate": null, "modifieduser": null, "noPrefSelected": null, "noShowReason": null, "note": "", "packageSoldId": null, "price": null, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": {Reason group object for reason group of appointment-see groups API page}, "recall": null, "recallDate": null, "recallStatus": null, "recurringAppointmentId": 101096, "remindClientSmsHrs": 0, "remindStaffSmsHours": 0, "resource": {Resource object for resource of appointment-see resources API page}, "seats": 1, "sendConfirmationToClient": true"2018-08-07 15:10:27", "sendConfirmationToStaffmodifiedUser": false"JoeSchmo", "staffreason": {StaffReason object for staffreason of appointmenttime off-see staffservices API page}, "staffReminderHoursrecurringAppointmentId": 0null, "staffRescheduleCountstaff": 0,{Staff object for staff with "startDate": "2018-06-28", "startTime": 800time off-see staff API page}, "statusstartDate": "COMPLETED2018-10-01", "subStatusstartTime": "COMPLETED"1100, "transactionFeestatus": null"Open", "waitlistIdtimeOffId": null17360947 } |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
[{ "additionalStaffIdList": null, "address": null, "appointmentDateTimeClient": "Thursday, Jul 26, 2018 at 12:00 PM FNT", "appointmentDateTimeStaff": "Thursday, Jul 26, 2018 at 12:00 PM FNT", "blockStaffIdList": [], "blockedStaffList": [], "businessId": 43111, "calendarId": 17246703, "cancelReason": "", "cancelUser": "JoeSchmo", "changeReason": "", "classScheduleId": null, "client": null, "clientConfirmedDate": 1532371154462, "clientConfirmed": false, "clientEndDate": "2018-07-26", "clientEndTime": 1330, "clientReminderHours": 0, "clientRescheduleCount": 0, "clientStartDate": "2018-07-26", "clientStartTime": 1200, "color": null, "completedReason": "", "coordinatorStaff": {Staff object for coordinator staff of appointment-see staff API page}, "coupon": null, "couponId": null, "createddate": "2018-07-24 16:10:52", "createduser": "JoeSchmo", "customFieldDesc": "". "date": "2018-07-26", "dateCheckedIn": null, "dateCompleted": 1530785153340, "dateStarted": 1532525579100, "discount": null, "endDate": "2018-07-26", "endTime": 1325, "fields": {Scheduler field object for field of appointment-see scheduler fields API page}, "invitationUUId": null, "jobRequisitionId": null, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "locationSuperGroup": null, "modifieddate": null, "modifieduser": null, "noPrefSelected": null, "noShowReason": "", "note": "", "packageSoldId": null, "price": 8, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": null, "recall": null, "recallDate": null, "recallStatus": null, "recurringAppointmentId": null, "remindClientSmsHrs": 1, "remindStaffSmsHours": 0, "resource": {Resource object for resource of appointment-see resources API page}, "seats": 1, "sendConfirmationToClient": false, "sendConfirmationToStaff": false, "staff": {Staff object for staff of appointment-see staff API page}, "staffReminderHours": 0, "staffRescheduleCount": 6, "startDate": "2018-07-26", "startTime": 1115, "status": "COMPLETED", "subStatus": "INPROGRESS", "transactionFee": null, "waitlistId": null }] |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "classScheduleId": null, "client": {Client object for client of appointment-see clients API page}, "clientEndDate": "2018-07-26", "clientEndTime": 1330, "clientReminderHours": 0, "clientStartDate": "2018-07-26", "clientStartTime": 1200, "coordinatorStaff": {Staff object for coordinator staff of appointment-see staff API page}, "duration": 90, "endDate": "2018-07-26", "endTime": 1325, "fields": {Scheduler fields object for fields of fields of appointment-see scheduler fields API page}, "invalidDates": false, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "note": "", "price": 8, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": {Reason group object for reason group of appointment-see groups API page}, "remindClientSmsHours": 1, "remindStaffSmsHours": 0, "resource": {Resource object for resource of appointment-see resources API page}, "resourceId": 2556, "sendConfirmationToClient": false, "sendConfirmationToStaff": false, "staff": {Staff object for staff of appointment-see staff API page}, "staffReminderHours": 0, "startDate": "2018-07-26", "status": "OPEN" } |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "additionalStaffIdList": null, "address": null, "appointmentDateTimeClient": "Thursday, Aug 2, 2018 at 8:00 AM FNT", "appointmentDateTimeStaff": "Thursday, Aug 2, 2018 at 8:00 AM FNT", "blockStaffIdList": [], "blockedStaffList": [], "businessId": 43111, "calendarId": 16902080, "cancelReason": null, "cancelUser": null, "changeReason": "", "classScheduleId": null, "client": {Client object for client of appointment-see clients API page}, "clientConfirmedDate": 1532371154462, "clientConfirmed": false, "clientEndDate": "2018-08-02", "clientEndTime": 900, "clientReminderHours": 0, "clientRescheduleCount": 0, "clientStartDate": "2018-08-02", "clientStartTime": 800, "color": "#668CD9", "completedReason": null, "coordinatorStaff": null, "coupon": null, "couponId": null, "createddate": "2018-06-21 14:45:52", "createduser": "JoeSchmo", "customFieldDesc": "", "date": "2018-08-02", "dateCheckedIn": null, "dateCompleted": null, "discount": null, "endDate": "2018-08-02", "endTime": 930, "fields": {Scheduler fields object for fields of fields of appointment-see scheduler fields API page}, "invitationUUId": null, "jobRequisitionId": null, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "locationSuperGroup": null, "modifieddate": null, "modifieduser": null, "noPrefSelected": null, "noShowReason": null, "note": "", "packageSoldId": null, "price": null, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": {Reason group object for reason group of appointment-see groups API page}, "recall": null, "recallDate": null, "recallStatus": null, "recurringAppointmentId": 101096, "remindClientSmsHrs": 2, "remindStaffSmsHours": 4, "resource": {Resource object for resource of appointment-see resources API page}, "seats": 1, "sendConfirmationToClient": false, "sendConfirmationToStaff": false, "staff": {Staff object for staff of appointment-see staff API page}, "staffReminderHours": 3, "staffRescheduleCount": 9, "startDate": "2018-08-02", "startTime": 945, "status": "OPEN", "subStatus": "CONFIRMED", "transactionFee": null, "waitlistId": null } |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "additionalStaffIdList": null, "address": null, "appointmentDateTimeClient": "Thursday, Jul 26, 2018 at 12:00 PM FNT", "appointmentDateTimeStaff": "Thursday, Jul 26, 2018 at 12:00 PM FNT", "blockStaffIdList": [], "blockedStaffList": [], "businessId": 43111, "calendarId": 1726703, "cancelReason": null, "cancelUser": null, "changeReason": "", "classScheduleId": null, "client": {Client object for client of appointment-see clients API page}, "clientConfirmedDate": 1532478709843, "clientConfirmed": false, "clientEndDate": "2018-07-26", "clientEndTime": 1330, "clientReminderHours": 0, "clientRescheduleCount": 0, "clientStartDate": "2018-07-26", "clientStartTime": 1200, "color": null, "completedReason": "", "coordinatorStaff": {Staff object for coordinator staff of appointment-see staff API page}, "coupon": null, "couponId": null, "createddate": "2018-07-24 16:10:52", "createduser": "JoeSchmo", "customFieldDesc": "", "date": "2018-07-26", "dateCheckedIn": 1532525743459, "dateCompleted": 1532526150687, "dateStarted": 1532525579100, "discount": null, "endDate": "2018-07-26", "endTime": 930, "fields": {Scheduler fields object for fields of fields of appointment-see scheduler fields API page}, "invitationUUId": null, "jobRequisitionId": null, "location": {Location object for location of appointment-see locations API page}, "locationGroup": {Location group object for location group of appointment-see groups API page}, "locationSuperGroup": null, "modifieddate": null, "modifieduser": null, "noPrefSelected": null, "noShowReason": null, "note": "", "packageSoldId": null, "price": null, "reason": {Reason object for service of appointment-see services API page}, "reasonGroup": {Reason group object for reason group of appointment-see groups API page}, "recall": null, "recallDate": null, "recallStatus": null, "recurringAppointmentId": 101096, "remindClientSmsHrs": 2, "remindStaffSmsHours": 4, "resource": {Resource object for resource of appointment-see resources API page}, "seats": 1, "sendConfirmationToClient": false, "sendConfirmationToStaff": false, "staff": {Staff object for staff of appointment-see staff API page}, "staffReminderHours": 3, "staffRescheduleCount": 9, "startDate": "2018-08-02", "startTime": 945, "status": "OPEN", "subStatus": "CONFIRMED", "transactionFee": null, "waitlistId": null } |
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 |