HomeGuidesAPI ReferenceChangelogDiscussions
API Reference

Deletes an Allowance

Deletes an allowance

Log in to see full request history
Path Params
string
required
Response

Response body
object
integer
required

Unique identifier of the allowance

integer

Only for Allowances based on worked time. It represents how many units you need to work to be granted allowance units

integer

Only for Allowances based on worked time. It represents how many units you are given per unit of time worked

string

When can the acrrued units be spent.

current_cycle next_cycle

string
required

Sets the allowance units. Can be "days" or "hours"

days hours

string
required

Indicates how the allowance units are accrued. For example all_days means all allowance days are given on the first day of the cycle.

all_days generated_days generated_days_monthly generated_days_monthly_first_day monthly_fifteenth mensiversary bimonthly_first_and_fifteenth bimonthly_fifteenth_and_last

integer

How many units can carry over between cycles

integer

How many units can carry over between cycles multiplied by 100

boolean
required

This setting flags if units taken during a bank holiday should be deducted or not from allowance.

integer

How many months does each allowance cycle last

string

When does the cycle start.

string

Indicates if the allowance is based on working on calendar days.

working_days natural_days natural_days_only_range french_calendar_days french_ouvres

integer

When does the carryover start

integer

When does the carryover expire in months.

string

Defines duration of the allowance cycles. Can be "yearly", "monthly_flexible" or "lifetime"

monthly_flexible yearly lifetime

integer

Base amount of holiday allowance units multiplied by 100

leave_type_ids
array of integers
required

An array of leave type ids associated with that allowance

leave_type_ids*
integer

Maximum the allowance can reach on accrued

string
required

Allowance name set by the user

string

Whether the allowance allows to request more days than available

negative_counter_disabled negative_counter_enabled

integer

Indicates the position in the allowance when rendering them in UI

string
required

Whether the allowance has proration enabled or not.

proration_enabled proration_disabled

boolean

Whether the allowance days are prorrated or not

string

Configures how leaves duration is handled.

exact_range extra_non_working_days_at_end

string
required

How the accrued units of the allowance are rounded. It depends if the allowance is set in hours or days.

half_day decimals quarters round_up

boolean
string

This field configures the type of allowance (fixed balance, based on worked time)

base_units overtime_units by_worked_time

string

In case the allowance has tenure periods, when is this tenure applied.

beginning_of_cycle end_of_cycle after_milestone

tenure_periods
array
required

The tenure periods associated with the allowance.

tenure_periods*
boolean

Whether the allowance has tenure periods enabled or not.

string
required

Value to indicate how the allowance cycle is configured. Its an abbreviation of the first and last month.

integer
required

The Id of the policy to which the allowance belongs to

boolean

Flag to indicate if there is unlimited accrual.

boolean

Flag to indicate if there is unlimited carry over.

boolean

Boolean to flag if carryover does not expire

boolean

Flag to indicate that the allowance has unlimited available days

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json