Create Time Off Policy

Creates a time off policy. Accruing policies include an inlined initial version with milestones; unlimited and manual policies have no version.

OAuth Scopes: time_off:policies.write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Data contract for creating a time off policy. Accruing policies include an inlined initial version with milestones; unlimited and manual policies have no version.

string
required
length ≤ 100

The name of the time off policy. Must be unique among the category's active policies.

integer
required

The id of the time off category this policy belongs to.

string
enum
required

The type of the time off policy.

Allowed:
version

The initial version of the policy, with its milestones inlined. Required for ACCRUING policies; must be omitted for UNLIMITED and MANUAL.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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