Magidoc

recoverTimesheet
Mutation

Used for recovering timesheets in "timesheet" tab in "Timesheets" app. Right after removing should appear toast with "recover" button

Access: It requires user access.

Errors: Returns specific expected errors if: deleted timesheet item doesn't exist, user is not timesheet submitter and returns null if user doesn't have access to workspace

Arguments

#

_id

ID !
Non-null

timesheetId to recover

workspaceId

ID !
Non-null

workspace associated with timesheet

Response

#

Returns Timesheet .

Example

#

    
  

3

    
  

3

    
  

3