Timesheets Endpoints
Use these endpoints to list, fetch, submit, and review timesheets in Crewsum.
Timesheet IDs
Section titled “Timesheet IDs”A timesheet ID has the format <tenantId>#<userId>#<YYYYMMDD>_<YYYYMMDD>. The two dates are the first and last day of the timesheet period. For example: tenant-123#user-a#20221231_20230106.
The ID contains # characters. When you put an ID in a URL path, encode each # as %23, for example with encodeURIComponent: tenant-123%23user-a%2320221231_20230106. If you do not encode it, everything after the first # is treated as a URL fragment and is not sent to the server.
List Timesheets Retrieve timesheets with user, pagination, and sort filters.
Get Timesheet Retrieve one timesheet and its timecards by ID.
Submit Self Timesheet Submit a timesheet for a user and send review emails.
Submit Admin Timesheet Submit a timesheet on behalf of a user, approved immediately or sent for review.
Review Timesheet Approve or reject timecards in a timesheet.
Related
Section titled “Related” Timesheets Learn how timesheets work in Crewsum.
Timecards Learn how timecards work in Crewsum.
Reviewing Time Learn how time is reviewed in Crewsum.
timesheet.submitted Sent by Submit Self Timesheet.
timecards.reviewed Sent by Review Timesheet.