Migrated from Redmine #86 | Author: Sam Holtby Status: Closed | Priority: High, I’m very impatient | Created: 2018-01-10
Hello,
For the API method ‘book’ you take the parameter’$recurringData’. I’m not able to find any information on what this actually does. Could you provide some clarity?
Just to let you know what I’m attempting: I’m trying to give a user the option to make their booking recurring once they have booked an event.
You do not need to use $recurringData. If service has recurring settings (you can add it from Manage services in admin interface) then it will work fine. Book function returns list of all bookings made by this request.
There is nook function response example at the bottom of this page
If you need to make recurring booking for normal service then you need to use $recurringData as following:
'is_recurring' => 1, // recurring flag
'days' => 7, // interval between repeats in days
'repeat_count' => 1, // number of repeats
'type' => 'fixed', // fixed/week
'mode' => 'skip' // skip days if unable to book