Endpoint
Description
GET /appointments/status/{status}
Returns an array of appointments with specified status.
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.
These are the endpoints that are available under the /timeOff path, which shows what hours your staff has taken off. Please note that to create new periods of time off, you POST to the /timeOffBulk path, and also note that you can view multiple time offs by simply posting a GET call to the /appointments/report path with the excludeTimeOff parameter set to false and the onlyTimeOff parameter set to 1. For more information about GET /appointments/report calls, please refer to the Appointments API page.
Parameter
Description
clientId
Displays unique numeric ID of client of appointment to be returned following a GET report call.
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.
PUT /appointments/{appointmentId}
language | js |
---|---|
title | GET /appointments/{appointmentId} |
linenumbers | true |
collapse | true |
Endpoint | Description | ||||||
---|---|---|---|---|---|---|---|
GET /appointments/report | Returns all appointment objects on an account in array format. To get time offs to return, set the excludeTimeOff parameter to false and set the onlyTimeOff parameter to 1. | ||||||
GET /timeOff/{timeOffId} | Returns a JSON object for specified time off. | ||||||
POST /timeOffBulk | Creates a new timeOff object on an' account. Request body/payload: Must pass a full | 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. timeOff object. | ||||
PUT /appointments/{appointmentId} | Updates an existing appointment. Request body/payload: Must pass an appointment with the desired changes made. | ||||||
For these calls, you need to pass a timeOff object with all required fields and any fields you want to set filled in the body of the payload. We have an example of a timeOff object in the responses section below and have indicated the required fields in the object values table at the bottom of this page. | |||||||
PUT /timeOff/{timeOffId} | Updates an existing time off object. Request body/payload: Must pass an appointment a timeOff object with substatus set to CANCEL. | PUT /appointments/{appointmentId}/noshow/{sendClientEmail} |
Code Block |
---|
{"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:
Code Block |
---|
{"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.
the desired changes made. For these calls, you need to pass a timeOff object with all required fields and any fields you want to update filled in the body of the payload. We have an example of a timeOff object in the responses section below and have indicated the required fields in the object values table at the bottom of this page. | |
DELETE /timeOff/{timeOffId} | Removes a timeOff object from view by setting its active property to false. |
How to Get List of Time Offs
- You set the parameter onlyTimeOff to 1
- The parameter excludeTimeOff is set to false
- the serviceIdList parameter is either sent in as null or only includes ids for reasons that are of reasonType PERSONAL
The objects below represent the minimum viable objects to pass that are needed to create or update a timeOff object. Check whether or not a property can be written to by looking at the Object Values table below to see if the property is writable.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"appliesTo": "staff",
"assignedTo": "select",
"businessId": "43111",
"endDate": "2019-02-13",
"endTime": "1400",
"reason": {Reason object for reason of time off - for more info, see Services API page},
"repeats": false,
"staffId": [
0: 80891
],
"startDate": "2019-02-13",
"startTime": "1300"
} |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "appliesTo": "staff", "businessId": 43111, "changeReason": null, "appointmentDateTimeClientclientEndTime": "1400"Thursday, Jul 26, 2018 at 8"clientStartTime":00 AM FNT"1100", "appointmentDateTimeStaffcolor": "Thursdaynull, Jul 26, 2018 at 8"createdDate":00 AM FNT "2019-02-11 17:27:08", "blockStaffIdListcreatedUser": []"JoeSchmo", "blockedStaffListdescription": [],"Babysitter got "businessId": 43111sick", "calendarIdendDate": 16902079"2019-02-13", "cancelReasonendTime": null"1400", "cancelUsermodifiedDate": null"2019-02-11 17:27:08", "changeReasonmodifiedUser": "JoeSchmo", "classScheduleIdnote": null"Babysitter got sick", "clientreason": {ClientReason object for clientreason of appointment-time off - for more info, see clientsServices API page}, "clientConfirmedDaterecurringAppointmentId": 1532371154462null, "clientConfirmedstaff": true, "clientEndDate": "2018-07-25", "clientEndTime": 900{Staff object for staff of time off - for more info, see Staff API page}, "clientReminderHoursstaffId": 180891, "clientRescheduleCountstartDate": 0"2019-02-13", "clientStartDatestartTime": "2018-07-261300", "clientStartTimestatus": 800"OPEN", "colortimeOffId": "#668CD9", "completedReason": null,20050788 } |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "coordinatorStaffbusinessId": null43111, "couponchangeReason": null, "couponIdcolor": null, "createddatecreatedDate": "2018-0608-2103 14:4539:5238", "createdusercreatedUser": "JoeSchmo", "customFieldDescdescription": "CommentsNeed :a Boobreak!", "dateendDate": "2018-0710-2601", "dateCheckedInendTime": null1200, "dateCompleted": null, "discount": null, "endDatemodifiedDate": "2018-08-07-26", "endTime": 930 15:10:27", "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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"additionalStaffIdList": null,
"address": null,
"appointmentDateTimeClient": "Thursday, Jun 28, 2018 at 8:00 AM FNT",
"appointmentDateTimeStaff": "Thursday, Jun 28, 2018 at 8:00 AM FNT",
"blockStaffIdList": [],
"blockedStaffList": null,
"businessId": 43111,
"calendarId": 16902075,
"cancelReason": null,
"cancelUser": 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,
"sendConfirmationToStaff": false,
"staff": {Staff object for staff of appointment-see staff API page},
"staffReminderHours": 0,
"staffRescheduleCount": 0,
"startDate": "2018-06-28",
"startTime": 800,
"status": "COMPLETED",
"subStatus": "COMPLETED",
"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": 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
} |
To add an appointment to the TimeTap database, you'll need to POST a filled out Appointment JSON object to the "/appointments" endpoint appended to one of the URI prefixes listed on the Introduction page.
A general outline of the steps goes as follows:
- Model the Appointment JSON object in your chosen language/platform
- Fill in the required values (listed below)
- Convert model object to JSON format
- Send filled-in Appointment JSON object via POST request to "/appointments" endpoint
A successful POST will receive a response Appointment JSON object mirroring the object you posted. An unsuccessful POST will receive standard HTML error codes.
For more information on adding appointments via the appointments API, see our Webhooks guide.
Please note: for date and time properties, you do not need to do time zone conversion between the client and the staff. Pass the dates and times as you want them set in the staff's time zone and the backend will take care of converting them for the client's timezone in the messages that are sent to the client
Properties/Objects
In the process of saving the appointment you can make a call to
GET schedulerFieldList/reason/{reasonId}
passing the id of the selected reason. The returned array will have a list of all fields that are compatible with the reason selected in the booking process. If you loop through those fields, any field objects whose "mode" property is set to "APPT" (meaning appointment fields) and not assigned to "CLIENT" can be passed into this fields array property as the appointment's custom fields. The objects that fill the array need to have the schedulerPreferenceFieldDefnId property filled in, the value filled in, as well as the businessId
This is the start time of the appointment for the client. Should have military time format
Formatting examples:
- an appointment that starts at 12:15am should be passed as 15
- an appointment that starts at 11:30am should be passed as 1130
- an appointment that starts at 2:45pm should be passed as 1445 and so on
This is the start time of the appointment for the staff. Should be formatted the same as the clientStartTime defined above. Generally this is calculated based on the bufferBefore property set on the selected service/reason. So if an appointment is set to start for the client at 2:00pm but the selected service has a 15 minute bufferBefore value set then the startTime should get set as 1345 (1:45pm)
Please note: You can create an appointment by passing the appointment object with this value set to null. If you do this, the backend will automatically set the property based off the selected reason's bufferBefore value. If the bufferBefore value is null, then the startTime will be set to the same value as the clientStartTime
This is the end time of the appointment for the staff. Should be formatted the same as the clientStartTime defined above. Generally this is calculated based on the bufferAfter property set on the selected service/reason. So if an appointment is set to end for the client at 2:00pm but the selected service has a 15 minute bufferAfter value set then the endTime should get set as 1415 (2:15pm)
Please note: You can create an appointment by passing the appointment object with this value set to null. If you do this, the backend will automatically set the property based off the selected reason's bufferAfter value. If the bufferAfter value is null, then the endTime will be set to the same value as the clientEndTime.
This is the number of hours before the appointment that you want the reminder email to be sent to the client. If you do not want to send an email reminder to the client, set the value to 0. Otherwise, set it to the hour value.
Formatting examples
- If you want the email to go out 12 hours before the start time of the appointment, set the value to 12
- If you want the email to go out 1 day before the start time of the appointment, set the value to 24 (1 day = 24 hours)
- If you want the email to go out 1.5 days before the start time of the appointment, set the value to 36
Accepted values:
- OPEN
- PENDING_CONFIRMATION (if need to get staff confirmation that they can take the appointment before it is set to OPEN)
If you have added resources to your account to use, you can make a call while creating the appointment to
GET resource/location/{locationId}/reason/{reasonId}
Where you pass the locationId of the selected location from the location object and the reasonId of the selected reason from the reason object. This is mostly for service based appointments because class based appointments will have the resource tied to the class session already.
You'll receive a list of resources associated with the location and reason as a return from that GET call and if you want to tie one to the appointment you can set the resource property of the appointment to that selected resource. Make sure to include at least the resourceId in the passed object.
To check whether the selected resource is available during the date and time that you are trying to put it in for, make a call to
GET resource/{resourceId}/isBusy/{apptDate}/{startTime}/{endTime}
Pass the resourceId of the selected resource, the date of the appointment (formatted as YYYY-MM-DD), the start time of the appointment (either the clientStartTime or startTime, whichever is earlier) and the end time of the appointment (either the clientEndTime or the endTime, whichever is later). That will return false if the resource is available and true if the resource is busy (meaning it is already in use for another appointment or a class session).
modifiedUser": "JoeSchmo",
"reason": {Reason object for reason of time off - for more info, see Services API page},
"recurringAppointmentId": null,
"staff": {Staff object for staff with time off - for more info, see Staff API page},
"startDate": "2018-10-01",
"startTime": 1100,
"status": "Open",
"timeOffId": 17360947
} |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
[{
"businessId": 43111,
"changeReason": null,
"color": null,
"createdDate": "2018-08-03 21:39:38",
"createdUser": "JoeSchmo",
"description": "Need an even longer break!",
"endDate": "2018-10-01",
"endTime": "1400",
"modifiedDate": "2018-08-07 11:34:56",
"modifiedUser": "JoeSchmo",
"originalStartDate": "2018-10-01",
"reason": {Reason object for reason of time off - for more info, see Services API page},
"recurringAppointmentId": null,
"staff": {Staff object for staff with time off - for more info, see Staff API page},
"staffId": 80891,
"startDate": "2018-10-01",
"startTime": "1100",
"status": "1100",
"timeOffId": 17360947
}}] |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"businessId": 43111,
"changeReason": null,
"color": null,
"createdDate": "2018-08-03 14:39:38",
"createdUser": "JoeSchmo",
"description": "Need a longer break!",
"endDate": "2018-10-01",
"endTime": "1400",
"modifiedDate": "2018-08-07 11:34:56",
"modifiedUser": "JoeSchmo",
"reason": {Reason object for reason of time off - for more info, see Services API page},
"recurringAppointmentId": null,
"staff": {Staff object for staff with time off - for more info, see Staff API page},
"staffId": 80891,
"startDate": "2018-10-01",
"startTime": "1100",
"status": "1100",
"timeOffId": 17360947
} |
- For the appointments report endpoint, please refer to the Appointments API page.
Property name | Type | Required | Writable | Description |
---|---|---|---|---|
businessId | integer | Yes | Provides unique numeric ID of the business offering specified time off. | |
changeReason | boolean | Indicates whether or not the reason of the specified time off has been changed. | ||
color | string | Yes | Displays any color chosen to override specified time off on the backoffice calendar. | |
createdDate | string | Displays as date specified time off was created as YYYY-MM-DD with time after. | ||
createdUser | string | Displays the username of user who created specified time off. | ||
description | string | Yes | Displays any description that was added to time off profile. | |
endDate | string | Yes | Yes | Provides the date that specified time off is set to end as YYYY-MM-DD. |
endTime | integer | Yes | Yes | Provides the time that specified time off ends displayed in military format. |
modifiedDate | string | Displays as date specified time off was last modified as YYYY-MM-DD with time after. | ||
modifiedUser | string | Displays the username of user who last modified specified time off. | ||
reason | object | Yes | Yes | Displays the reason object connected to specified time off - for more info, see Services API page. |
recurringAppointmentId | integer | If specified time off is part of a repeating time off series, then this provides unique numeric ID of that series. | ||
staff | object | Yes | Yes | Displays the staff object connected to specified time off - for more info, see Staff API page. |
startDate | string | Yes | Yes | Provides the date that specified time off is set to begin as YYYY-MM-DD. |
startTime | integer | Yes | Yes | Provides the time that specified time off is set to begin displayed in military format. |
status | string | Yes | Yes | Displays the status of time off. Possible values include Open, Closed, or Cancelled. |
timeOffId | integer | Yes, on PUT calls | Provides unique numeric ID of specified time off. |