Skip to content

Deel: Validate time-off request — 200 response body — data dates item

Validate time-off request: 200 response body, field data / dates / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Validate time-off request — 200 response body — data dates item

FieldTypePresenceDescription and constraints
$objectRoot
amountstringOptionalThe amount of time off requested for the date. It uses the same time unit as in the total amount for the time off request.
datestringRequired within parentAn specific date in the time-off request
Format: date
day_typesarrayOptionalThe types of leave available for the date. Either FULL_DAY or HALF_DAY.
day_types[]stringEach itemThe type of leave for the day.
Known values: FULL_DAY, HALF_DAY, PERCENTAGE, HOURLY
holiday_namestringOptionalThe name of the holiday for the date. Only applicable for holidays. Only present when date type is HOLIDAY.
hoursarrayOptionalThe maximum allowed number of hours that can be take in this specific date. For example, if there is another leave taking 3 hours in the same date, the maximum allowed hours will be 5 (assuming a work schedule of 8 hours).
hours[]stringEach item
time_off_percentagestringOptionalThe percentage of time off requested for the date. For example, if the request is for a full day, the percentage will be 1. If it’s for half a day, the percentage will be 0.5.
typestringRequired within parentThe type of day for the time off request. All dates must follow the same type.
Known values: WORKING_DAY, NON_WORKING_DAY, HOLIDAY, FORFAIT_HOUR_DAY

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.