v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBPayroll > PolicyPeriod
Change statuses a Policy period
Change statuses a Policy period
post/api/2026-07-01/resources/payroll/policy_periods/change_status
Request body
Example request
{
"id": "1",
"status": "preparation",
"notify_employee": true,
"employee_ids": [
"1",
"2",
"3"
]
}Response
OK
Example response
{
"id": "1",
"name": "Policy name example 20 aug - 13 sep",
"starts_on": "2020-01-01",
"policy_id": "1",
"company_id": "1",
"ends_on": "2020-01-01",
"period": "20 aug - 13 sep 2021",
"status": "preparation",
"policy_name": "Policy name example",
"calculation_started_at": "2020-01-01"
}