Create a holiday rule and associate it with a location
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
holidayRule
object
- required
holidayRule object
locationUuid
- type: uuid
- Location UUID to associate the rule with
locationGroupUuid
- type: uuid
- Location group UUID to associate the rule with
201 Holiday rule created and associated successfully
400
Bad request
500
Internal server error
Updated about 2 months ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request POST \
--url https://services.fountain.com/api/serviceattendance/processes/holidayRules/createAndAssociate \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"holidayRule": {
"active": true,
"event": {
"type": "holiday"
},
"version": "0.1.0",
"isRecurring": true
}
}
'
Click Try It! to start a request and see the response here! Or choose an example:
application/json
201