Create an automatic break 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.
Automatic Break Rule
Structure
- automaticBreakRule
- locationUuid: UUID
Location UUID to associate the rule with - locationGroupUuid: UUID
Location group UUID to associate the rule with
- locationUuid: UUID
Responses
- 201
Automatic break rule created and associated successfully - 400
Bad request - 500
Internal server error
Updated about 2 months ago
Example Request
curl --request POST \
--url https://services.fountain.com/api/serviceattendance/processes/automaticBreakRules/createAndAssociate \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\
{\
"automaticBreakRule": {\
"active": true,\
"event": {\
"type": "automatic_break"\
},\
"version": "0.1.0"\
}\
}\
'
Response
- 201
Updated about 2 months ago