GetAssetsUpdated
Lists the assets of one asset type whose details were changed in a
period, with their ID, serial and name. An integration that keeps its own copy of your trucks,
trailers or other equipment calls it on a schedule, then reads each asset listed with
GetAsset.
How to sign in and read the response: Authentication, Responses.
GET /api/v1/GetAssetsUpdated?AssetType=1&FromDate=2026-10-01&ToDate=2026-10-31T23:59:59Token: your-token| Parameter | Required | Meaning |
|---|---|---|
AssetType |
Yes | The ID of the asset type, a whole number from 1 to 255. GetAsset returns it as TypeID. |
FromDate |
Yes | The start of the period, in UTC: a date, yyyy-MM-dd, or a date and time, yyyy-MM-ddTHH:mm:ss. |
ToDate |
Yes | The end of the period, in UTC, in the same form. At most 365 days after FromDate. |
- Send all three parameters. Without one of them the request does not reach the endpoint, and TrakIT answers with HTTP status 404 (see Errors).
- Both ends are included. A date without a time means midnight at the start of that day, so
ToDate=2026-10-31leaves out the changes made later on 31 October. To include that whole day, send2026-10-31T23:59:59or2026-11-01. - Write a time with the
T, as above. TrakIT removes spaces from the dates, so2026-10-31 23:59:59is refused. See Dates and times.
What counts as a change
Section titled “What counts as a change”An asset is listed when its details were last changed in the period: with Edit Detail on the asset page or by an import, or when it was retired.
These do not count: adding the asset, linking or unlinking it, and changes to its asset fields, companies, files or positions. A new asset is listed only once its details are changed for the first time.
Only the last change counts: an asset changed in your period and again after it is listed only in the later period. Ask for back-to-back periods, each starting where the last one ended, and every asset whose details change is listed at least once.
| Rule | Info when it fails |
|---|---|
The Token header holds a valid token. |
Token missing in header, Token invalid or expired, or another answer listed in Login token |
| The user is a system administrator with API access. | API User must be SysAdmin with API Access |
FromDate is not empty. |
FromDate is required |
ToDate is not empty. |
ToDate is required |
AssetType is a whole number from 1 to 255. |
Asset Type is invalid |
FromDate is a date. |
FromDate is not valid |
ToDate is a date. |
ToDate is not valid |
ToDate is not before FromDate. |
ToDate must be later than FromDate |
| The dates are at most 365 days apart. | Days between FromDate and ToDate cannot exceed 365 |
Response
Section titled “Response”On success, RetInfo lists the assets, in order of ID, and RowsAffected is how many there are.
The list has the assets of every company, whatever their status.
{ "Code": 1, "Info": "", "RetInfo": [ { "AssetID": 48211, "AssetSerial": "EXTRK012", "AssetName": "Truck 12" }, { "AssetID": 48236, "AssetSerial": "EXTRK015", "AssetName": "Truck 15" } ], "RowsAffected": 2, "Scalar": null, "Identity": 0}| Field | Meaning |
|---|---|
AssetID |
The asset’s ID. Read the asset with GetAsset. |
AssetSerial |
The asset’s Serial. |
AssetName |
The asset’s Name. |
When no asset of the type was changed in the period, or no asset type has that ID, the answer has
Code 0 and Info No data found.

