Magidoc

bulkUpdateTimesheetStatus
Mutation

Used for approve/request changes of timesheets in "My approvals" tab "Timesheets" app.

Access: It requires user access.

Errors: Returns specific expected errors if: returns [] if user not logged in or doesn't have access to workspace, related timesheet docs with status different to Unsubmitted not found, user is not timesheet approval

Arguments

#

workspaceId

ID !
Non-null

workspace associated with timesheets

timesheets

Non-null

timesheets to approve/request changes

Response

#

Returns [ Timesheet !]!.

Example

#

    
  

3

    
  

3

    
  

3