Create a location report
Request an asynchronous device location report.
Authorization
thingspace_oauth VZ-M2M-Token This is the ThingSpace token, from Credentials and Tokens is used
In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
*/*
Request for device location report.
Request for device location report.
Account identifier in "##########-#####".
Device list.
Accurary, currently only 0-coarse supported.
Value in
- "0"
Location cache mode.
Value in
- "0"
- "1"
- "2"
Response Body
application/json
application/json
curl -X POST "https://example.com/loc/v1/locationreports" \ -H "Content-Type: */*" \ -d '<accountName>1234567890-00001</accountName> <accuracyMode>0</accuracyMode> <cacheMode>1</cacheMode> <deviceList> <id>980003420535573</id> <kind>imei</kind> <mdn>7892345678</mdn> </deviceList> <deviceList> <id>375535024300089</id> <kind>imei</kind> <mdn>7897654321</mdn> </deviceList> <deviceList> <id>A100003861E585</id> <kind>meid</kind> <mdn>7897650914</mdn> </deviceList>'{ "txid": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33", "status": "QUEUED"}Obtain locations of IoT or consumer devices POST
Requests the current or cached location of up to 10,000 IoT or consumer devices (phones, tablets. etc.). This request returns a synchronous transaction ID, and the location information for each device is returned asynchronously as a DeviceLocation callback message.
Retrieve a location report GET
Download a completed asynchronous device location report.

