Returns the capacity of the specified user.

GET
Returns the capacity of the specified user. User planning data or admin permissions are required if the capacity of the specified user does not belong to the calling user.

Path parameters

userIdstringRequired

Response

This endpoint returns an object
userIdstringOptional
The id of the user this capacity belongs to.
weeklyCapacityobjectOptional
createdOndatetimeOptional
The date this user capacity was created.
createdBystringOptional
The id of the user who created this user capacity.
updatedOndatetimeOptional
The date when this user capacity was last updated.
updatedBystringOptional
The id of the user who updated the user capacity.
capacityPerWeekintegerOptionalDeprecated
The capacity of the user per week, in seconds.