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.
View as MarkdownAuthorization
bearer In: header
Path Parameters
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
application/json
curl -X POST "https://example.com/v1/timesheet-templates/string/apply" \ -H "Content-Type: application/json" \ -d '{ "weekStart": "2019-08-24" }'{ "added": 0, "unavailable": 0}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.
List time off policies
Team workspaces only. Active policies, ordered by name. An owner or admin also receives archived policies. At most 100.