HomeGuidesAPI ReferenceChangelogDiscussions
API Reference

Updates a Blocked period

Updates a blocked period

Log in to see full request history
Path Params
string
required
Body Params
integer
required
string
required

Name of the blocked period.

leave_type_ids
array of integers
required

List of leave type identifiers for which employees can not request timeoff edited

leave_type_ids*
time_periods_attributes
array
required

The tenure periods associated with the allowance edited.

time_periods_attributes*
string
required

Type of access group

members
array of integers

List of employees manually selected

members
query
object
team_ids
array of integers

List of team identifiers which the selected employees belong to

team_ids
location_ids
array of integers

List of locations workplace identifiers where the employees are located

location_ids
legal_entity_ids
array of integers
Response

Response body
object
integer
required

Unique identifier of the blocked period

integer
required

Company id of the blocked period

string
required

Name of the blocked period.

leave_type_ids
array of integers
required

Leave types for which absence request has been blocked

leave_type_ids*
time_periods
array
required

The tenure periods associated with the allowance.

time_periods*
string
required

Type of access group

members
array of integers
required

Employees whose timeoff will be affected

members*
location_ids
array of integers

List of locations workplace identifiers where the employees are located

location_ids
team_ids
array of integers

List of team identifiers which the selected employees belong to

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