Task
Object: Task
Section titled “Object: Task”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 |
|---|---|---|
id* | ID! | The ID of the task. The ID will always be in the format of "MDT-XX-XXXX-XXXX" where the first two XX after MDT are the last two digits of the year the task was created in. |
sender | OrganisationReference | The assigned sender to the task. Incoming tasks do not require a sender. Outgoing tasks do. |
senderCore | CoreDetails | Core details for this task's sender. |
receiver | OrganisationReference | The assigned receiver to the task. Outgoing tasks do not require a sender. Incoming tasks do. |
receiverCore | CoreDetails | Core details for this task's receiver. |
loads* | [LoadQuantity!]! | A list of load quantities on the task. |
bookingOptions* | [BookingOption!]! | A list of booking options associated with the task. |
direction* | Direction! | The direction the task is going, inbound or outbound. |
document | Document | The document associated to this load |