Update Existing Timesheets
This tutorial demonstrates how to update existing timesheets. The steps include finding the timesheet ID and updating the timesheet.
Note that the Cost API timesheets endpoints used in this tutorial are designed only for use with a third party timesheet reporting (tracking) app (e.g. Riskcast, Rhumbix, QuickBooks Time, or ClickUp) that you’ve integrated with Cost Management.
Before You Begin
- Register an app.
- Acquire a 3-legged OAuth token with
data:create,data:read, anddata:writescopes. - Verify that you have access to the relevant BIM 360 account and project.
- Retrieve the project ID for your project. To obtain a project ID, use GET projects.
Step 1: Find the Timesheet ID
To retrieve the ID of the timesheet you want to update, call GET time-sheets. In this example, assume that the project container ID is e94b9bc8-1775-4d76-9b1d-c613e120ccff.
Request
Response
Find the timesheet you want to update and note the timesheet ID (6f7f7780-3867-4aa3-9f37-8ae53532a590).
Step 2: Update the Timesheet by ID
To update the timesheet, use the timesheet ID (6f7f7780-3867-4aa3-9f37-8ae53532a590) to call PATCH time-sheets/:id. Provide updated values for any of the endpoint’s request payload fields.
Request
Response
Your timesheet has been updated with the new input and output quantities.
Imported from the Autodesk Platform Services documentation: https://aps.autodesk.com/en/docs/acc/v1/tutorials/cost/cost-update-existing-time-sheets.