- Overview
- Getting Started
- App Store
- Device Integration
- Device API
- Deployment
- API Request
- Support
- Guides
- Feedback Center
- Api Integration
- App Integration APIs
- Developer Platform
Past Device Data API
GET
/data/past
Last modified:2024-09-26 17:57:25
Maintainer:Not configured
Request
Query Params
deviceId
string
optional
Example:
1
fromDate
string
optional
Example:
2023-05-21 00:00:00
toDate
string
optional
Example:
2023-05-30 00:00:00
Header Params
appId
number
required
Default:
10019
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/data/past?deviceId=1&fromDate=2023-05-21 00:00:00&toDate=2023-05-30 00:00:00' \
--header 'appId;'
Responses
🟢200Success
application/json
Body
data
object
required
records
array [object {7}]
required
Example
{
"data": {
"records": [
{
"raw": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"6": 7,
"9": 41,
"21": 3,
"24": 0,
"25": 141,
"26": 0,
"27": 0,
"28": 0,
"66": 13177,
"67": 10527,
"86": 80,
"104": 0,
"106": 0,
"108": 0,
"179": 0,
"180": 0,
"205": 134808097,
"206": 8237,
"239": 0,
"240": 0,
"241": 50501,
"380": 0,
"730": 65358,
"731": 100,
"732": 0,
"733": 0,
"734": 0,
"735": 0,
"736": 0,
"737": 0,
"738": 0,
"739": 0,
"740": 0,
"741": 0,
"742": 0,
"743": 0,
"744": 0,
"1001": 151.069325,
"1002": -33.8636391,
"1003": 23,
"1004": 359,
"1005": 17
},
"converted": {
"2": 0,
"3": 0,
"21": 60,
"25": 14.1,
"66": 13,
"113": 100,
"239": 0,
"240": 0,
"241": "Telstra",
"1005": 81,
"5001": 6422,
"5002": 0,
"5020": 0,
"5021": 0,
"5024": "2024-05-21T13:06:07.097Z",
"5025": -600,
"5026": 2,
"5028": 2
},
"err": {},
"serverTime": "2024-05-21T03:07:10.365Z",
"deviceTime": "2024-05-21T03:06:07.097Z",
"deviceId": "503",
"serial": "860264059552860"
},
{
"raw": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"6": 9,
"9": 40,
"21": 4,
"24": 0,
"25": 141,
"26": 0,
"27": 0,
"28": 0,
"66": 13187,
"67": 10544,
"86": 80,
"104": 0,
"106": 0,
"108": 0,
"179": 0,
"180": 0,
"205": 134807821,
"206": 8237,
"239": 0,
"240": 0,
"241": 50501,
"380": 0,
"730": 65358,
"731": 100,
"732": 0,
"733": 0,
"734": 0,
"735": 0,
"736": 0,
"737": 0,
"738": 0,
"739": 0,
"740": 0,
"741": 0,
"742": 0,
"743": 0,
"744": 0,
"1001": 151.0693203,
"1002": -33.8637164,
"1003": 11,
"1004": 0,
"1005": 15
},
"converted": {
"2": 0,
"3": 0,
"21": 80,
"25": 14.1,
"66": 13,
"113": 100,
"239": 0,
"240": 0,
"241": "Telstra",
"1005": 71,
"5001": 6495,
"5002": 6422,
"5020": 0,
"5021": 0,
"5024": "2024-05-21T13:07:20.332Z",
"5025": -600,
"5026": 2,
"5028": 2
},
"err": {},
"serverTime": "2024-05-21T03:08:22.815Z",
"deviceTime": "2024-05-21T03:07:20.332Z",
"deviceId": "503",
"serial": "860264059552860"
}
]
}
}
Modified at 2024-09-26 17:57:25