Skip to main content
POST
Show effective
This route is in preview: it may change without notice until it becomes part of a stable version.

Body

application/json
resource_ids
string<snowflake>[]
required
time_range
string<local-date-time-interval>
required
Example:

"2019-11-11T12:34:56/2019-12-12T23:59:59"

Response

200 - application/json
id
string<snowflake>
required
Example:

"872815618512410358"

resource_id
string<snowflake>
required
Example:

"872815618512410358"

team_id
string<snowflake>
required
Example:

"872815618512410358"

kind
enum<string>
required
Available options:
compensation,
adjustment,
absence,
schedule,
timecheck,
on-call,
paid-break
Example:

"compensation"

is_presence
boolean
required
time_range
string<local-date-time-interval>
required
Example:

"2019-11-11T12:34:56/2019-12-12T23:59:59"

duration
string<duration>
required
Example:

"PT1H30M20S"

tag_ids
string<snowflake>[]
required
absence_type_id
string<snowflake>
Example:

"872815618512410358"

absence_id
string<snowflake>
Example:

"872815618512410358"

schedule_id
string<snowflake>
Example:

"872815618512410358"

schedule_template_id
string<snowflake>
Example:

"872815618512410358"

schedule_template_type_id
string<snowflake>
Example:

"872815618512410358"

timecheck_id
string<snowflake>
Example:

"872815618512410358"

on_call_id
string<snowflake>
Example:

"872815618512410358"

compensation_id
string<snowflake>
Example:

"872815618512410358"