Create Event ChainAsk AIpost https://{api_url}/api/v5/admin/{company_id}/event_chainsCreates a new event chain. Event chains are either single events, regularly occurring events or are courses.Path Paramscompany_idstringrequiredCompany IDBody Paramsnamestringrequireddescriptionstringlong_descriptionstringspacesint32Defaults to 10resource_idint32detail_group_idint32event_group_idint32global_event_group_idint32person_idint32durationint32Defaults to 60datetimedate-timeDate and time in ISO-8601 (YYYY-MM-DD hh:mm), in increments of five minutestimedate-timeTime in ISO-8601 (YYYY-MM-DD hh:mm), in increments of five minutesstart_datedate-timeStart date of the event chainend_datedate-timeEnd date of the event chainpriceint32ticket_typestringDefaults to multi_spaceaddress_idint32referencestringYour reference id for the event chainmax_num_bookingsint32Maximum number of bookings per transactionmin_advancestringMinimum advance time for accepting the bookingsmax_advancestringMaximum advance time for accepting the bookingsmin_cancelstringMinimum duration of time for before booking cancelations are closerepeatint32enumDefaults to 6The repeat type of event chain. Values: None: 0 Week: 1 Fortnight: 2 Weekday: 3 Weekend: 4 Daily: 5 Custom: 6 Monthly day: 7601234567Show 9 enum valuesevents[datetime]array of date-timesDate and time of the event in ISO-8601 (YYYY-MM-DD hh:mm)events[datetime]ADD date-timeevents[duration]array of int32sDuration of the eventevents[duration]ADD int32disabledbooleanDisable this event chain without deleting ittruefalsevalidate_availabilitybooleanValidate that the staff member AND resource is availabletruefalsetypeint32enumDefaults to 3The type of event chain, default: SLOT. Values: Event: 0 Recurring: 2 Slot: 33023Allowed:3023Response 200Event ChainUpdated over 2 years ago