v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Leave policy and employment links

Link or unlink leave policies for the employment

Activity name: <a href="https://developer.loket.nl/Activities/PatchLeavePoliciesByEmploymentId" target="_blank">PatchLeavePoliciesByEmploymentId</a>

Metadata : Possible options can be acquired (GET) by adding /metadata to the POST URL.

This endpoint enables the user to link or unlink multiple 'linkages' with one call.

patch/v2/providers/employers/employees/employments/{employmentId}/leavepolicies

Path parameters

employmentIdstring uuid required

The unique identifier of the employment

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

idstring uuid required

The unique identifier (GUID/UUID) of the leave policy

action'link' | 'unlink' required

The action to perform.

Example request

[
  {
    "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
  }
]

Response

OK