Skip to content

updateBookingTasks

Mutation

Adds new tasks and deletes existing tasks of a valid booking. The new booking tasks will be passed through the booking engine in order to evaluate their viability based on the time requested and location conditions.

mutation {
updateBookingTasks(
organisationId: UUID!
bookingId: ID!
addTasks: [TaskInput!]!
deleteTasks: [ID!]!
time: Timestamp!
areaId: UUID
headerLoads: [LoadQuantityInput!]
): Void
}
ArgumentTypeDefaultDescription
organisationId*UUID!
bookingId*ID!
addTasks*[TaskInput!]!
deleteTasks*[ID!]!
time*Timestamp!
areaIdUUID
headerLoads[LoadQuantityInput!]An array of inputs containing the updated header loads for this booking

Void (Void)

mutation UpdateBookingTasks($organisationId: UUID!, $bookingId: ID!, $addTasks: [TaskInput!]!, $deleteTasks: [ID!]!, $time: Timestamp!, $areaId: UUID, $headerLoads: [LoadQuantityInput!]) {
updateBookingTasks(organisationId: $organisationId, bookingId: $bookingId, addTasks: $addTasks, deleteTasks: $deleteTasks, time: $time, areaId: $areaId, headerLoads: $headerLoads)
}