Timeoff Created_by_admin
postWebhookv1.timeoff.created_by_admin
Payload
Example payload
{
"timestamp": "2024-11-20T07:43:34+0000",
"data": {
"createdAt": "2024-11-20T07:43:34+0000",
"status": "approved",
"startDate": "2024-11-20T07:43:34+0000",
"endDate": "2024-11-20T07:43:34+0000",
"policy": {
"createdAt": "2024-11-20T07:43:34+0000",
"type": "vacation",
"name": "QC Vacation",
"description": "Vacation policy for Quebec-based employees.",
"payCode": {
"name": "Overtime",
"shorthandName": "OT",
"hexColor": "#f97316",
"value": 1.5
}
},
"provider": {
"name": "Bruce Wayne",
"email": "bruce.wayne@goodhealth.com",
"hireDate": "2024-11-20T07:43:34+0000",
"jobTitle": "Registered Nurse",
"status": "active"
},
"note": "Going on vacation with my family.",
"dailyHours": [
{
"date": "2024-10-06T00:00:00.000Z",
"duration": 0
},
{
"date": "2024-10-07T00:00:00.000Z",
"duration": 8
},
{
"date": "2024-10-08T00:00:00.000Z",
"duration": 8
}
],
"paidHours": 32,
"syncError": {
"createdAt": "2024-11-20T07:43:34+0000"
}
}
}Response
Webhook received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.