Save a week as a template
Stores the week's project and description rows under name. Hours are not stored. name is at most 80 characters and unique for the caller in this workspace, ignoring case. A week with no activities is 400. A submitted or approved week can still be saved, because saving does not change it.
View as MarkdownAuthorization
bearer In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/timesheet-templates" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "weekStart": "2019-08-24" }'{ "template": { "id": "string", "name": "string", "lines": [ { "projectId": "string", "projectName": "string", "taskId": "string", "taskName": "string", "description": "string" } ] }}The caller's timesheet templates
Named project and description lists saved by the caller in this workspace. At most 40. A teammate's templates are not included.
Delete a timesheet template
Deletes one of the caller's templates in this workspace. Weeks the template was already applied to keep their rows. Another person's template is 404.