Validate connection and accessibility of the API.
- List the existing break rule sets
PTV OptiFlow Planning API (1.10.0)
The planning API provides information about plannings and their lifecycle.
You can find out more in our developer portal.
- Mock serverhttps://developer.conundra.eu/_mock/apis/plannings/planning-api/settings/break-rule-sets
- Production Apihttps://api.conundra.eu/planning/v1/settings/break-rule-sets
OK
Subset of Break Rule Sets matching the provided query, limited to the limit specified in the request.
The name of the break rule set
List of all break rule groups within a set
List of break rules
Maximum work time between breaks in ISO-8601 duration format. Must be non-negative and not exceed 7 days.
{ "data": [ { … } ], "cursors": { "next": "bmV4dF9fcGFnZQ" } }
- Mock serverhttps://developer.conundra.eu/_mock/apis/plannings/planning-api/settings/break-rule-sets/{business_id}
- Production Apihttps://api.conundra.eu/planning/v1/settings/break-rule-sets/{business_id}
{ "name": "Legal breaks for Belgium", "break_rule_groups": [ { … } ], "business_id": "cb1fb12c-0abc-413c-a69d-63c62566685f" }
Request
Create or update a break rule set. A unique ID (business_id) is required to identify the break rule set. Calling this endpoint with an existing business_id will update the break rule set.
The name of the break rule set
List of all break rule groups within a set
List of break rules
Maximum work time between breaks in ISO-8601 duration format. Must be non-negative and not exceed 7 days.
- Mock serverhttps://developer.conundra.eu/_mock/apis/plannings/planning-api/settings/break-rule-sets/{business_id}
- Production Apihttps://api.conundra.eu/planning/v1/settings/break-rule-sets/{business_id}
No content