API ReferenceWorkflows
Path Parameters
routerId*string
Format
uuidRequest Body
application/json
Bulk dispatch payload
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "http://localhost:8000/api/routers/7253b007-c14b-496f-833b-9e1aa7f1a27d/dispatch/bulk" \ -H "Content-Type: application/json" \ -d '{ "actor": "operator", "dispatches": [ { "workflowId": "7253b007-c14b-496f-833b-9e1aa7f1a27d", "orgId": "7253b007-c14b-496f-833b-9e1aa7f1a27d" } ] }'{
"results": [
{
"orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5"
}
],
"errors": [
{
"orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
"error": "ORDER_OR_CONTRACTOR_NOT_FOUND",
"message": "string"
}
]
}