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
indexintegerOptional>=0
statusenumOptional

Response

Successful Response

Errors

422
Task Add V1request Unprocessable Entity Error