v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

List all the assets and their locations

get/v1/asset_locations

Query parameters

namestring

Specify the name of the asset for which you want detailed information.

per_pageinteger

Number of records to display per page. NOTE: Maximum allowed records are 100.

page_nointeger

Displays the current page number.

Response

200

Example response

{
  "assets": [
    {
      "asset": {
        "id": 133118,
        "name": "1408",
        "status": "active",
        "type": "dump_tipper",
        "make": "Utility",
        "model": "3000R",
        "year": "2021",
        "asset_gateway": {
          "id": 58156,
          "identifier": "ATM-CH2-S4G",
          "active": true,
          "last_location": {
            "address": "13.5 km N of Adel, GA",
            "bearing": 321.22,
            "lat": 31.25275,
            "lon": -83.46834,
            "located_at": "2019-07-01T05:49:44Z",
            "ground_speed_kph": 23,
            "battery_capacity": 86,
            "uuid": "13f4142b-e207-4f9c-8862-6fcdf318bcc2",
            "moving": true
          }
        }
      }
    }
  ],
  "pagination": {
    "per_page": 25,
    "page_no": 1,
    "total": 67
  }
}