appointmentCounts¶
Supported, no replacement yet
This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.
Reference¶
/rest/rs/resource/{resourceRef}/appointmentCounts/{startDate}/{endDate}/{statusList}
GET
Retrieves counts of appointments for the specified resource and their team. The count of appointments will include only appointments with a start date falling within the specified date range and that have a status corresponding to one of the statuses in the list provided. The resourceApptCount will include appointments associated to the specified resource. The teamApptCount will include appointments associated to any resource within the same team as the specified resource. There is a now separate count for all appointments and incomplete appointments.parameters:
resourceKey - a String containing a Resource key
startDate - the starting date of the date range within which to include appointments
endDate - the ending date of the date range within which to include appointments
statusList - a comma-delimited list of appointment statuses
available response representations:
- 200 - application/json
{
"resourceApptCount" : "3",
"resourceIncompleteApptCount" : "2",
"teamApptCount" : "12",
"teamIncompleteApptCount" : "9"
}See the Resource Scheduler API matrix for the full list of endpoints in this category.