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.
View as MarkdownAuthorization
bearer In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/timesheet-templates/string"{ "deleted": true}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.
Apply a template to an empty week
Places the template's project and description rows on weekStart. The week must have no time and no activity rows. A submitted or approved week is 409. Hours are not copied. Activities whose project or task is no longer available are counted in unavailable and not placed. When none can be placed, the call is 400 and the week is unchanged.