Magidoc

getTimesheetsToReview
Query

Lists other members' timesheets the caller can review, newest week first. Scope includes managed users, owned projects that use project-owner approval, or the whole workspace for admins; the caller's own timesheets are excluded.

Arguments

#

workspaceId

ID !
Non-null

associated workspaceId

statuses

statuses to filter by. Defaults to PENDING_APPROVAL

startDate

optional earliest timesheet week start to include

endDate

optional latest timesheet week end to include

first

maximum number of timesheets to return. Defaults to 50, capped at 200

Response

#

Returns [Timesheet !]!.

Example

#