Magidoc

getUnsubmittedTimesheetSummaries
Query

Returns selected-week logged and planned totals for visible unsubmitted timesheet users.

Access: Workspace members. Workspace admins receive totals for requested members. Non-admins receive totals only for users they manage or reach through an owned project.

Hours cover every unsubmitted, non-history timesheet a requested member holds in the selected week, for admins and for the caller's direct reports. Users the caller reaches only through an owned project get null hours rather than a total that omits their other containers. Time-off allocations count toward Planned only for admins and direct reports, so leave stays private from project-owner approvers. Planned follows the workspace timesheet prefill source. Allocated, tracked, and estimated time include only projects the caller can access.

Errors: Returns [] if the caller is not logged in or cannot access the workspace. Throws if more than 200 user IDs are requested or the date range exceeds seven days.

Arguments

#

workspaceId

ID !
Non-null

userIds

[ID !]!
Non-null

startDate

Non-null

endDate

Non-null

Response

#

Returns [UnsubmittedTimesheetSummary !]!.

Example

#