List Staff Schedules

A Staff Schedule defines the assigned schedules to a staff member.

StaffSchedule Fields

ParameterData TypeDescription
calendarIdintegerThe ID of the Calendar associated to this resource.
icalUIDstringIf created using ical import, a reference to the ical UID which generated this resource.
minStaffintegerThe minimum staff number required.
namestringThe name of the StaffSchedule, unique to a ShiftSchedule.
recurrenceRecurrenceA valid repeat or period Recurrence. See Recurrences.
staffAssignmentsStaffingAssignmentA valid contact, group, or mixed staffing assignment. See Staff Assignments.
seqintegerDefines the order of the StaffSchedule layer.
shiftScheduleIdintegerThe ID of the ShiftSchedule associated to this resource.
staffEachDaybooleanIndicates whether staffing is different for each day of the shift.
staffRotationstaffRotationA valid staffRotation. See Staff Rotation.
statusstringIndicates whether the resource is active or deleted.

Return Type

shiftSchedule Object

Parameters

NameRequired?Data TypeOptionsDescription

organizationId

y

long

The ID of the Organization that owns this resource.

fields

n

string

Any StaffSchedule field
Ex: name, seq, shiftScheduleId

Fields to be included in the response.
Fields[resourceName] may be used to specify fields returned for included documents. When doing so, it is not necessary to also request to include the resource as the include is implied by the fields request.

include

n

string

"calendar",
"shiftSchedule",
"contact",
"group"

Specifying the includes parameter will result in a compound document response, adding resources to included which have been referenced by resources returned in data.

filter

n

string

Any non transient StaffSchedule field
Ex: filter[shiftScheduleId], filter[seq]

Filter may be used to specify filter criteria for the request.
Filters are specified in the format of filter[fieldName], where fieldName is any field supported by this resource.
Multiple filter criteria will result in AND conditions, with the exception of multiple filters on the same field, in which case the criteria will be treated as an OR condition..

sort

n

string

Any non transient StaffSchedule field
Ex: name, seq, shiftScheduleId

Specifies sort order.
Comma-delimited list of fields to sort by.
+/- can precede the field name to indicate direction (ascending/descending).
+ is the default direction
Ex. sort=status,-createdDate sorts by status ascending and createdDate descending

pageSize

n

integer

default of 10
format - int32

The number of records per page to be included in the response.

pageNo

n

integer

default of 1
format - int32

The page to be returned.
Language
Credentials
:
URL
Click Try It! to start a request and see the response here!