Skip to main content
POST
Create Allocation

Authorizations

X-Api-Key
string
header
required

Body

application/json
startDate
string
Example:

"2019-01-01"

endDate
string
Example:

"2019-12-31"

contractStartDate
string
Example:

"2019-03-01"

users
number[]
Example:
timeOffType
number
Example:

16539

days
number
Example:

24

daysCarried
number
Example:

24

accrualFrequency
enum<string>
Available options:
daily,
immediately
Example:

"daily"

restrictOverAllocation
boolean
Example:

false

completed
boolean
Example:

false

notes
string
Example:

"some notes"

Response

OK

id
number
Example:

876534

startDate
string
Example:

"2019-01-01"

endDate
string
Example:

"2019-12-31"

contractStartDate
string
Example:

"2019-03-01"

user
number
Example:

79786

timeOffType
number
Example:

16539

days
number
Example:

24

daysCarried
number
Example:

24

daysAllocated
number
Example:

6.2

daysUsed
number
Example:

8

accrualFrequency
enum<string>
Available options:
daily,
immediately
Example:

"daily"

restrictOverAllocation
boolean
Example:

false

completed
boolean
Example:

false

notes
string
Example:

"some notes"

createdBy
number
Example:

79562

createdAt
string
Example:

"2018-06-01"