[#416] delete special day of a service provider

Migrated from Redmine #416 | Author: elena streep
Status: New | Priority: High, I’m very impatient | Created: 2019-08-21


hi
I want to delete sepcial day for a service provider then i use of deleteSpecialDay like below in php:
$specialDay=$admin->deleteSpecialDay(“2019-8-19”,[“unit_group_id”=>9,“event_id”=>9]);
print_r($specialDay);
but no execute please help me

Redmine Admin wrote:

please pass params like this

'2017-08-21', 
{
    "unit_group_id":"",
    "event_id":""
}

(note braces)

Developers True Quit wrote:

Redmine Admin wrote:

please pass params like this

[…]
(note braces)

Company administration service methods - Company administration service methods - SimplyBook.me

Hi Redmine,

Do we clear special days of multiple date ?

Redmine Admin wrote:

hi, it is only possible to alter this settings one by one now.

Developers True Quit wrote:

Redmine Admin wrote:

hi, it is only possible to alter this settings one by one now.

Thank you,

What will it happen when we input missing event_id ?

Redmine Admin wrote:

Hi, you should get an exception in this case