- Create Actual Time Off
List Actual Time Off
Delete Actual Time Off
Get Actual Time Off
Update Actual Time Off
Create Actual Time Off
Creates a new actual time off record for an employee. Multiple entries for the same person on the same date are permitted.
Security
ApiKey
The date on which the time off was recorded, in YYYY-MM-DD format.
The category of time off.
Enum:"personal_time_off""holiday"
- Mock serverhttps://developer.getparallax.com/_mock/api-documentation/swagger/v1/actual-time-off
- Production Serverhttps://api.getparallax.com/v1/actual-time-off
- application/json-patch+json
- application/json
curl -i -X POST \
https://developer.getparallax.com/_mock/api-documentation/swagger/v1/actual-time-off \
-H 'Content-Type: application/json-patch+json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"person_id": "087e858e-473c-4f50-b5b0-c1df6c021550",
"recorded_date": "2019-08-24",
"hours": 0.1,
"time_off_category": "personal_time_off",
"description": "string"
}'Created
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "recorded_date": "2019-08-24", "hours": 0.1, "time_off_category": "personal_time_off", "description": "string" }