CREATE BOOKING MUTATION
n8n-nodes-semble / nodes/Semble/shared/BookingQueries / CREATE_BOOKING_MUTATION
Variable: CREATE_BOOKING_MUTATION¶
const
CREATE_BOOKING_MUTATION: "\n mutation CreateBooking(\n $patient: ID!\n $location: ID!\n $bookingType: ID!\n $doctor: ID!\n $comments: String\n $start: Date!\n $end: Date!\n $bookingData: BookingDataInput\n ) {\n createBooking(\n patient: $patient\n location: $location\n bookingType: $bookingType\n doctor: $doctor\n comments: $comments\n start: $start\n end: $end\n bookingData: $bookingData\n ) {\n data {\n \n id\n deleted\n cancellationReason\n doctorName\n start\n end\n createdAt\n updatedAt\n videoUrl\n comments\n reference\n billed\n patientId\n onlineBookingPaymentStatus\n patient {\n id\n firstName\n lastName\n email\n }\n location {\n id\n name\n }\n appointment {\n id\n title\n duration\n price\n }\n bookingJourney {\n arrived\n consultation\n departed\n dna\n }\n patientMessagesSent {\n confirmation\n reminder\n followup\n cancellation\n }\n\n }\n error\n }\n }\n"
Defined in: nodes/Semble/shared/BookingQueries.ts:182
GraphQL mutation for creating a new booking Updated to match actual API schema