Update holiday list
PATCH {{baseUrl}}/api/v1/holidayList/:holidayListId
This API updates the details of a holiday list configured in your help desk portal
OAuth Scope
Desk.settings.UPDATE
Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| name | <String> | Name of the holiday list |
| holidays | <list> | Holidays to define in the list |
| status | <String> | Activation status of the holiday list. Values allowed are ACTIVE and INACTIVE |
| associatedBusinessHourIds | <list> | IDs of the business hour sets associated with the holiday list |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2018-12-10T10:44:46.247Z","associatedBusinessHours":[{"businessHourStatus":"ACTIVE","businessHourId":"4000000101003","businessHourName":"UK Day Shift"},{"businessHourStatus":"ACTIVE","businessHourId":"4000000103001","businessHourName":"UK Night Shift"}],"holidays":[{"from":"02-20","to":"02-21","holidayName":"Holiday1"},{"from":"03-26","to":"03-26","holidayName":"Holiday2"},{"from":"12-24","to":"12-25","holidayName":"Christmas Holidays"}],"createdBy":"4000000016079","name":"My Holidays","createdTime":"2018-12-10T10:36:53.136Z","modifiedBy":"4000000016079","id":"4000000191371","status":"ACTIVE"}