I’ve already got some logic calling the API to generate a set of “sessions” - basically instances of a service at given times. So for example, if I’ve got a 60 minute service, available between 14:00 and 18:00 I’m generating 4 sessions for display on a website.
I’d like to indicate which sessions are bookable. Say I set 2 hours as the “minimum allowed time before service booking” and the user is browsing at 13:00. In that case, the first session wouldn’t be bookable, but the following three would be.
I don’t need to change these settings via the API - just read them.
Additionally - I’ll also need I think the timezone (already found from getCompanyTimezoneOffset) and the date format setting. If you could advise where I can read the date format too, that would be useful.
getAvailableTimeIntervals do not take in account min/max time before booking and current time
getStartTimeMatrix taking in account min/max time before booking and current time
Just going back to my original question too - is it possible to retrieve these values via the API? If so, I could do the filtering myself and continue using getAvailableTimeIntervals