- Create Planned Time Off
List Planned Time Off
Delete Planned Time Off
Get Planned Time Off
Update Planned Time Off
Create Planned Time Off
Creates a new planned time off entry for a person with one or more date allocations.
Security
ApiKey
The list of date and hours allocations for this time off.
- Mock serverhttps://developer.getparallax.com/_mock/api-documentation/swagger/v1/planned-time-off
- Production Serverhttps://api.getparallax.com/v1/planned-time-off
- application/json-patch+json
- application/json
curl -i -X POST \
https://developer.getparallax.com/_mock/api-documentation/swagger/v1/planned-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",
"allocations": [
{
"date": "2019-08-24",
"hours": 0.1
}
]
}'Created
allocationsArray of objects(TimeOffAllocation)
The list of date and hours allocations for this time off.
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "allocations": [ { … } ] }