{
"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
}curl --location 'https://api.vplan.com/v1/resource/2ce36ba2-0957-4c28-a02c-7682f8ce5927/schedule_deviation/' \
--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
}'{
"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"
}
]
}