Create New Schedule Deviation
Retrieve the Schedule List
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Add parameter in header x-api-env
Example:x-api-env: ********************
or
Body Params application/json
{
"description": "Leave",
"type": "holiday",
"start_date": "2025-05-03",
"end_date": "2025-05-04",
"time_per_day": 120,
"skip_non_workday": false,
"external_ref": null
}
Request Code Samples
curl --location 'https://api.vplan.com/v1/resource/2ce36ba2-0957-4c28-a02c-7682f8ce5927/schedule_deviation/' \
--header 'x-api-key: <api-key>' \
--header 'x-api-env: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Leave",
"type": "holiday",
"start_date": "2025-05-03",
"end_date": "2025-05-04",
"time_per_day": 120,
"skip_non_workday": false,
"external_ref": null
}'
Responses
application/json
{
"count": 1,
"limit": 100,
"offset": 0,
"data": [
{
"id": "string",
"resource_id": "string",
"description": "string",
"type": "other",
"start_date": "2019-08-24",
"end_date": "2019-08-24",
"time": 0,
"time_per_day": 0,
"skip_non_workday": true,
"external_ref": "string",
"icon": "string",
"color": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
]
}
Modified at 2026-06-16 13:36:58