Create task group

Adds a task group to an active order template. | authz: min_org_role=operator | (OrderTemplateNewTaskGroupClientCreate1) -> (OrderTemplateNew1)

Authentication

AuthorizationBearer

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

Path parameters

order_template_idstringRequired

Request

This endpoint expects an object.
task_group_typeenumRequired
Allowed values:
coordinator_setup_notesstringOptional
driver_idstringOptional
executor_assigned_user_idslist of stringsOptional
executor_org_idstringOptional

Must be a string starting with org_

off_chrt_executor_org_data_idstringOptional
vehicle_typeenumOptional

Response

Successful Response
_idstring
created_at_timestampdatetime
last_edited_at_timestampdatetime
namestring1-1024 characters
owned_by_org_idstring

Must be a string starting with org_

owned_by_user_idstring

Must be a string starting with user_

schema_versioninteger
archived_at_timestampdatetimeOptional
cargoslist of objectsOptional
coordinator_assigned_user_idslist of stringsOptional
coordinator_department_idstringOptional
coordinator_labelstringOptional
coordinator_org_idstringOptional

Must be a string starting with org_

descriptionstringOptional<=16384 characters
last_used_at_timestampdatetimeOptional
off_chrt_reference_idstringOptionalformat: "^[A-Za-z0-9._~\-]{1,64}$"1-64 characters

Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, ’.’, ’_’, ’~’, ’-’ (RFC 3986 unreserved).

off_chrt_shipper_org_data_idstringOptional
service_lineenumOptional
shipper_org_idstringOptional

Must be a string starting with org_

task_groupslist of objectsOptional
task_lists_to_apply_at_order_creationlist of objectsOptional
task_lists_to_apply_at_order_staginglist of objectsOptional

Errors

422
Task Groups Post Create V1request Unprocessable Entity Error