List of devices
Request
GET https://www.iofrog.com/api/v1/devices
Authorization: Bearer {ACCESS_TOKEN}
Content-Type: application/json
Response
[
{
"status": {
"isRegistered": true,
"isReadyForActivation": true,
"isActivated": true,
"isOnContract": true,
"isPreset": true,
"isCompleted": true,
"registered": "2019-02-20T05:27:40.906Z",
"partner": "iofrog",
"hasCurrentConnectivitySubscription": true,
"hasCurrentPlatformSubscription": true
},
"notification": {
"sms": {
"notify": false,
"number": "",
"numbers": [],
"rules": []
},
"email": {
"notify": false,
"email": "",
"emails": [],
"rules": []
},
"data": {
"notify": false,
"rules": []
},
"service": {
"notify": true
}
},
"location": {
"lat": 30,
"lng": 45
},
"rc": "rc1",
"active": true,
"_id": "5c6ce54d0fabf74222bf985d",
"id": "104480B",
"pac": "5435345345345345",
"name": "Test Wifi SimpleHW",
"typeId": "simple_pack_plus_full_3_0_6_0",
"modeId": "track_me_wifi",
"subscriptions": [
{
"platform": {
"starts": "2019-05-22T05:27:40.906Z",
"ends": "2020-05-21T05:27:40.906Z"
},
"created": "2019-07-03T10:16:58.760Z",
"_id": "5d1c809aa8b1623d23a3a91c",
"providerId": "5b45d47fe2645f705572bbf8",
"productId": "1Y_platform",
"orderId": "5d1c809aa8b1623d23a3a919"
},
{
"platform": {
"starts": "2020-05-21T05:27:40.906Z",
"ends": "2021-05-21T05:27:40.906Z"
},
"created": "2019-10-21T21:23:32.871Z",
"_id": "5dae21d4cb99cb1044ca7a86",
"providerId": "5b45d47fe2645f705572bbf8",
"productId": "1Y_platform_renewal",
"orderId": "5dae21d4cb99cb1044ca7a83"
},
{
"platform": {
"starts": "2021-05-21T05:27:40.906Z",
"ends": "2022-05-21T05:27:40.906Z"
},
"created": "2019-10-21T21:24:14.859Z",
"_id": "5dae21fecb99cb1044ca7a8b",
"providerId": "5b45d47fe2645f705572bbf8",
"productId": "1Y_platform_renewal",
"orderId": "5dae21fecb99cb1044ca7a88"
}
],
"created": "2019-02-20T05:27:41.537Z",
"owner": "5ae1da8d7ea389ba75c0d0f0",
"creator": "58aa7078aa529e06f6721cd9",
"__v": 26,
"viewConfig": {
"view": "",
"graphScale": "",
"locationSource": "data"
},
"microservices": []
}
]
