Set cargo associations

Replaces a task’s cargo associations. | authz: min_org_role=operator | (OrderTemplateNewTaskCargoAssociationsReq1) -> (OrderTemplateNew1)

Authentication

AuthorizationBearer

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

Path parameters

order_template_idstringRequired
task_keystringRequired

Request

This endpoint expects an object.
cargo_keyslist of stringsOptional

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
Tasks Put Cargo Associations V1request Unprocessable Entity Error