curl --request POST \
--url https://api.stackone.com/unified/hris/employees/{id}/time_off \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'x-account-id: <x-account-id>' \
--data '{
"employee_id": "1687-3",
"approver_id": "1687-4",
"status": {
"value": "approved",
"source_value": "<string>"
},
"type": {
"value": "sick",
"source_value": "<string>"
},
"start_date": "2021-01-01T01:01:01.000Z",
"end_date": "2021-01-01T01:01:01.000Z",
"start_half_day": true,
"end_half_day": true,
"time_off_policy_id": "cx280928933",
"reason": {
"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"name": "<string>"
},
"passthrough": {
"other_known_names": "John Doe"
}
}'