Returns the provisioning history of a specified device during a specified time period.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Query to obtain device provisioning history.
TypeScript Definitions
Use the request body type in TypeScript.
Request to return the provisioning history of a specified device during a specified time period.
application/json
application/json
application/json
curl -X POST "https://example.com/m2m/v1/devices/history/actions/list" \ -H "Content-Type: application/json" \ -d '{ "deviceId": { "id": "89141390780800784259", "kind": "iccid" }, "earliest": "2015-09-16T00:00:01Z", "latest": "2015-09-18T00:00:01Z" }'[ { "provisioningHistory": [ { "occurredAt": "2015-12-17T13:56:13-05:00", "status": "Success", "eventBy": "Harry Potter", "eventType": "Activation Confirmed", "servicePlan": "Tablet5GB", "mdn": "", "msisdn": "15086303371", "extendedAttributes": [] } ], "hasMoreData": false }][ { "provisioningHistory": [ { "occurredAt": "2015-12-17T13:56:13-05:00", "status": "Success", "eventBy": "Harry Potter", "eventType": "Activation Confirmed", "servicePlan": "Tablet5GB", "mdn": "", "msisdn": "15086303371", "extendedAttributes": [] } ], "hasMoreData": false }]{ "errorCode": "error code string", "errorMessage": "error message string"}An identifier for a single device.
The earliest date and time for which you want provisioning data.
The last date and time for which you want provisioning data.