BookingEntityRefInput
Input: BookingEntityRefInput
Section titled “Input: BookingEntityRefInput”A booking refrence input
Bookings are the core unit of work for carriers and locations. Bookings contain one or more tasks, which are the core unit of work for senders and receivers.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
carrier* | EntityRefInput! | The carrier reference. |
subcarrier | EntityRefInput | The sub-carrier reference. |
location* | EntityRefInput! | The location reference. |
vehicle* | EntityRefInput! | Vehicle reference. |
area | EntityRefInput | The area reference. Must only be present if pickAreaOnCreateBooking is true. |
tasks* | [TaskEntityRefInput!]! | A list of task references to add to the booking. |
time | Timestamp | The requested time for the booking. |
timeRange | TimeRange | A requested time range for the booking. The booking will be automatically approved for the first time slot available in the range specified. If there are no times available in the specified time range, the booking will be submitted for manual approval at the specified start time. This field is required if not providing the time value. |
note | CommentInput | A note. This will be added as the first comment to a booking. |
fields* | [FieldDataEntityRefInput!]! | Field references required by the Submitted status. |
driver | DriverIdentifier | The driver input identifier. |