latestSwagger 2.02026-08-10143234301.7 KB

dc2736850e42

Rest

Takes a list of AvailabilitySchedules and adds them to the schedule. Returns a list of AvailabilitySchedules with Id. The following are required parameters: DaysOfWeek,StartTime,EndTime,StartDate,EndDate

post/Business/Schedules/Availability/Add

Headers

Authorizationstring required

Bearer {user_token}

SiteIdinteger required

Site ID

Request body

AvailabilityScheduleIdinteger
GroupIdinteger
StaffReferenceinteger
Updatedstring date-time
Createdstring date-time
Status'Public' | 'Masked' | 'Hidden'
LocationReferenceinteger
ServiceCategoryReferencesinteger[]
DaysOfWeekstring[]
StartTimestring
EndTimestring
StartDatestring date-time
EndDatestring date-time

Response

Created

Errorsstring[]