Update holiday rule(s) and invalidate overlapping schedules for re-evaluation
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
holidayRulearray
- companyUuid: uuid
- holidayRuleSettingUuid: uuid
- required: boolean
- Defaults to true
- conditions: object
- event: object
- name: string
- description: string
- priority: number
- version: string
- Defaults to 0.1.0
- formatter: enum
- Allowed:
jsonRulesEngine
- Allowed:
- rateMultiplierSettings: object
- createdTimesheetSettings: object
- isRecurring: boolean
- startDate: date-time
- deletedAt: date-time
- deletedBy: string
Response Codes
200 Holiday rule(s) updated successfully
400 Bad request
404 Holiday rule not found
500 Internal server error
Example CURL Request
curl --request PATCH \
--url https://services.fountain.com/api/serviceattendance/processes/holidayRules/updateHolidayRules \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\n{\n "active": true,\n "event": {\n "type": "holiday"\n },\n "version": "0.1.0",\n "isRecurring": true\n}\n'
Application JSON Response
200
Updated 3 months ago