{
"event_type": "request_created",
"body": {
"id": "a2032774-7d41-4820-8858-0e0ec37e64d3",
"request_creator_member": {
"email": "sample@user.com",
"name": "Sample User",
"id": "c67c0681-db0b-4bc5-8759-020643f618b0",
"custom_id": ""
},
"createdAt": "2023-02-10T21:29:32.774Z",
"updatedAt": "2023-02-10T21:29:32.772Z",
"start": "2023-02-13T00:00:00.000Z",
"start_at": "afternoon",
"end": "2023-02-13T00:00:00.000Z",
"end_at": "end_of_day",
"duration": 0.5,
"year": 2023,
"details": {
"status": "APPROVED",
"deducted": 0.5,
"reason": "",
"approval_process": "Linear_all_have_to_agree",
"request_approvers": [
{
"id": 283860,
"approver_member": {
"email": "sample@user.com",
"name": "Sample User",
"id": "c67c0681-db0b-4bc5-8759-020643f618b0",
"custom_id": ""
},
"reason": null,
"status": "APPROVED",
"status_change_date": null,
"predecessor_request_approver_id": null
}
],
"requester_member": {
"email": "sample@user.com",
"name": "Sample User",
"id": "c67c0681-db0b-4bc5-8759-020643f618b0",
"custom_id": "",
"allowances": [
{
"allowance": 30,
"brought_forward": 10.5,
"compensatory_time_off": 0,
"remaining": 38.5,
"taken": 2,
"year": 2023
}
]
},
"leave_type": {
"id": "b9362b30-251d-4ba8-929b-181d9afcc924",
"name": "Holiday"
}
}
}
}