List Team Dispatches

View as Markdown

Filterable, paginated list of team dispatches across the tenant. Default scope is active (unassigned_at IS NULL); pass status=closed for closed dispatches or status=all for both. Each row embeds a team summary (name, code, member count) and work-order identity (uuid, work_order_number).

Headers

{{tenant_key_name}}stringOptional

Query parameters

team_idstringOptional

Optional: Filter to one team - string UUID - “{{team_uuid}}

work_order_idstringOptional

Optional: Filter to one work order - string UUID - “{{work_order_uuid}}

crew_statusstringOptional

Optional: Filter by crew status - staffed|understaffed|lead_missing

statusstringOptional

Optional: active (unassigned_at IS NULL) | closed (unassigned_at IS NOT NULL) | all - default “active”

dispatched_fromstringOptional

Optional: Lower bound on dispatched_at - date format Y-m-d

dispatched_tostringOptional

Optional: Upper bound on dispatched_at - date format Y-m-d

dispatched_bystringOptional

Optional: Filter by dispatcher user UUID - string UUID

sort_bystringOptional

Optional: Sort column - dispatched_at|unassigned_at|crew_status - default dispatched_at

sort_directionstringOptional

Optional: Sort direction - asc|desc - default desc

per_pageintegerOptional

Optional: Results per page - integer 1-100 - default 15

pageintegerOptional

Optional: Page number - default 1

Response

Successful response