Device Inspector
Get Device Historian Insights
Get insights of a unique SIM device for the Historian.
get/v1/inspect/devices/{deviceId}/history/insights
Request
- Base URLhttps://api.1nce.com/management-api
- AuthHTTP bearer
Path parameters
deviceIdstring required
Example:<device_id>
The unique device ID which identifies each 1NCE SIM. Can be obtained from the Get All Devices API query. For 1NCE SIMS the device ID is equal to its iccid.
Query parameters
startDateTimestring
Example:2022-03-07T08:51:29.015Z
Timestamp from where onwards the historic data messages should be queried.
endDateTimestring
Example:2022-03-07T09:51:29.015Z
Timestamp until when the historic data messages should be queried.
protocolstring
Example:COAP
Filter out data for specific protocols: <ul><li>LWM2M</li><li>UDP</li><li>COAP</li></ul>
intervalstring
Example:1d
The interval for which grouping of statistics should occur.
Response
OK
Example response
{
"items": [
{
"time": "2022-03-07T08:51:29.015Z",
"protocol": "COAP",
"amount": 8
}
],
"interval": "1d"
}Changes
No recorded changes to this operation across all 1 revision of this API.