See data in the cloud

Your device is now reporting its data to HERE Tracking. The next step is accessing that reported data.

Retrieve device data from HERE Tracking

Prerequisites

  • The trackingId of a device that has been claimed to a project and has sent data to HERE Tracking

Log the user in

curl -X POST \
  https://tracking.api.here.com/users/v2/login \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "{userEmail}",
    "password": "{userPassword}"
}'

This will return an accessToken.

Retrieve the device shadow

curl -X GET \
  'https://tracking.api.here.com/shadows/v2/{trackingId}' \
  -H 'Authorization: Bearer {accessToken}' \
  -H 'content-type: application/json'

You will receive the device's most recently reported shadow.

Retrieve the device trace

curl -X GET \
  'https://tracking.api.here.com/traces/v2/{trackingId}' \
  -H 'Authorization: Bearer {accessToken}' \
  -H 'content-type: application/json'

You will receive the device's trace.

results matching ""

    No results matching ""