v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBWebhooks
Payroll > PolicyPeriod > Change statuses
Subscription_type: payroll/policy_period/change_status
postWebhookWebhooks > Payroll > PolicyPeriod > Change statuses
Payload
Example payload
{
"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"
}Response
Return a 200 status to indicate that the data was received successfully