Publishes a Holiday Group by transitioning its status from `InSetup` to `Valid`.


Access: System, Admin, and ClientAdmin users only.
Full validation of all mandatory fields (Step 1 + Step 3) is enforced before the transition. The payCodeId must pass ownership and type constraints. An empty Step 2 (no holiday selection) does not block publish.


If `isDefault = true` and another `Valid` default group exists, publish is rejected with `400 Bad Request` (`HG_DEFAULT_VALID_CONFLICT`). Publishing a group not in `InSetup` status returns `409 Conflict`.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Company identifier from route.

int32
required

Holiday Group identifier from route.

Headers
string
Defaults to 1.0

The requested API version

string
Defaults to 1.0

The requested API version

Responses

Language
Credentials
Bearer
jwt
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json