Devices Locations

Retrieve a location report

GET
/loc/v1/locationreports/{accountName}/report/{txid}/index/{startindex}

Download a completed asynchronous device location report.

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

Account identifier in "##########-#####".

txid*string

Transaction ID from POST /locationreports response.

startindex*integer

Zero-based number of the first record to return.

Formatint32

Response Body

application/json

application/json

curl -X GET "https://example.com/loc/v1/locationreports/0000123456-00001/report/2017-12-11Te8b47da2-eeee-ffff-gggg-61815e1e97e9/index/0"
{  "startIndex": "0",  "txid": "2017-12-11Te8b47da2-eeee-ffff-gggg-61815e1e97e9",  "totalCount": 3,  "hasMoreData": false,  "devLocationList": [    {      "error": {},      "msid": "7892345678",      "pd": {        "qos": false,        "radius": "5571",        "time": "20170520004421",        "x": "33.45324",        "y": "-84.59621"      }    },    {      "error": {},      "msid": "8583239709",      "pd": {        "qos": false,        "radius": "3866",        "time": "20170525214342",        "x": "38.8408694",        "y": "-105.0422583"      }    },    {      "error": {        "time": "20170525214342",        "type": "POSITION METHOD FAILURE",        "info": "Exception code=ABSENT SUBSCRIBER"      },      "msid": "7897654321",      "pd": {}    }  ]}