Skip to content

List Work Order Flows

Required scope: work_order:read

POST /public-api/publicapi.v1.WorkOrder/ListWorkOrderFlows

Lists the enabled work order flows the actor may start: the ways this workspace makes work orders (for example “Installatie”), with what each puts in a new work order. Requires the ability to create work orders. This is read-only.

{}

Each entry in workOrderFlows has its id and name, the title and description its work orders start with (empty when unset), its preferredLocation field when it has one, and how many tasks (taskCount) and materials (materialCount) it adds. planning says how the flow plans its work orders in the app: none, book (it books an appointment) or planning_request (it queues the work order for the route planner). Create Work Order only creates the work order, whatever the flow’s planning.

Pass a flow’s id as workOrderFlowId to Create Work Order. Draft and archived flows, and flows the actor may not start, are not listed.

Generated Reference
POST /public-api/publicapi.v1.WorkOrder/ListWorkOrderFlows

Lists the enabled work order flows the API key actor may start: the ways this workspace makes work orders (for example "Installatie"), with what each puts in a new work order. Use one as work_order_flow_id.

Request ListWorkOrderFlowsRequest
Response ListWorkOrderFlowsResponse

ListWorkOrderFlowsRequest

No fields.

ListWorkOrderFlowsResponse

Field Type
work_order_flows repeated WorkOrderFlow