createBooking
This mutation creates a new booking.
createBooking(
patient: ID
location: ID
bookingType: ID
doctor: ID
comments: String
start: Date
end: Date
bookingData: BookingDataInput
): BookingResponsePayload
Arguments
createBooking.patient ● ID scalar
Deprecated. Use bookingData instead. Required if bookingData is not provided. Cannot be used together with bookingData.
createBooking.location ● ID scalar
Deprecated. Use bookingData instead.
createBooking.bookingType ● ID scalar
Deprecated. Use bookingData instead.
createBooking.doctor ● ID scalar
Deprecated. Use bookingData instead.
createBooking.comments ● String scalar
Deprecated. Use bookingData instead.
createBooking.start ● Date scalar
Deprecated. Use bookingData instead.
createBooking.end ● Date scalar
Deprecated. Use bookingData instead.
createBooking.bookingData ● BookingDataInput input
If you use bookingData, you may not use other fields.
Type
BookingResponsePayload object
The requested/resulting booking or the error associated with the operation.