Skip to content

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.

FieldTypeDescription
carrierId*UUID!The ID of the carrier.
subcarrierIdUUIDThe ID of the sub-carrier
locationId*UUID!The ID of the location.
vehicleId*UUID!The ID of the vehicle type.
areaIdUUIDThe ID of the area. Must only be present if pickAreaOnCreateBooking is true.
tasks*[TaskInput!]!A list of tasks to add to the booking.
timeTimestampThe requested time for the booking.
timeRangeTimeRangeA 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.
noteCommentInputA note. This will be added as the first comment to a booking.
fields*[FieldDataInput!]!Any fields required by the Submitted status.
driverDriverIdentifierThe driver input identifier.
headerLoads[LoadQuantityInput!]
yardAssets[BookedYardAssetInput!]Yard assets and their corresponding tasks.
formSubmissions[FormSubmissionInput!]An array of inputs containing new form submissions