[#554] getPerformerVacations ($performerId)

Migrated from Redmine #554 | Author: Jon Stanway
Status: New | Priority: High, I’m very impatient | Created: 2020-08-14


When I use the getPerformerVacations ($performerId) function it just brings back an empty array.
I’ve tried with with different service provider IDs but it doesn’t work for any of them.

Please could you let me know where I am going wrong?

Thanks in advance

Redmine Admin wrote:

hi, do you have vacations set for your performers?

Jon Stanway wrote:

Hi, thankyou for the quick response. yes I have 8 days set as special days in the calendar. See the screenshot.

Thanks

Redmine Admin wrote:

please use this method API documentation | SimplyBook.me Online Scheduling

Jon Stanway wrote:

Thanks for the support. Is it possible to use that function to grab just the days off? When I’ve tried to use it before it pulls in all the days from the calendar.

Redmine Admin wrote:

for this you need to use API documentation | SimplyBook.me Online Scheduling

Jon Stanway wrote:

Thanks for that. How does the data param work sorry, I can’t see any information on that?

Redmine Admin wrote:

getWorkDaysInfo ($from, $to, $unitId, $eventId, $count, $productIds)

there is no data param