v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
tracker

Get the last record either from RTLS or AMR(mission control) source. The record can be further filtered based on objectType that can be obtained from a particular source. Example: 'Person' objectType can be used in case of RTLS source, 'AMR' objectType can be used in case of AMR source

get/tracker/last-record

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
          ]
        ]
      }
    ]
  }
}