A request for a filtered and sorted set of Shift
objects.
SearchShiftsRequest
Name | Type | Tags | Description |
---|---|---|---|
query |
ShiftQuery | undefined |
Optional | The parameters of a Shift search query, which includes filter and sort options. |
limit |
number | undefined |
Optional | The number of resources in a page (200 by default). Constraints: >= 1 , <= 200 |
cursor |
string | undefined |
Optional | An opaque cursor for fetching the next page. |
{
"limit": 100,
"query": {
"filter": {
"workday": {
"date_range": {
"end_date": "2019-02-03",
"start_date": "2019-01-20"
},
"default_timezone": "America/Los_Angeles",
"match_shifts_by": "START_AT"
}
}
}
}