TaskInput
Input: TaskInput
Section titled “Input: TaskInput”A task represents a core unit of work for a booking. A task has loads and booking options, and will be either incoming or outgoing. The onsite organisation must be referenced on the task, the offsite may be omitted. When a task is inbound, the receiver is the onsite, and the sender is the offsite. When a task is outbound, the sender is the onsite, and the receiver is the offsite.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
senderId | UUID | The assigned sender to the task. Incoming tasks do not require a sender. Outgoing tasks do. |
receiverId | UUID | The assigned receiver to the task. Outgoing tasks do not require a sender. Incoming tasks do. |
direction* | Direction! | The direction the task is going, inbound or outbound. |
loads* | [LoadQuantityInput!]! | A list of load quantities on the task. |
bookingOptions* | [UUID!]! | A list of booking options associated with the task. |
documentId | ID | A document Id option |
yardAssetId | ID | A yard asset Id option |
yardAssetTypeKey | ID | A yard asset type Id option |