Appearance
Features supported
- Support asynchronous invocation: NO
- Supports paging: YES, ordered by deletion timestamp
- Field selection: NO
- Supplemental data: NO
Appearance
curl --request GET \
--url 'https://api.fareclock.com/delete-history?from=2024-01-01&to=2024-01-31&kind=example' \
--header 'Authorization: Token YOUR_API_KEY' \
--header 'Accept: application/json'Query String
| Name | Type | Required | Description |
|---|---|---|---|
from | date | No | Start of date range for deletion timestamp. |
to | date | No | End of date range for deletion timestamp. |
kind | string | No | Object kind. Valid values: durationEntry, employee, punch, punchCode. |
deletedId | integer | No | ID of the deleted object. |
{
"results": [
{
"id": 400,
"timestamp": "2020-05-07T14:30:00Z",
"kind": "employee",
"deletedId": 500,
"user": 100
}
]
}