[#389] I need help on creating a vacation for a service provider

Migrated from Redmine #389 | Author: Asmaa Hassaan
Status: New | Priority: Immediate, there is BUG! | Created: 2019-05-27


Greetings,

My company account is takamolsvs,

I don’t know which method I should use to save a vacation for a service provider. saveComapnyVacation OR savePerformerVacation
-when I use savePerormerVacation with params “{date_from: “2019-07-20”, date_to: “2019-07-21”}, performerId: 178)” the response returns has a vacation Id but when I use getPerformerVacations with param “performerId: 178” it does not return the expected result.

thanks

Redmine Admin wrote:

Hi, this function is not public available, there is no documentation on it. How did you found it?

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

Asmaa Hassaan wrote:

Redmine Admin wrote:

Hi, this function is not public available, there is no documentation on it. How did you found it?

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

I tried this method and it needs an index which applies this vacation to all the weeks but I need it for a specific date.
also I found this method ‘savePerformerVacation’ on public documentation: API documentation | SimplyBook.me Online Scheduling

Redmine Admin wrote:

you need to provide date in call, then of course you need to call this method few times with different dates