This endpoint allows the user to get the history data.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
*/*
History data information.
TypeScript Definitions
Use the request body type in TypeScript.
Used to filter data by time period or number of devices.
application/json
application/json
curl -X POST "https://example.com/history/actions/$search" \ -H "Content-Type: */*" \ -d '<$filter> <accountName>0000123456-00001</accountName> <device> <id>15-digit IMEI</id> <kind>IMEI</kind> </device> <attributes> <name>LINK_QUALITY</name> </attributes> </$filter>'[ { "accountName": "0000123456-00001", "attributes": { "createdOn": "2022-02-10T16:02:21.406Z", "name": "LINK_QUALITY", "value": "47" }, "device": { "id": "15-digit IMEI", "kind": "IMEI" } }, { "accountName": "0000123456-00001", "attributes": { "createdOn": "2022-02-10T16:02:05.316Z", "name": "LINK_QUALITY", "value": "47" }, "device": { "id": "15-digit IMEI", "kind": "IMEI" } }]{ "errorCode": "The type of error, such as INVALID_REQUEST.", "errorMessage": "Additional error information."}The selected device and attributes for which a request should retrieve data.
The maximum number of historical attributes to include in the response. If the request matches more than this number of attributes, the response will contain an X-Next value in the header that can be used as the page value in the next request to retrieve the next page of events.
int32The time period for which a request should retrieve data, beginning with the limitTime.startOn and proceeding with the limitTime.duration.
Page number for pagination purposes.