Input:

Vacation end time. In case of day-based resources, enter either the date following the last vacationed date without time or the actual end date with the hour set to 23:59. E.g. to add vacation for the entire day: 1st of January 2013, enter 2013-01-01 23:59:00 as the end time.

resource_idintoptional

If you specify resource ID, the vacation will be added only for this resource. If you leave this empty, vacation will be added for the whole site.

site_idintrequired

Setting site_id and not specifying any resource_id will add a global vacation (for the whole site).

quantityintoptional

Enter the number of resources which should be made unavailable. In case you don't work with quantities, you can skip this parameter. You can also use the special value all to vacation all units.

typeintoptional

Skip this parameter unless you want to mark the vacation as imported from a Google calendar. In such case set this parameter's value to 2.

If set to true and your resource is day-based and the vacation includes start and end times (which shouldn't happen), then the vacation will be corrected automatically to match the day- or night-based character of the resource

unit_assignmentstringoptional

Vacations can optionally also be assigned to specific units (specific a single unit or comma-separated list)