v1

latestOpenAPI 3.1.02026-08-0420819698.7 KB
Routes
Users
Capacity
Exceptions

New Capacity Exception

Creates a capacity exception for a user.

capacityMinutes means the user's available work capacity per day for each day in the exception date/range. It is not the total duration of the exception range.

Examples:

  • capacityMinutes: 0 => unavailable that day (or each day in the range).

  • capacityMinutes: 480 => 8 hours available per day.

You can provide either:

  • capacityMinutes directly, or

  • hoursPerDay + minutesPerDay (equivalent input).

post/v2/users/capacity/exceptions/{userID}

Request body

exceptionStartDatestring date
exceptionEndDatestring date
capacityMinutesinteger
exceptionTitlestring
exceptionNotesstring
{"stackTrail":"paths:/v2/users/capacity/exceptions/{userID}:post:requestBody:content:application/json:schema:properties:exceptionType","oasType":"schema","type":"unknown","description":"Optional structured classification. 'planned' or 'unplanned'; null/omitted leaves it unset."}

Response

New Capacity Exception

exceptionIDinteger