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

holidayRule object

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

Updated about 2 months ago