Magidoc

getTimesheetsToApprove
Query

Used for the "My approvals" tab in "Timesheets" app.

Access: It requires user access.

Errors: Returns [] if doesn't have access or user with requested userId doesn't exist

Arguments

#

workspaceId

ID !
Non-null

associated workspaceId

startDate

Non-null

start of period for which data should be retrieved.

NOTE: Should be equal to start of the week date in requested workspace, works as an exact date match, not as a date range

endDate

Non-null

end of period for which data should be retrieved.

NOTE: Should be equal to end of the week date in requested workspace, works as an exact date match, not as a date range

grouping

Non-null

parameter to group by

Response

#

Returns [ GroupedTimesheet !]!.

Example

#

    
  

3

    
  

3

    
  

3