BookingInput
Input: BookingInput
Section titled “Input: BookingInput”A booking.
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 |
|---|---|---|
carrierId* | UUID! | The ID of the carrier. |
subcarrierId | UUID | The ID of the sub-carrier |
locationId* | UUID! | The ID of the location. |
vehicleId* | UUID! | The ID of the vehicle type. |
areaId | UUID | The ID of the area. Must only be present if pickAreaOnCreateBooking is true. |
tasks* | [TaskInput!]! | A list of tasks 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* | [FieldDataInput!]! | Any fields required by the Submitted status. |
driver | DriverIdentifier | The driver input identifier. |
headerLoads | [LoadQuantityInput!] | — |
yardAssets | [BookedYardAssetInput!] | Yard assets and their corresponding tasks. |
formSubmissions | [FormSubmissionInput!] | An array of inputs containing new form submissions |