v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Workflow employment

Change the details of a leave request

Activity name: <a href="https://developer.loket-ontw.nl/Activities/PatchInitiatedLeaveRequestWorkflowByWorkflowId" target="_blank">PatchInitiatedLeaveRequestWorkflowByWorkflowId</a><br><br> Allows the user to change the initial values of a leave request workflow. Changes are only allowed so long as no other actor has made any changes for the workflow. e.g. If an user has already approved initial information, it can no longer be changed. To determine if it is allowed to make changes, please see field canBeEditedByInitiator in the workflow object.

Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) via /v2/providers/employers/employees/employments/{employmentId}/leaverequests/metadata.

Defaults : none

patch/v2/providers/employers/employees/employments/workflow/{workflowId}/InitiatedLeaveRequest

Path parameters

workflowIdstring uuid required

The unique identifier of the record

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

Response

Accepted