Skip to content

List resource shifts

GET
/resource-shifts

Retrieve a paginated list of resource shifts (driver schedules). Filters include resource_id, service_area_id (joined via the owning resource), and an inclusive ISO date range (start_date / end_date).

page
integer
default: 1
page_size
integer
default: 50
resource_id
string
service_area_id
string
start_date
string format: date

ISO date YYYY-MM-DD (inclusive)

end_date
string format: date

ISO date YYYY-MM-DD (inclusive)

Paginated list of resource shifts

object
data
Array
total
integer
page
integer
page_size
integer
has_more
boolean
data
Array<object>

Resource shift with resource, vehicle, and start_location/end_location populated. Field set mirrors dbGetResourceShiftById.

object
key
additional properties
any