v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
WorkflowSteps

Change current pre employee workflow step

Change pre employees current step. It's not allowed to move back to INVITED or PENDING step after admission has started. Also, it's not allowed to move to BENEFITS step if all required documents hasn't been sent and approved.

patch/pre-employees/workflow-steps

Request body

idsnumber[] required

Pre-employee internal id found in the route [GET] /pre-employees

currentWorkflowStepstring required

Current step

newWorkflowStepstring required

New step

Example request

{
  "ids": [
    1,
    2,
    3
  ],
  "currentWorkflowStep": "SEND_DOCUMENTS",
  "newWorkflowStep": "ADMISSION_CONCLUDED"
}

Response

Pre employees moved successfully