OBJECT
BookingPlanning
Booking planning of a Site
link GraphQL Schema definition
- type BookingPlanning {
- # Id
- : Int!
- # Can visitors book on this planning?
- : Boolean!
- # Name
- : String!
- # Color of the planning on the agenda, as an hexadecimal value
- : String!
- # Days of the week on which a booking can be made
- : [DayOfTheWeek!]!
- # Can a visitor book for the current day?
- : Boolean!
- # Minimum delay between the booking and the booked slot, in minutes
- : Int!
- # How far in advance a booking can be made, in days
- : Int!
- # Email address notified of each new booking
- : String
- # Is a confirmation email sent to the visitor who booked?
- : Boolean!
- # Time slots that can be booked, per day of the week
- : [BookingPlanningTimeSlot!]!
- # Periods during which nothing can be booked (holidays, bank holidays)
- : [BookingPlanningBlockedPeriod!]!
- # Days of a period of at most 93 days on which a blocked period prevents any
- # booking
- #
- # Arguments
- # from: First day of the period, as YYYY-MM-DD
- # to: Last day of the period, as YYYY-MM-DD
- (: String!, : String!): [BookingBlockedDay!]!
- # Time slots of a day with their remaining places, following the same rules as the
- # public booking (bookable days, blocked periods, notice, advance)
- #
- # Arguments
- # date: Day, as YYYY-MM-DD
- (: String!): [BookingSlotAvailability!]!
- # Date of creation
- : DateTime!
- # Date of last update
- : DateTime!
- }