/
Calendar

Calendar

Models:

Calendars

  • id - string, 2 letters abbreviation - day of week (MO, TU, WE, TH, FR, SA, SU)

  • isWeekend - boolean

  • begin - string, 5 letter max (e.g. 10:30, 9:00)

  • end - string, 5 letter max

CalendarExceptions

  • id - date

  • isWeekend - boolean

  • begin - string, 5 letter max (e.g. 10:30, 9:00)

  • end - string, 5 letter max

Admin mutations:

saveCalendar

mutation { saveCalendar( calendar: [ { id:"mo", isWeekend:false, begin: "9:00", end:"14:00" }, { id:"tu", isWeekend:false, begin: "9:00", end:"17:00" }, { id:"we", isWeekend:false, begin: "9:00", end:"17:00" }, { id:"th", isWeekend:false, begin: "9:00", end:"17:00" }, { id:"fr", isWeekend:false, begin: "9:00", end:"16:00" }, { id:"sa", isWeekend:true }, { id:"su", isWeekend:true } ] ) }

saveCalendarException

mutation { saveCalendarException( date:"2024-06-28" isWeekend:true ) }

deleteCalendarException

mutation { deleteCalendarException( date:"2024-06-28" ) }

 

Related content

Local deployment of Marionette
Local deployment of Marionette
Read with this
Queries Mutations Subscriptions - Frontend v2.10.0+
Queries Mutations Subscriptions - Frontend v2.10.0+
More like this
Mutations to run WorkFlows on GraphQL
Mutations to run WorkFlows on GraphQL
More like this
downloadOperationsHistoryCSV
downloadOperationsHistoryCSV
More like this
Engineering Guidelines
Engineering Guidelines
More like this
Frontend Queries, Mutations and Subscriptions
Frontend Queries, Mutations and Subscriptions
More like this