Device Actions

Get asynchronous request status.

GET
/m2m/v2/accounts/{accountName}/requests/{requestID}/status

Get the status of an asynchronous request made with the Device Actions.

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

Path Parameters

accountName*string
Match^[A-Za-z0-9\-]{3,32}$
Length3 <= length <= 32
requestID*string
Match^[A-Za-z0-9\-]{3,64}$
Length3 <= length <= 64

Response Body

application/json

application/json

curl -X GET "https://example.com/m2m/v2/accounts/0000123456-00001/requests/d1f08526-5443-4054-9a29-4456490ea9f8/status"
{  "requestId": "d1f08526-5443-4054-9a29-4456490ea9f8",  "status": "Success",  "subrequests": [    {      "ids": {        "kind": "eid",        "id": "12345678901234567890123456789012"      },      "status": "Success"    }  ]}