tracker

Get the latest RTLS or AMR record

Changed on

Retrieve the latest record for a place from an RTLS or AMR source, optionally filtered by object type.

get/tracker/last-record

Request

Query parameters

placestring required
source'RTLS' | 'AMR'
objectTypestring

Response

Successful Operation.

Example response

{
  "lastRecord": {
    "place": "building=Warehouse",
    "timestamp": "2024-02-22T11:45:00.000Z",
    "objectCounts": [
      {
        "type": "Person",
        "count": 2
      }
    ],
    "locationsOfObjects": [
      {
        "id": "1",
        "type": "Person",
        "locations": [
          [
            -21.315656,
            -8.9215497
          ]
        ]
      },
      {
        "id": "2",
        "type": "Person",
        "locations": [
          [
            -9.55607,
            0.984224
          ]
        ]
      }
    ]
  }
}

Changes