Skip to content

Upsert break rule set

Request

Create or update a break rule set. A unique ID is required to identify the break rule set. Calling this endpoint with an existing ID will update the break rule set.

Security
clientCredentials
Path
idstring^[a-zA-Z0-9.~\-_]{1,200}$required

The unique identifier of an entity

Headers
If-Matchstring

Weak Etag used for optimistic locking.

Example:W/"24"
Bodyapplication/jsonrequired
namestring, [ 1 .. 250 ] charactersrequired

The name of the break rule set

Example:"Legal breaks for Belgium"
break_rule_groupsArray of objects, [ 0 .. 100 ] items(BreakRuleGroup)required

List of all break rule groups within a set

Payload
{ "name": "Legal breaks for Belgium", "break_rule_groups": [ { … } ] }

Responses

break rule set created successfully

Headers
ETagstring

A weak Etag (ex W/"<etag_value>") which contains the current version of the entity

Example:"W/\"25\""
Response
No content