Magidoc

getResourceAvailability
Query

Calculates daily free working hours for users or placeholders over a date range. Availability subtracts committed work, meetings, and time off from capacity and is clamped at zero. Zero means unavailable because of schedule, leave, capacity, employment dates, or workspace status. Use for workload and capacity questions, not meeting scheduling.

Arguments

#

workspaceId

ID !
Non-null

Workspace id.

startDate

Non-null

Start of range, inclusive.

endDate

Non-null

End of range, inclusive. Maximum inclusive span is 91 calendar days (endDate at most 90 days after startDate).

resourceIds

[ID !]!
Non-null

User ids or resource placeholder ids. Required.

Response

#

Returns [ResourceAvailability !]!.

Example

#