> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/company-timesheet.md).

# Company Timesheet

## Update a timesheet record

> Updates an existing timesheet record by ID. Only provided fields will be updated.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{timesheetId}":{"put":{"tags":["Company Timesheet"],"summary":"Update a timesheet record","description":"Updates an existing timesheet record by ID. Only provided fields will be updated.","operationId":"updateTimesheet_1","parameters":[{"name":"timesheetId","in":"path","description":"Timesheet ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetUpdateRequestDTO"}}},"required":true},"responses":{"200":{"description":"Timesheet updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonTimesheetDTO"}}}},"400":{"description":"Invalid request data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonTimesheetDTO"}}}},"404":{"description":"Timesheet not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonTimesheetDTO"}}}}}}}},"components":{"schemas":{"TimesheetUpdateRequestDTO":{"type":"object","description":"Timesheet update data","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the work period in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the work period in UTC"},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of period: ACTIVE, VACATION, BANK_HOLIDAY, SICK_LEAVE, INDISPOSITION_ABSENCE, or DAY_OFF"},"changeReason":{"type":"string","description":"Reason for updating this timesheet record","minLength":1},"timeZone":{"type":"string","description":"IANA timezone ID for this update (e.g. Europe/Madrid). Stored on the timesheet document; start/end times above are still stored as UTC.","minLength":1}},"required":["changeReason","timeZone"]},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]},"PersonTimesheetDTO":{"type":"object","description":"DTO representing a person's timesheet entry","properties":{"id":{"type":"string","description":"Timesheet entry ID"},"personId":{"type":"string","description":"Person ID"},"startTime":{"type":"string","format":"date-time","description":"Start time of the timesheet entry"},"endTime":{"type":"string","format":"date-time","description":"End time of the timesheet entry"},"isActive":{"type":"boolean","description":"Whether the timesheet entry is currently active"},"isEditable":{"type":"boolean","description":"Whether the timesheet entry can be edited"},"breaks":{"type":"array","description":"List of break times during this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of timesheet period"},"timeZone":{"type":"string","description":"IANA timezone ID stored for this entry when provided by the client"},"changeHistory":{"type":"array","description":"Historical modifications applied to this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetChangeDTO"}}}},"PersonTimesheetBreakDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int32"}}},"PersonTimesheetChangeDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType"},"changeReason":{"type":"string"},"changedBy":{"type":"string"},"changedAt":{"type":"string","format":"date-time"}}}}}}
```

## Delete a timesheet record

> Deletes an existing timesheet record by ID. The deleted record is archived in the DeletedTimesheets collection.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{timesheetId}":{"delete":{"tags":["Company Timesheet"],"summary":"Delete a timesheet record","description":"Deletes an existing timesheet record by ID. The deleted record is archived in the DeletedTimesheets collection.","operationId":"deleteTimesheet","parameters":[{"name":"timesheetId","in":"path","description":"Timesheet ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetDeleteRequestDTO"}}},"required":true},"responses":{"200":{"description":"Timesheet deleted successfully"},"404":{"description":"Timesheet not found"}}}}},"components":{"schemas":{"TimesheetDeleteRequestDTO":{"type":"object","description":"Timesheet delete data","properties":{"deleteReason":{"type":"string","description":"Reason for deleting this timesheet record","minLength":1}},"required":["deleteReason"]}}}}
```

## Create multiple timesheet records for multiple employees

> Creates timesheet records for multiple employees in a single request. Each element groups creation requests by employeeId.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/users/batch":{"post":{"tags":["Company Timesheet"],"summary":"Create multiple timesheet records for multiple employees","description":"Creates timesheet records for multiple employees in a single request. Each element groups creation requests by employeeId.","operationId":"createTimesheetsForUsers","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","description":"List of timesheet creation data grouped by employee","items":{"$ref":"#/components/schemas/TimesheetEmployeeBatchCreateRequestDTO"}}}},"required":true},"responses":{"200":{"description":"Timesheets created successfully"},"400":{"description":"Invalid request data"}}}}},"components":{"schemas":{"TimesheetEmployeeBatchCreateRequestDTO":{"type":"object","description":"Request DTO for creating multiple timesheet records for a specific employee","properties":{"employeeId":{"type":"string","description":"Employee ID"},"createRequests":{"type":"array","description":"List of timesheet creation data for this employee (e.g. one entry per day)","items":{"$ref":"#/components/schemas/TimesheetCreateRequestDTO"}}}},"TimesheetCreateRequestDTO":{"type":"object","description":"Timesheet creation data","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the work period in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the work period in UTC"},"breaks":{"type":"array","description":"List of break periods during the work shift","items":{"$ref":"#/components/schemas/BreakTimeDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of period: ACTIVE, VACATION, BANK_HOLIDAY, SICK_LEAVE, INDISPOSITION_ABSENCE, or DAY_OFF"},"timeZone":{"type":"string","description":"IANA timezone ID for the client sending this request (e.g. Europe/Madrid). Stored on the timesheet document.","minLength":1}},"required":["periodType","startTime","timeZone"]},"BreakTimeDTO":{"type":"object","description":"DTO representing a break period during a work shift","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the break in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the break in UTC"}},"required":["endTime","startTime"]},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]}}}}
```

## Create a new timesheet record

> Creates a new timesheet record for an employee. Includes start time, end time, breaks, and period type.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/user/{employeeId}":{"post":{"tags":["Company Timesheet"],"summary":"Create a new timesheet record","description":"Creates a new timesheet record for an employee. Includes start time, end time, breaks, and period type.","operationId":"createTimesheet","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}},{"name":"employeeId","in":"path","description":"Employee ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetCreateRequestDTO"}}},"required":true},"responses":{"200":{"description":"Timesheet created successfully"},"400":{"description":"Invalid request data"}}}}},"components":{"schemas":{"TimesheetCreateRequestDTO":{"type":"object","description":"Timesheet creation data","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the work period in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the work period in UTC"},"breaks":{"type":"array","description":"List of break periods during the work shift","items":{"$ref":"#/components/schemas/BreakTimeDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of period: ACTIVE, VACATION, BANK_HOLIDAY, SICK_LEAVE, INDISPOSITION_ABSENCE, or DAY_OFF"},"timeZone":{"type":"string","description":"IANA timezone ID for the client sending this request (e.g. Europe/Madrid). Stored on the timesheet document.","minLength":1}},"required":["periodType","startTime","timeZone"]},"BreakTimeDTO":{"type":"object","description":"DTO representing a break period during a work shift","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the break in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the break in UTC"}},"required":["endTime","startTime"]},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]}}}}
```

## Create multiple timesheet records

> Creates multiple timesheet records for an employee. Receives a list of TimesheetCreateRequestDTO and creates each one.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/user/{employeeId}/batch":{"post":{"tags":["Company Timesheet"],"summary":"Create multiple timesheet records","description":"Creates multiple timesheet records for an employee. Receives a list of TimesheetCreateRequestDTO and creates each one.","operationId":"createTimesheets","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}},{"name":"employeeId","in":"path","description":"Employee ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","description":"List of timesheet creation data","items":{"$ref":"#/components/schemas/TimesheetCreateRequestDTO"}}}},"required":true},"responses":{"200":{"description":"Timesheets created successfully"},"400":{"description":"Invalid request data"}}}}},"components":{"schemas":{"TimesheetCreateRequestDTO":{"type":"object","description":"Timesheet creation data","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the work period in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the work period in UTC"},"breaks":{"type":"array","description":"List of break periods during the work shift","items":{"$ref":"#/components/schemas/BreakTimeDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of period: ACTIVE, VACATION, BANK_HOLIDAY, SICK_LEAVE, INDISPOSITION_ABSENCE, or DAY_OFF"},"timeZone":{"type":"string","description":"IANA timezone ID for the client sending this request (e.g. Europe/Madrid). Stored on the timesheet document.","minLength":1}},"required":["periodType","startTime","timeZone"]},"BreakTimeDTO":{"type":"object","description":"DTO representing a break period during a work shift","properties":{"startTime":{"type":"string","format":"date-time","description":"Start date and time of the break in UTC"},"endTime":{"type":"string","format":"date-time","description":"End date and time of the break in UTC"}},"required":["endTime","startTime"]},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]}}}}
```

## Get timesheet history for a specific user

> Retrieves the timesheet history for a specific employee in a company. Supports pagination and date filtering.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/user/{employeeId}/history":{"get":{"tags":["Company Timesheet"],"summary":"Get timesheet history for a specific user","description":"Retrieves the timesheet history for a specific employee in a company. Supports pagination and date filtering.","operationId":"getCompanyUserTimesheetHistory","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}},{"name":"employeeId","in":"path","description":"Employee ID","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","description":"Starting index for pagination (default: 0)","required":false,"schema":{"type":"integer","default":0}},{"name":"to","in":"query","description":"Ending index for pagination (default: 10)","required":false,"schema":{"type":"integer","default":10}},{"name":"dateFrom","in":"query","description":"Start date filter (format: ddMMyyyy)","required":false,"schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","description":"End date filter (format: ddMMyyyy)","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Successfully retrieved user timesheet history","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeriodTimesheetDTO"}}}}}}}},"components":{"schemas":{"PeriodTimesheetDTO":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"byPersonTimeSheet":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/PersonTimesheetDTO"}}},"totalCount":{"type":"integer","format":"int64"}}},"PersonTimesheetDTO":{"type":"object","description":"DTO representing a person's timesheet entry","properties":{"id":{"type":"string","description":"Timesheet entry ID"},"personId":{"type":"string","description":"Person ID"},"startTime":{"type":"string","format":"date-time","description":"Start time of the timesheet entry"},"endTime":{"type":"string","format":"date-time","description":"End time of the timesheet entry"},"isActive":{"type":"boolean","description":"Whether the timesheet entry is currently active"},"isEditable":{"type":"boolean","description":"Whether the timesheet entry can be edited"},"breaks":{"type":"array","description":"List of break times during this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of timesheet period"},"timeZone":{"type":"string","description":"IANA timezone ID stored for this entry when provided by the client"},"changeHistory":{"type":"array","description":"Historical modifications applied to this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetChangeDTO"}}}},"PersonTimesheetBreakDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int32"}}},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]},"PersonTimesheetChangeDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType"},"changeReason":{"type":"string"},"changedBy":{"type":"string"},"changedAt":{"type":"string","format":"date-time"}}}}}}
```

## Get timesheet history for a company

> Retrieves the timesheet history for all employees in a company. Supports pagination and date filtering.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/history":{"get":{"tags":["Company Timesheet"],"summary":"Get timesheet history for a company","description":"Retrieves the timesheet history for all employees in a company. Supports pagination and date filtering.","operationId":"getCompanyTimesheetHistory","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","description":"Starting index for pagination (default: 0)","required":false,"schema":{"type":"integer","default":0}},{"name":"to","in":"query","description":"Ending index for pagination (default: 10)","required":false,"schema":{"type":"integer","default":10}},{"name":"dateFrom","in":"query","description":"Start date filter (format: ddMMyyyy)","required":false,"schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","description":"End date filter (format: ddMMyyyy)","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Successfully retrieved timesheet history","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeriodTimesheetDTO"}}}}}}}},"components":{"schemas":{"PeriodTimesheetDTO":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"byPersonTimeSheet":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/PersonTimesheetDTO"}}},"totalCount":{"type":"integer","format":"int64"}}},"PersonTimesheetDTO":{"type":"object","description":"DTO representing a person's timesheet entry","properties":{"id":{"type":"string","description":"Timesheet entry ID"},"personId":{"type":"string","description":"Person ID"},"startTime":{"type":"string","format":"date-time","description":"Start time of the timesheet entry"},"endTime":{"type":"string","format":"date-time","description":"End time of the timesheet entry"},"isActive":{"type":"boolean","description":"Whether the timesheet entry is currently active"},"isEditable":{"type":"boolean","description":"Whether the timesheet entry can be edited"},"breaks":{"type":"array","description":"List of break times during this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType","description":"Type of timesheet period"},"timeZone":{"type":"string","description":"IANA timezone ID stored for this entry when provided by the client"},"changeHistory":{"type":"array","description":"Historical modifications applied to this timesheet entry","items":{"$ref":"#/components/schemas/PersonTimesheetChangeDTO"}}}},"PersonTimesheetBreakDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int32"}}},"PeriodTimeSheetType":{"type":"string","description":"Type of timesheet period (active work, vacation, bank holiday, sick leave, indisposition absence, day off)","enum":["ACTIVE","VACATION","BANK_HOLIDAY","SICK_LEAVE","INDISPOSITION_ABSENCE","DAY_OFF"]},"PersonTimesheetChangeDTO":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/PersonTimesheetBreakDTO"}},"periodType":{"$ref":"#/components/schemas/PeriodTimeSheetType"},"changeReason":{"type":"string"},"changedBy":{"type":"string"},"changedAt":{"type":"string","format":"date-time"}}}}}}
```

## Delete multiple timesheet records

> Deletes several timesheet records in a single request, sharing the same delete reason. Deletion is best-effort: ids that cannot be deleted (e.g. not found) are skipped without aborting the rest. The response reports which ids were deleted and which failed. Each deleted record is archived in the DeletedTimesheets collection.

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"paths":{"/api/v1/company/timesheet/{companyId}/batch":{"delete":{"tags":["Company Timesheet"],"summary":"Delete multiple timesheet records","description":"Deletes several timesheet records in a single request, sharing the same delete reason. Deletion is best-effort: ids that cannot be deleted (e.g. not found) are skipped without aborting the rest. The response reports which ids were deleted and which failed. Each deleted record is archived in the DeletedTimesheets collection.","operationId":"deleteTimesheets","parameters":[{"name":"companyId","in":"path","description":"Company ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetBatchDeleteRequestDTO"}}},"required":true},"responses":{"200":{"description":"Bulk deletion processed; see response for per-id outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetBatchDeleteResponseDTO"}}}},"400":{"description":"Invalid request data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimesheetBatchDeleteResponseDTO"}}}}}}}},"components":{"schemas":{"TimesheetBatchDeleteRequestDTO":{"type":"object","description":"Batch delete data","properties":{"timesheetIds":{"type":"array","items":{"description":"Timesheet ID"},"minItems":1},"deleteReason":{"type":"string","description":"Reason applied to every timesheet deleted in this batch","minLength":1}},"required":["deleteReason","timesheetIds"]},"TimesheetBatchDeleteResponseDTO":{"type":"object","description":"Outcome of a bulk timesheet deletion, reporting deleted and failed ids","properties":{"deleted":{"type":"array","items":{"description":"Deleted timesheet ID"}},"failed":{"type":"array","items":{"$ref":"#/components/schemas/Failure"}}}},"Failure":{"type":"object","description":"A single failed deletion within the batch","properties":{"timesheetId":{"type":"string","description":"ID of the timesheet that could not be deleted"},"reason":{"type":"string","description":"Reason the deletion did not happen"}}}}}}
```
