Deleted Method

This method allows you to retrieve the list of records in the recycle bin that where deleted in a range of dates. Recently deleted records are returned on top. There is no limit to the number of records returned. Administrators with ManageData permission will receive back the list of records deleted by any user. Other users will receive back only records they have deleted themselves.

Parameters

table
the singular name of the table or its alias as returned by the Describe (Database) method. Please note that this parameter is embedded into the URL before the method name.
from
optional, the timestamp indicating the start of the range. Time zone, if included is used to convert the supplied time to user’s local time.
to
optional, the timestamp indicating the end of the range. Time zone is handled the same way as in from parameter.

Request

GET https://www.teamdesk.net/secure/api/v2/{appid}/{table}/deleted.{json|xml}?params 

Retrieve records from Test table updated in 2014

GET https://www.teamdesk.net/secure/api/v2/21995/Test/deleted.json?from=2014-01-01Z&to=2014-12-31T23:59:59Z

Response

The response is identical to Select (View) method when queried for Record Picker view plus two additional columns named deletedby and deleted.

[
    {
        "@row.id": 14,
        "Text": "AAA",
        "deletedby": "test user <test@test.com>",
        "deleted": "2014-12-16T17:44:36.523+02:00"
    },
    // , { ... } more rows
]