Timeoff > Leave > Approves

Subscription_type: timeoff/leave/approve

Payload

Callback payload

string
required

Identifier of the Leave

string
required

ID of the company the leave belongs to

string
required

ID of the employee taking the leave

string
required

First day of the leave

string

Last day of the leave (inclusive); null while an open-ended leave has no end yet

string

Which half of the day a half-day leave covers — beginning_of_day or end_of_day; null for full-day leaves

string

Free-text description of the leave

string

The reason provided by the employee for taking the leave

string

ID of the leave type this leave is of

string

Denormalised name of the leave type

boolean

Tri-state approval status — true = approved, false = rejected, null = pending approval

string

The full name of the employee taking the leave

string

The start time of the leave

integer

Total hours the leave consumes, in hundredths of an hour (e.g. 800 = 8 hours); set for hourly leaves

string
required

The updated at date of the leave

string

The created at date of the leave

string

The date when the leave was deleted

string

The duration attributes of the leave

number
required

Number of days taken for paid leave

Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…