Skip to navigation

Add task

Adds a task to an order task group. Draft tasks default to append and DRAFT status; operational tasks require an index and STAGED or COMPLETED status. | (OrdersAddTaskReq) -> (PydanticObjectId)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
taskobjectRequired
task_group_idstringRequired
cargo_idslist of stringsOptional
indexinteger or nullOptional>=0
statusenum or nullOptional

Response

Successful Response

Errors

422
Unprocessable Entity Error