Device Management

Returns the provisioning history of a device during a specified time period.

POST
/m2m/v1/devices/history/actions/list

Returns the provisioning history of a specified device during a specified time period.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Query to obtain device provisioning history.

Query to obtain device provisioning history.

deviceId*

An identifier for a single device.

earliest*string

The earliest date and time for which you want provisioning data.

latest*string

The last date and time for which you want provisioning data.

Response Body

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  }]