Premium APIsDevice Location

Quick API Reference

ThingSpace Device Location Quick APIs Reference

This API reference is organized by functional area, which generally equates to resource type.

Hope you are enjoying our latest upgrades, but you can still access the Legacy Documentation for a limited time

Find device locations

HTTP RequestDescription
POST /locationsFind the locations of up to 20 devices (synchronous)
POST /locationreportsCreate a report of device locations (asynchronous)
GET /locationreports/{accountName}/report/{txid}/index/{startindex}Retrieve a device location report
GET /locationreports/{accountName}/report/{txid}/statusGet the status of a device location report
DELETE /locationreports/{accountName}/report/{txid}Cancel a queued device location report
DELETE /devicelocations/{txid}?accountName={accountName}Cancel an asynchronous device location report.

Exclude devices from location services

HTTP RequestDescription
POST /devicelocations/action/consentsCreate the consent record for devices
PUT /devicelocations/action/consentsUpdate the consent record for devices
POST /consentsExclude or included devices from location services
GET /consents/{accountName}Get a list of excluded devices
DELETE /consentsRemoves devices from the exclusion list
GET /consents/{accountName}/index/{startIndex}List the devices excluded from location services
GET devicelocations/action/consents?{accountName}&{deviceid}&{deviceid}Retrieve consent settings fro the account or a device or a list of devices

Manage subscription status and usage

HTTP RequestDescription
GET /subscriptions/{accountName}Get location service subscription status
POST /usageGet Location Service Usage information for a specified period
POST /usage/triggersCreate a new usage trigger
GET /usage/accounts/{accountName}/triggersRetrieve information about a trigger, or all triggers in an account
POST /usage/triggers/{triggerId}Change an existing trigger's settings.
DELETE /usage/accounts/{accountName}/triggers/{triggerId}Delete a specified trigger.

Receive callback messages

HTTP RequestDescription
POST /callbacks/{accountName}Register to receive callback messages
GET /callbacks/{accountName}View registered callback listener URLs
DELETE /callbacks/{accountName}/name/{service}Deregister a callback listener

Aggregated billing services

HTTP RequestDescription
POST /managedaccounts/actions/addAdds a list of account for managed billing to a primary account.
POST /managedaccounts/actions/provisionActivates a managed billing service relationship between managed account and primary account
GET /managedaccounts/{accountName}/service/{servicename/status/{status}Returns a list of managed accounts for a primary account.
POST /managedaccounts/actions/cancelDeactivates a managed billing service relationship between managed account and the primary account.

On this page