---
title: "Retrieves deleted (tombstone) timesheet entries for synchronisation purposes. Admin access only. Supports filtering by deletion date, entry date range, and user."
method: GET
path: "/api/Timesheet/deleted"
tags: ["Timesheet"]
---

# Retrieves deleted (tombstone) timesheet entries for synchronisation purposes. Admin access only. Supports filtering by deletion date, entry date range, and user.

`GET /api/Timesheet/deleted`

## Query parameters

- `UserID` integer
- `DeletedAfter` string, date-time
- `EntryDateFrom` string, date-time
- `EntryDateTo` string, date-time
- `Sort` string
- `PageSize` integer
- `PageNumber` integer

## Response `200`

Returns a paginated list of deleted timesheet entries for sync.

- DeletedTimesheetList — Paginated collection of deleted timesheet entries for sync purposes.
  - `DeletedTimesheets` DeletedTimeSheetEntryDetails[] — The list of deleted timesheet entries for the current page.
    - `TimeSheetEntryID` integer — Unique identifier of the deleted timesheet entry.
    - `AccountIDFK` integer — The Avaza account this entry belonged to.
    - `UserIDFK` integer — The user ID who owned this timesheet entry.
    - `ProjectIDFK` integer — The project ID this entry was associated with.
    - `TimeSheetCategoryIDFK` integer — The timesheet category ID applied to this entry.
    - `Duration` number, double — Duration of the entry in decimal hours.
    - `TimesheetEntryApprovalStatusCode` string — Approval status at the time of deletion.
    - `isBillable` boolean — Whether the entry was billable.
    - `InvoiceLineItemIDFK` integer — The invoice line item ID if the entry had been invoiced.
    - `EntryDate` string, date-time — The original date of the timesheet entry.
    - `Notes` string — Notes attached to the timesheet entry.
    - `TaskIDFK` integer — The task ID the entry was linked to, if any.
    - `TimerStartedAtUTC` string, date-time — The UTC time the timer was started, if a timer was running.
    - `HasTimer` boolean — Whether a timer was running on this entry at the time of deletion.
    - `IsInvoiced` boolean — Whether the entry had been invoiced.
    - `DateUpdated` string, date-time — Date and time the record was last updated before deletion (UTC).
    - `DateCreated` string, date-time — Date and time the record was originally created (UTC).
    - `DateApproved` string, date-time — Date and time the entry was approved, if applicable.
    - `ApprovedBy` string — Name or email of the user who approved this entry.
    - `StartTimeLocal` string, date-time — The local start time of the entry, if start/end time tracking was enabled.
    - `StartTimeUTC` string, date-time — The UTC start time of the entry, if start/end time tracking was enabled.
    - `EndTimeLocal` string, date-time — The local end time of the entry, if start/end time tracking was enabled.
    - `EndTimeUTC` string, date-time — The UTC end time of the entry, if start/end time tracking was enabled.
    - `TimesheetUserTimeZone` string — The IANA time zone ID of the user who owned the timesheet.
    - `CustomMetadata` string — Custom metadata stored on the entry.
    - `isPayable` boolean — Whether the entry was payable.
    - `BillLineItemIDFK` integer — The bill line item ID if the entry had been included on a supplier bill.
    - `isPaid` boolean — Whether the entry had been paid.
    - `RateAmount` number, double — The billing rate amount. Only visible to Admin role users.
    - `CostAmount` number, double — The cost rate amount. Only visible to Admin role users.
    - `DeletedDate` string, date-time — The date and time the entry was deleted (UTC).
    - `DeletedByUserIDFK` integer — The user ID of the user who deleted this entry.
  - `TotalCount` integer — Total number of deleted timesheet entries matching the filter criteria.
  - `PageNumber` integer — The current page number (1-based).
  - `PageSize` integer — Number of results per page.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - Admin access only

---

[API](https://skmtc.net/avaza/apis/avaza-api-documentation.md) · [All operations](https://skmtc.net/avaza/apis/avaza-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avaza/avaza-api-documentation/versions/1eeadf750514/schema)
