v1

latestOpenAPI 3.1.02026-07-2426052.7 KB

Get all devices

get/rest/device?iDisplayLength={displayLength}&iDisplayStart={displayStart}

Path parameters

displayLengthinteger required

Amount of records to return. If not provided, system setting pagination.data.fetch.size defines the amount. Use value -1 to fetch ALL records.

displayStartinteger required

Start index for paging. If not provided, the page will start at beginning of the list (index 0)

Response

200

iTotalRecordsinteger
iTotalDisplayRecordsinteger
{"stackTrail":"paths:/rest/device?iDisplayLength={displayLength}&iDisplayStart={displayStart}:get:responses:200:content:application/json:schema:properties:sEcho","oasType":"schema","type":"unknown"}

Example response

{
  "iTotalRecords": 2,
  "iTotalDisplayRecords": 2,
  "aaData": [
    {
      "id": 20582,
      "deviceId": "444760686347793",
      "fullDeviceId": "IMEI:444760686347793",
      "tenantId": 2492,
      "model": "Sensor",
      "manufacturer": "Generic",
      "managed": true,
      "inUse": true,
      "os": "other"
    }
  ]
}