Client library for HERE Tracking
npm install --save @datafire/here_tracking
let here_tracking = require('@datafire/here_tracking').create({
authBearer: "",
deviceToken: "",
signedRequest: ""
});
.then(data => {
console.log(data);
});
HERE Tracking is a cloud product designed to address location tracking problems for a wide range of Location IoT industry verticals.
HERE Tracking exposes a set of REST APIs and client libraries to enable location tracking and geo-fencing for a variety of device form-factors including small-footprint (small memory and processing power) devices. HERE Tracking also includes end-user applications on mobile and web to be used as reference apps to demonstrate the product capabilities.
Gets service health
here_tracking.device_associations.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.device_associations.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Returns all fences tracking id has been associated with
here_tracking.device_associations.v2.trackingId.geofences.get({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user. - pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page.
- x-request-id
- output
object
: Response body contains an array of geofence objects, count indicating the number of returned geofences, and pageToken if available. If no fences are found, an object with empty data array is returned- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- geofence required d4975492c92aa17c81b3dc25375e2436a957120b0e33c1ed44a316ce21d8ef08
- id required
string
: Must be a valid UUIDv4.
- items
- count
Gets service health
here_tracking.geofence_associations.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.geofence_associations.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
This returns a list of devices that are associated with this geofence.
Note: A device appearing in this list does not mean the device is inside the geofence.
here_tracking.geofence_associations.v2.geofenceId.devices.get({
"geofenceId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: Geofence ID - pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page.
- x-request-id
- output
object
: Response body contains an array of trackingIds,- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- shadow
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device - system
object
: Values within the device configuration that are used by HERE Tracking for - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- trackingId
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- shadow
- items
- count
Notification will no longer be generated when the device enters or exits this geofence.
here_tracking.geofence_associations.v2.geofenceId.trackingId.delete({
"geofenceId": "",
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: Geofence ID - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
Output schema unknown
Notifications will be generated when the device enters or exits this geofence
here_tracking.geofence_associations.v2.geofenceId.trackingId.put({
"geofenceId": "",
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: Geofence ID - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
Output schema unknown
Deletes all geofences created by the provided user account.
As an extra safety measure, you must also supply the header x-confirm
with the value true
. If this header is not explicitly specified on a
Delete All request, the request fails.
here_tracking.geofences.v2.delete({
"x-confirm": ""
}, context)
- input
object
- x-confirm required
string
(values: true): A safety measure that prevents you from accidentally deleting data. - x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- x-confirm required
Output schema unknown
Provides all geofence definitions in a paginated JSON oject.
here_tracking.geofences.v2.get({}, context)
- input
object
- pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page. - x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- pageToken
- output
object
: Response body contains an array of geofence objects, count indicating the number of returned geofences, and pageToken if available. If no fences are found, an object with empty data array is returned- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- geofence required geofence
- id required
string
: Must be a valid UUIDv4.
- items
- count
You can specify a geofence as a circle or as a polygon. You can also assign a name and a description to each geofence to help identify them. If no name is assigned, the geofence is named using a unique ID.
Specify the coordinates of the center point of the circle and a radius in meters.
{
"name": "Home"
"definition": {
"center": {
"lat": 52.5308398,
"lng": 13.38490035
},
"radius": 100
},
"description": "Small area around my house."
}
Specify an array of points. A minimum of three points are required.
NOTE: If the points do not describe a closed polygon, the polygon is automatically closed between the last and first points.
{
"name": "Work"
"definition": {
"points": [{
"lat": 52.5308398,
"lng": 13.38490035
}, {
"lat": 52.530443,
"lng": 13.38482003
}, {
"lat": 52.5308298,
"lng": 13.38492235
}]
},
"description": "The area around work."
}
Successful requests have the HTTP status 201 and the response body provides the ID of the created geofence.
here_tracking.geofences.v2.post({}, context)
- input
object
- body geofence
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- output
object
- id required
string
: Must be a valid UUIDv4.
- id required
Gets service health
here_tracking.geofences.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.geofences.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Deletes a single geofence definition based on the provided geofence ID.
here_tracking.geofences.v2.geofenceId.delete({
"geofenceId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: ID of the geofence
- x-request-id
Output schema unknown
Provides the details of a single geofence definition such as the shape, name and description.
here_tracking.geofences.v2.geofenceId.get({
"geofenceId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: ID of the geofence
- x-request-id
- output
object
: Response body contains a single geofence object- geofence required geofence
- id required
string
: Must be a valid UUIDv4.
Update the geofence shape, name or description. After a successful update, the response provides updated geofence details.
here_tracking.geofences.v2.geofenceId.put({
"geofenceId": ""
}, context)
- input
object
- body geofenceUpdate
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - geofenceId required
string
: ID of the geofence
- output
object
: Response body contains an array of geofence objects, count indicating the number of returned geofences, and pageToken if available. If no fences are found, an object with empty data array is returned- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- geofence required geofence
- id required
string
: Must be a valid UUIDv4.
- items
- count
Gets service health
here_tracking.notifications.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Registers users for notifications when a device transitions into or out of a geofence.
The input data can be only the following:
- A URL to receive webhook notifications
here_tracking.notifications.v2.register.post({}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - body
object
- type
string
(values: webhook): The type of notification channel to be created - url
string
: Required for type webhook. A URL for webhook notifications capable of receiving POST requests.
- type
- x-request-id
- output
object
- message
string
(values: created, updated, deleted) - status
string
(values: ok)
- message
Unregister from notifications for the specified channel.
The only channel name currently supported is 'webhook' for webhook notifications
here_tracking.notifications.v2.registration.channelName.delete({
"channelName": ""
}, context)
- input
object
- channelName required
string
: The name of the notification channel from which to unregister.
- channelName required
- output
object
- message
string
(values: created, updated, deleted) - status
string
(values: ok)
- message
Gets a list of all previously registered notification channels.
The responded channel name(s) will be 'webhook' if a webhook URL has been registered
here_tracking.notifications.v2.registrations.get(null, context)
This action has no parameters
- output
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
string
- items
- count
Gets service version
here_tracking.notifications.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
When provided with a deviceId, this endpoint returns the tracking ID for a previously claimed device.
here_tracking.registry.v2.devices.deviceId.get({
"deviceId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - deviceId required
string
: The device ID provided when provisioning a device
- x-request-id
- output
object
- trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- trackingId required
Claim a device to a user. Before a device is claimed, it cannot complete login and any data sent to the ingestion endpoint will be ignored. Once a device is claimed, its data is stored and available to its owner.
When a device is claimed, it will be assigned a trackingID. This is the identifier in HERE Tracking that the data is associated with. Having a separate deviceId and trackingId means that devices can have their ownership transferred without having to create and install a new deviceId and deviceSecret.
here_tracking.registry.v2.devices.deviceId.put({
"deviceId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - deviceId required
string
: The device ID provided when provisioning a device
- x-request-id
- output
object
- trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- trackingId required
Gets service health
here_tracking.registry.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.registry.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Starts a batch job to create credentials for the number of devices specified in the body.
here_tracking.registry.v2.appId.devices.post({
"appId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - appId required
string
- body
object
- count required
integer
: Number of device credentials requested
- count required
- x-request-id
- output
object
- jobId required
string
: ID identifying this job. Retain for future use. Valid for 24 hours after {now}.
- jobId required
Retrieves the count of already created licenses
here_tracking.registry.v2.appId.licenseCount.get({
"appId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - appId required
string
- x-request-id
- output
object
- count required
number
: The count of created licenses for given appId - updatedAt required
string
: last update to the count
- count required
The credentials will be created. The ID and secret will instantly be returned in the body.
If autoclaim=true, the created device is immediately bound to the requesting account.
here_tracking.registry.v2.appId.one_device.post({
"appId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - appId required
string
- autoclaim
boolean
: If set totrue
, the license is created and immediately claimed by the same user.
- x-request-id
- output
object
: A JSON object containing the newly created device credentials- deviceId required
string
: Must be a valid UUIDv4. - deviceSecret required
string
: The newly created device secret. Valid credentials are the combination of a secret and ID - trackingId
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- deviceId required
This returns the results of the given batch job if the job has completed.
here_tracking.registry.v2.jobId.results.get({
"jobId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - jobId required
string
: UUID v.4.0 - pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page.
- x-request-id
- output
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: A JSON object containing the newly created device credentials- deviceId required
string
: Must be a valid UUIDv4. - deviceSecret required
string
: The newly created device secret. Valid credentials are the combination of a secret and ID
- deviceId required
- items
- count
Use this endpoint to check the progress of a previously created credentials request.
here_tracking.registry.v2.jobId.status.get({
"jobId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - jobId required
string
: UUID v.4.0
- x-request-id
- output
object
- percent required
number
: The percentage of the job that was completed at the time of the request. - status required
string
(values: started, complete): The status of the requested job. May be "started" or "complete". When status is "complete", results may be downloaded.
- percent required
Removes the association between the user and the device. The device is no longer able to generate data for the user and can now be registered by another user (or the same user again).
here_tracking.registry.v2.trackingId.delete({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
Output schema unknown
When provided with a trackingId, this endpoint returns the deviceId for a previously claimed device.
here_tracking.registry.v2.trackingId.get({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
- output
object
- deviceId
string
: Must be a valid UUIDv4.
- deviceId
Provides shadow objects for multiple devices. You can get shadows for a maximum of 20 devices per request.
here_tracking.shadows.v2.batch.post({}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - body
array
- items
string
: The HERE Account ID of a user.
- items
- x-request-id
- output
array
- items
object
- body
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks. - stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device. - phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- statusCode
integer
- body
- items
Gets service health
here_tracking.shadows.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.shadows.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Deletes the information inside a device's shadow object. The shadow object
itself is retained, but all values for desired
and reported
properties are cleared.
here_tracking.shadows.v2.trackingId.delete({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
Output schema unknown
Provides a shadow object that contains reported
and desired
properties
for a device configuration. When setting the header parameters, make sure
that you provide a HERE Account token that allows read access.
here_tracking.shadows.v2.trackingId.get({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
- output
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
Updates the device shadow that is stored in HERE Tracking.
The device shadow contains 'reported' and 'desired' configuration states for a device.
The body is a shadow object with either an update to the desired
or
reported
configuration state.
You cannot use the same request to update the desired
and reported
properties simultaneously. Instead, use separate requests for each type of
configuration state.
The response body is a shadow object that shows the difference between the
reported
and the desired
states. It contains properties that don't
match across the two configurations.
The response example shows the response to the previous request example
where the desired
state was updated.
If all reported
and desired
properties match, the response object
contains only the trackingId and timestamp properties.
here_tracking.shadows.v2.trackingId.put({
"content-length": 0,
"trackingId": ""
}, context)
- input
object
- content-length required
number
: The size of the shadow in bytes. The size is validated against the maximum - body
object
: A shadow object with either desired or reported state update.- desired
object
: The desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- rate
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions. - manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- content-length required
- output
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
Gets the value for the requested state. You can use request either
desired
or reported
device state.
here_tracking.shadows.v2.trackingId.state.get({
"trackingId": "",
"state": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user. - state required
string
(values: desired, reported): Desired or reported state to query.
- x-request-id
- output
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
Gets the value for a single property in the given state. You can use
JSON selectors to select values for desired
or reported
properties.
You can also reference a property by name, but if the property contains
an object, the entire object is returned rather than a distinct value.
The JSON selector can be nested like this: payload/time/minutes
here_tracking.shadows.v2.trackingId.state.selector.get({
"trackingId": "",
"state": "",
"selector": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user. - state required
string
(values: desired, reported): Desired or reported state to query. - selector required
string
: A JSON selector that specifies the property to get information.
- x-request-id
Output schema unknown
Gets service health
here_tracking.traces.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.traces.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Deletes all historical data for a device including traces and transitions.
here_tracking.traces.v2.trackingId.delete({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- x-request-id
Output schema unknown
Gets all traces that were recorded within the specified time range.
Define the range with "before" and "after" timestamps. A successful response contains an array of traces that were recorded after the first timestamp and before the second.
Traces are returned as an array in descending order based on timestamp.
To ensure a fast response, always provide both before
and after
timestamps.
If no values are supplied after
defaults to 0, and before
defaults
to the current system time.
The count
and pageToken
parameters provide pagination for results
where a large volume of data matches the given time range.
In this case, count
is the number of records returned per page along with
a pageToken
header in the returned HTTP response. The pageToken
indicates
the next available page in the matching result set. To get the next page of
records, submit pageToken
as a query parameter in your next request. The default
number of records per page is 1000, which is also the maximum number of
records per page.
In case of success, the response body contains an array of trace samples between the given timestamps (after <= timestamp <= before).
here_tracking.traces.v2.trackingId.get({
"trackingId": ""
}, context)
- input
object
- before
number
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - after
number
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of records per page. - filter
boolean
: If you set this to "true", the trace sample is passed through a Kalman smoothing filter. - x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- before
- output: The response body contains an array of trace samples, count and pageToken, if
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks. - stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device. - phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- items
- count
Gets all transitions that were recorded within a specific time range. This log also includes events when the accuracy radius of the reported position intersects with a geofence boundary.
You define the range with before
and after
timestamps. A successful
response contains an array of transitions that were recorded after the
first timestamp and before the second.
Transitions are listed in descending order based on the timestamp.
To ensure a fast response, always provide both before
and after
timestamps.
If no values are supplied after
defaults to 0, and before
defaults
to the current system time.
The count
and pageToken
parameters provide pagination for results
where a large volume of data matches the given time range.
In this case, count
is the number of records returned per page along with
a pageToken
header in the returned HTTP response. The pageToken
indicates
the next available page in the matching result set. To get the next page of
records, submit pageToken
as a query parameter in your next request. The default
number of records per page is 1000, which is also the maximum number of
records per page.
here_tracking.transitions.v2.devices.trackingId.get({
"trackingId": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user. - before
number
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - after
number
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page.
- x-request-id
- output: The response body contains an array of transitions, a count and a
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: | Transition Type | Meaning |- geofenceId required
string
: Must be a valid UUIDv4. - inOut required
string
(values: PING_OUTSIDE_FENCE, PING_IN_FENCE, PING_NEAR_FENCE_BOUNDARY) - notificationStatus required
string
(values: SENT, NOT_SENT) - timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- geofenceId required
- items
- count
Gets service health
here_tracking.transitions.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Gets service version
here_tracking.transitions.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
Provides an array of the TrackingIds for devices that the given user owns.
here_tracking.users.v2.devices.get({}, context)
- input
object
- pageToken
string
: A page token that you can use to retrieve the next page. - count
integer
: The number of items to return per page. - x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- pageToken
- output
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- shadow
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device - system
object
: Values within the device configuration that are used by HERE Tracking for - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- trackingId
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- shadow
- items
- count
Gets service health
here_tracking.users.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Use this to get a valid access token for a given HERE Account email and password.
here_tracking.users.v2.login.post({}, context)
- input
object
- body
object
: An object containing the email address and password of the user to be logged in.- email required
string
: The email address of the user - password required
string
: The password of the user
- email required
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- body
- output
object
- accessToken
string
- expiresIn
integer
- refreshToken
string
- userId
string
: The HERE Account ID of a user.
- accessToken
Use this to get a valid access token for a given HERE Account access token and refresh token.
here_tracking.users.v2.refresh.post({}, context)
- input
object
- body
object
: An object containing the email address and password of the user to be logged in.- accessToken required
string
: The access token obtained through a previous login - refreshToken required
string
: The refresh token obtained through a previous login
- accessToken required
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- body
- output
object
- accessToken
string
- expiresIn
integer
- refreshToken
string
- userId
string
: The HERE Account ID of a user.
- accessToken
Gets service version
here_tracking.users.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
A device uses its access token to send data to HERE Tracking.
If the request is set to be synchronous, the response will be the desired state of the device shadow. If the request is set to be asynchronous, the response will be empty.
To have a position associated with a device, the request body must contain
either a position
or a scan
object (see the object definitions for
details). If both are provided, the scan
is resolved to a position
. The
more accurate of the two positions (provided and resolved) is used as the
device's position.
If a scan
is provided, HERE Tracking will resolve the position asynchronously
and return the desired state. The shadow will then be updated
immediately after responding.
here_tracking.v2.post({
"authorization": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - authorization required
string
- async
boolean
: If set to true, sends the device's data and responds immediately with an empty response body. - body
array
: A list of telemetry measurements made by the device.- items
object
- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- scan
object
: Radio measurements used for positioning or radio map contribution.- bt
array
: Bluetooth access points- items
object
: Bluetooth measurement. In addition to rss, one of mac, eddystoneId, or iBeaconId is required.
- items
- cdma
array
: CDMA cells- items
object
: CDMA measurement
- items
- country
object
: Indicates in which country the WLAN APs are located (in case cell data is not present in radio_observations)- mcc required
integer
: Mobile Country Code
- mcc required
- gps
object
: Optionally supply this to improve HERE Tracking's positioning service by- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- accuracy required
- gsm
array
: GSM cells (GERAN)- items
object
: GSM measurement
- items
- lte
array
: LTE cells (E-UTRA, 4G)- items
object
: LTE measurement
- items
- tdscdma
array
: TD-SCDMA cell (UTRA-TDD, 3G UMTS TDD)- items
object
: TD-SCDMA measurement
- items
- wcdma
array
: WCDMA cells (UTRA-FDD, 3G UMTS)- items
object
: WCDMA measurement
- items
- wlan
array
: WLAN access points- items
object
: WLAN measurement
- items
- bt
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions. - manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- items
- x-request-id
- output
object
- configuration
object
- configuration
Gets service health
here_tracking.v2.health.get(null, context)
This action has no parameters
- output
object
- message
string
: Health status
- message
Returns the server timestamp used to check the validity of a device's OAuth 1.0 header. Devices must synchronise with this timestamp to avoid clock skew.
here_tracking.v2.timestamp.get({}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting.
- x-request-id
- output
object
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- timestamp
HERE Tracking requires that you sign your requests for tokens. The signature method uses the OAuth 1.0 standard. For more information on this standard, see the OAuth Core 1.0 specification.
See the Authentication section for details on how to generate a signed token request.
here_tracking.v2.token.post({
"authorization": ""
}, context)
- input
object
- x-request-id
string
: ID used for correlating requests within HERE Tracking. Used for logging and error reporting. - authorization required
string
: Signed OAuth 1.0 header
- x-request-id
- output
object
- accessToken
string
- expiresIn
integer
- accessToken
Gets service version
here_tracking.v2.version.get(null, context)
This action has no parameters
- output
object
- service-name
string
: Version of service
- service-name
- circle
object
: A circular geofence- definition required
object
- description
string
: A description of the area that the geofence encloses and the purpose of the geofence. - name
string
: A human-readable name for the geofence. - type required
string
(values: circle, polygon): The type of geofence shape. A geofence can be a circle or a polygon. - definition
object
: An object that defines the area of the geofence.- center required
object
: The coordinates of the center point of the circle.- lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180.
- lat required
- radius required
number
: The radius of the circle in meters.
- center required
- definition required
- claimedDevice
object
- trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- trackingId required
- country
object
: Indicates in which country the WLAN APs are located (in case cell data is not present in radio_observations)- mcc required
integer
: Mobile Country Code
- mcc required
- d4975492c92aa17c81b3dc25375e2436a957120b0e33c1ed44a316ce21d8ef08
object
- definition required
object
- description
string
: A description of the area that the geofence encloses and the purpose of the geofence. - name
string
: A human-readable name for the geofence. - type required
string
(values: circle, polygon): The type of geofence shape. A geofence can be a circle or a polygon.
- definition required
- geofence
object
- definition required
object
- description
string
: A description of the area that the geofence encloses and the purpose of the geofence. - name
string
: A human-readable name for the geofence. - type required
string
(values: circle, polygon): The type of geofence shape. A geofence can be a circle or a polygon.
- definition required
- geofenceUpdate
object
- definition
object
- description
string
: A description of the area that the geofence encloses and the purpose of the geofence. - name
string
: A human-readable name for the geofence. - type
string
(values: circle, polygon): The type of geofence shape. A geofence can be a circle or a polygon.
- definition
- polygon
object
: A polygonal geofence- definition required
object
- description
string
: A description of the area that the geofence encloses and the purpose of the geofence. - name
string
: A human-readable name for the geofence. - type required
string
(values: circle, polygon): The type of geofence shape. A geofence can be a circle or a polygon. - definition
object
: An object that defines the area of the geofence.- points required
array
: An array of points that define the polygon. A minimum of three points are required.- items
object
- lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180.
- lat required
- items
- points required
- definition required
- provisionedAndClaimedDevice
object
: A JSON object containing the newly created device credentials- deviceId required
string
: Must be a valid UUIDv4. - deviceSecret required
string
: The newly created device secret. Valid credentials are the combination of a secret and ID - trackingId
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- deviceId required
- provisionedDevice
object
: A JSON object containing the newly created device credentials- deviceId required
string
: Must be a valid UUIDv4. - deviceSecret required
string
: The newly created device secret. Valid credentials are the combination of a secret and ID
- deviceId required
- requestAddUser
array
- items
string
: The HERE Account ID of a user.
- items
- requestCreateDeviceLicenses
object
- count required
integer
: Number of device credentials requested
- count required
- requestLogin
object
: An object containing the email address and password of the user to be logged in.- email required
string
: The email address of the user - password required
string
: The password of the user
- email required
- requestRefresh
object
: An object containing the email address and password of the user to be logged in.- accessToken required
string
: The access token obtained through a previous login - refreshToken required
string
: The refresh token obtained through a previous login
- accessToken required
- requestRetrieveBatch
array
- items
string
: The HERE Account ID of a user.
- items
- requestShadow
object
: A shadow object with either desired or reported state update.- desired
object
: The desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- rate
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- requestTelemetry
array
: A list of telemetry measurements made by the device.- items
object
- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- scan
object
: Radio measurements used for positioning or radio map contribution.- bt
array
: Bluetooth access points- items
object
: Bluetooth measurement. In addition to rss, one of mac, eddystoneId, or iBeaconId is required.- eddystoneId
string
: Full Identifier as Base64 string. A combination of 10-byte Namespace component and a 6-byte Instance component - iBeaconId
string
: Full Identifier as Base64 string. A combination of 16-byte UUID + 2-byte major + 2-byte minor - mac
string
: The MAC address of the Bluetooth access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. For privacy reasons positioning based on a single Bluetooth AP is not possible; there has to be at least one other matching WLAN or Bluetooth access point. Either MAC, EddystoneId, or iBeaconId is required. - rss required
integer
: Received signal strength (dBm) at the terminal - timestamp
string
: Time of the measurement (UTC)
- eddystoneId
- items
- cdma
array
: CDMA cells- items
object
: CDMA measurement- baselat
number
: Base station latitude (Optional) - baselng
number
: Base station longitude (Optional) - bsid required
integer
: Base Station ID, BID - channel
integer
: CDMA channel frequency (Optional, you must specify a value for this item when you specify a value for pnoffset) - nid required
integer
: Network Id, NID - nmr
array
: CDMA Network measurements (Optional) - pilotpower
integer
: Pilot Power (dBm) (Optional). If Pilot Power is not available directly, it needs to be calculated from Total Power in the band and Pilot Strength with respect to the Total Power. Pilot power less than -142dBm should be mapped to -142. Pilot power greater than -49dBm should be mapped to -49. - pnoffset
integer
: Pseudonoise offset (Optional, you must specify a value for this item when you specify a value for channel) - rz
integer
: Registration zone (Optional) - sid required
integer
: System Id, SID - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- baselat
- items
- country
object
: Indicates in which country the WLAN APs are located (in case cell data is not present in radio_observations)- mcc required
integer
: Mobile Country Code
- mcc required
- gps
object
: Optionally supply this to improve HERE Tracking's positioning service by- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- accuracy required
- gsm
array
: GSM cells (GERAN)- items
object
: GSM measurement- bcch
integer
: Broadcast Control Channel (Synonymous to ARFCN = Absolute Radio Frequency Channel) (Optional, you must specify a value for this item when you specify a value for bsic). - bsic
integer
: Base Station Identity Code (for instance, color code) (Optional, you must specify a value for this item when you specify a value for bcch). - cid required
integer
: Cell Identifier, 16 bits. Mcc+mnc+lac+cid uniquely identifies the GSM cell. - lac required
integer
: Location Area Code - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional) - rxlevel
integer
: Received Signal power (dBm) (Optional). Power less than -110dBm should be mapped to -110. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Expressed in the units of GSM bits equaling to 48/13 μs ~ 1107 meters. - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- bcch
- items
- lte
array
: LTE cells (E-UTRA, 4G)- items
object
: LTE measurement- cid required
integer
: E-UTRA Cell Identifier, 28 bits (20 bits eNodeB and 8 bits Cell id). Mcc+mnc+cid uniquely identifies the LTE cell, tac is optional. - earfcn
integer
: Evolved Absolute Radio Frequency Channel (Optional, you must specify a value for this item when you specify a value for pci) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional) - pci
integer
: Physical Cell Identity (Optional, you must specify a value for this item when you specify a value for earfcn) - rsrp
integer
: Reference Signal Received Power = RSRP (dBm) (Optional, you must specify a value for this item when you specify a value for rsrq). Power less than -140dBm should be mapped to -140. Power greater than -44dBm should be mapped to -44. - rsrq
number
: Reference Signal Received Quality = RSRQ (dB) (Optional). Values less than -19.5dB should be mapped to -19.5, and values greater than -3dB should be mapped to -3dB. - ta
integer
: Timing Advance (Optional). Expressed in the units of 16Ts (16 Basic time units) = 16/(150002048) seconds ~ 156meters. For reference see TS 36.213 and 36.211. - tac
integer
: Tracking Area Code (Optional) - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- cid required
- items
- tdscdma
array
: TD-SCDMA cell (UTRA-TDD, 3G UMTS TDD)- items
object
: TD-SCDMA measurement- cellparams
integer
: Cell Parameters ID (CDMA Spreading Code ID) (Optional, you must specify a value for this item when you specify a value for uarfcn). - cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the TDSCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc. - pathloss
integer
: UTRAN path loss (dB) (Optional, you must specify a value for this item when you specify a value for rscp). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional, you must specify a value for this item when you specify a value for pathloss). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Round-Trip distance presented in the units of 4*c/7.68e6 ~156 meters. That is, the scaling factor is 4 times the chip length at chip rate of 7.68 Mchips/s. Note that at chip rates 1.28 Mchips/s and 3.84 Mchips/s you need to scale according to chip length of 7.68 Mchips/s, that is, multiply by 6 or 2 if needed. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcn
integer
: Carrier frequency of a UTRA-TDD Serving Cell (Optional, you must specify a value for this item when you specify a value for cellparams).
- cellparams
- items
- wcdma
array
: WCDMA cells (UTRA-FDD, 3G UMTS)- items
object
: WCDMA measurement- cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the WCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc. - pathloss
integer
: UTRAN path loss (dB) (Optional). - psc
integer
: Primary Scrambling Code (Primary CPICH, Primary Control Pilot Channel) (Optional, you must specify a value for this item when you specify a value for uarfcndl). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcndl
integer
: Downlink frequency of a UTRA-FDD Serving Cell (Optional, you must specify a value for this item when you specify a value for psc).
- cid required
- items
- wlan
array
: WLAN access points- items
object
: WLAN measurement- band
number
: Frequency range (GHz). Allowed values are 2.4, 3.65, and 5. (Possible future values include 4.9, 5.9, 60, and 900.) - mac required
string
: The MAC address of the WLAN access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. Note that if the SSID contains postfix "_nomap", the AP should not be used for positioning. For privacy reasons positioning based on a single WLAN AP is not possible; there has to be at least one other matching wlan or cell. - powrx
integer
: Received signal level (dBm) at the terminal (Optional) - timestamp
string
: Time of the wlan measurement (UTC) (Optional)
- band
- items
- bt
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- items
- resolvedPosition
object
- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position required
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- responseCount
object
- count required
number
: The count of created licenses for given appId - updatedAt required
string
: last update to the count
- count required
- responseCreateDeviceLicenses
object
- jobId required
string
: ID identifying this job. Retain for future use. Valid for 24 hours after {now}.
- jobId required
- responseCreateGeofence
object
- id required
string
: Must be a valid UUIDv4.
- id required
- responseJobResults
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: A JSON object containing the newly created device credentials- deviceId required
string
: Must be a valid UUIDv4. - deviceSecret required
string
: The newly created device secret. Valid credentials are the combination of a secret and ID
- deviceId required
- items
- count
- responseJobStatus
object
- percent required
number
: The percentage of the job that was completed at the time of the request. - status required
string
(values: started, complete): The status of the requested job. May be "started" or "complete". When status is "complete", results may be downloaded.
- percent required
- responseListDevices
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
- shadow
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device - system
object
: Values within the device configuration that are used by HERE Tracking for - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- trackingId
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- shadow
- items
- count
- responseLogin
object
- accessToken
string
- expiresIn
integer
- refreshToken
string
- userId
string
: The HERE Account ID of a user.
- accessToken
- responseRegistrations
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
string
- items
- count
- responseRetrieveBatch
array
- items
object
- body
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks. - stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device. - phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- statusCode
integer
- body
- items
- responseShadow
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks.- distanceM
number
: The device should send an update if it moves more than this distance in meters - sampleMs
number
: The rate at which to sample signals in milliseconds - sendMs
number
: The rate at which to send sample results in milliseconds
- distanceM
- stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- responseTelemetry
object
- configuration
object
- configuration
- responseToken
object
- accessToken
string
- expiresIn
integer
- accessToken
- responseTraces: The response body contains an array of trace samples, count and pageToken, if
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: The data that Shadows persists for each device.- desired
object
: The currently desired state of the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - system
object
: Contains values for the device configuration. HERE Tracking uses these values- rate
object
: This can be used to specify the rates at which the device performs certain tasks. - stateVersion required
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- rate
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- reported
object
: The last known state reported by the device.- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device. - phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- desired
- items
- count
- responseTransitions: The response body contains an array of transitions, a count and a
- count
integer
: The number of items to return per page. - pageToken
string
: A page token that you can use to retrieve the next page. - data
array
- items
object
: | Transition Type | Meaning |- geofenceId required
string
: Must be a valid UUIDv4. - inOut required
string
(values: PING_OUTSIDE_FENCE, PING_IN_FENCE, PING_NEAR_FENCE_BOUNDARY) - notificationStatus required
string
(values: SENT, NOT_SENT) - timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- geofenceId required
- items
- count
- scan
object
: Radio measurements used for positioning or radio map contribution.- bt
array
: Bluetooth access points- items
object
: Bluetooth measurement. In addition to rss, one of mac, eddystoneId, or iBeaconId is required.- eddystoneId
string
: Full Identifier as Base64 string. A combination of 10-byte Namespace component and a 6-byte Instance component - iBeaconId
string
: Full Identifier as Base64 string. A combination of 16-byte UUID + 2-byte major + 2-byte minor - mac
string
: The MAC address of the Bluetooth access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. For privacy reasons positioning based on a single Bluetooth AP is not possible; there has to be at least one other matching WLAN or Bluetooth access point. Either MAC, EddystoneId, or iBeaconId is required. - rss required
integer
: Received signal strength (dBm) at the terminal - timestamp
string
: Time of the measurement (UTC)
- eddystoneId
- items
- cdma
array
: CDMA cells- items
object
: CDMA measurement- baselat
number
: Base station latitude (Optional) - baselng
number
: Base station longitude (Optional) - bsid required
integer
: Base Station ID, BID - channel
integer
: CDMA channel frequency (Optional, you must specify a value for this item when you specify a value for pnoffset) - nid required
integer
: Network Id, NID - nmr
array
: CDMA Network measurements (Optional)- items
object
: CDMA Network measurement- bsid
integer
: Base Station ID (Optional) - channel required
integer
: CDMA channel frequency - frequency
integer
: Deprecated. Use 'channel' instead. - pilotpower
integer
: Pilot Power (dBm) (Optional). If Pilot Power is not available directly, it needs to be calculated from Total Power in the band and Pilot Strength with respect to the Total Power. Pilot power less than -142dBm should be mapped to -142. Pilot power greater than -49dBm should be mapped to -49. - pnoffset required
integer
: Pseudonoise offset
- bsid
- items
- pilotpower
integer
: Pilot Power (dBm) (Optional). If Pilot Power is not available directly, it needs to be calculated from Total Power in the band and Pilot Strength with respect to the Total Power. Pilot power less than -142dBm should be mapped to -142. Pilot power greater than -49dBm should be mapped to -49. - pnoffset
integer
: Pseudonoise offset (Optional, you must specify a value for this item when you specify a value for channel) - rz
integer
: Registration zone (Optional) - sid required
integer
: System Id, SID - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- baselat
- items
- country
object
: Indicates in which country the WLAN APs are located (in case cell data is not present in radio_observations)- mcc required
integer
: Mobile Country Code
- mcc required
- gps
object
: Optionally supply this to improve HERE Tracking's positioning service by- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- accuracy required
- gsm
array
: GSM cells (GERAN)- items
object
: GSM measurement- bcch
integer
: Broadcast Control Channel (Synonymous to ARFCN = Absolute Radio Frequency Channel) (Optional, you must specify a value for this item when you specify a value for bsic). - bsic
integer
: Base Station Identity Code (for instance, color code) (Optional, you must specify a value for this item when you specify a value for bcch). - cid required
integer
: Cell Identifier, 16 bits. Mcc+mnc+lac+cid uniquely identifies the GSM cell. - lac required
integer
: Location Area Code - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional)- items
object
: GSM Network measurement- bcch required
integer
: Broadcast Control Channel (Synonymous to ARFCN = Absolute Radio Frequency Channel) - bsic required
integer
: Base Station Identity Code (for instance, color code) - cid
integer
: Cell Identifier (Optional) - lac
integer
: Location Area Code (Optional) - rxlevel
integer
: Received Signal power (dBm) (Optional). Power less than -110dBm should be mapped to -110. Power greater than -25dBm should be mapped to -25.
- bcch required
- items
- rxlevel
integer
: Received Signal power (dBm) (Optional). Power less than -110dBm should be mapped to -110. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Expressed in the units of GSM bits equaling to 48/13 μs ~ 1107 meters. - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- bcch
- items
- lte
array
: LTE cells (E-UTRA, 4G)- items
object
: LTE measurement- cid required
integer
: E-UTRA Cell Identifier, 28 bits (20 bits eNodeB and 8 bits Cell id). Mcc+mnc+cid uniquely identifies the LTE cell, tac is optional. - earfcn
integer
: Evolved Absolute Radio Frequency Channel (Optional, you must specify a value for this item when you specify a value for pci) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional)- items
object
: LTE Network measurement- cid
integer
: E-UTRA Cell Identifier (Optional) - earfcn required
integer
: Evolved Absolute Radio Frequency Channel - pci required
integer
: Physical Cell Identity - rsrp
integer
: Reference Signal Received Power = RSRP (dBm) (Optional, you must specify a value for this item when you specify a value for rsrq). Power less than -140dBm should be mapped to -140. Power greater than -44dBm should be mapped to -44. - rsrq
number
: Reference Signal Received Quality = RSRQ (dB) (Optional). Values less than -19.5dB should be mapped to -19.5, and values greater than -3dB should be mapped to -3dB.
- cid
- items
- pci
integer
: Physical Cell Identity (Optional, you must specify a value for this item when you specify a value for earfcn) - rsrp
integer
: Reference Signal Received Power = RSRP (dBm) (Optional, you must specify a value for this item when you specify a value for rsrq). Power less than -140dBm should be mapped to -140. Power greater than -44dBm should be mapped to -44. - rsrq
number
: Reference Signal Received Quality = RSRQ (dB) (Optional). Values less than -19.5dB should be mapped to -19.5, and values greater than -3dB should be mapped to -3dB. - ta
integer
: Timing Advance (Optional). Expressed in the units of 16Ts (16 Basic time units) = 16/(150002048) seconds ~ 156meters. For reference see TS 36.213 and 36.211. - tac
integer
: Tracking Area Code (Optional) - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- cid required
- items
- tdscdma
array
: TD-SCDMA cell (UTRA-TDD, 3G UMTS TDD)- items
object
: TD-SCDMA measurement- cellparams
integer
: Cell Parameters ID (CDMA Spreading Code ID) (Optional, you must specify a value for this item when you specify a value for uarfcn). - cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the TDSCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc.- items
object
: TD-SCDMA Network measurement- cellparams required
integer
: Cell Parameters ID (CDMA Spreading Code ID) - cid
integer
: Cell Identifier (uc-id) (Optional) - pathloss
integer
: UTRAN path loss (dB) (Optional, you must specify a value for this item when you specify a value for rscp). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional, you must specify a value for this item when you specify a value for pathloss). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - uarfcn required
integer
: Carrier frequency of a UTRA-TDD Serving Cell
- cellparams required
- items
- pathloss
integer
: UTRAN path loss (dB) (Optional, you must specify a value for this item when you specify a value for rscp). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional, you must specify a value for this item when you specify a value for pathloss). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Round-Trip distance presented in the units of 4*c/7.68e6 ~156 meters. That is, the scaling factor is 4 times the chip length at chip rate of 7.68 Mchips/s. Note that at chip rates 1.28 Mchips/s and 3.84 Mchips/s you need to scale according to chip length of 7.68 Mchips/s, that is, multiply by 6 or 2 if needed. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcn
integer
: Carrier frequency of a UTRA-TDD Serving Cell (Optional, you must specify a value for this item when you specify a value for cellparams).
- cellparams
- items
- wcdma
array
: WCDMA cells (UTRA-FDD, 3G UMTS)- items
object
: WCDMA measurement- cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the WCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc.- items
object
: WCDMA Network measurement- cid
integer
: UTRAN Cell Identifier (uc-id) (Optional) - pathloss
integer
: UTRAN path loss (dB) (Optional). - psc required
integer
: Primary Scrambling Code (Primary CPICH, Primary Control Pilot Channel) - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - uarfcndl required
integer
: Downlink frequency of a UTRA-FDD Serving Cell
- cid
- items
- pathloss
integer
: UTRAN path loss (dB) (Optional). - psc
integer
: Primary Scrambling Code (Primary CPICH, Primary Control Pilot Channel) (Optional, you must specify a value for this item when you specify a value for uarfcndl). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcndl
integer
: Downlink frequency of a UTRA-FDD Serving Cell (Optional, you must specify a value for this item when you specify a value for psc).
- cid required
- items
- wlan
array
: WLAN access points- items
object
: WLAN measurement- band
number
: Frequency range (GHz). Allowed values are 2.4, 3.65, and 5. (Possible future values include 4.9, 5.9, 60, and 900.) - mac required
string
: The MAC address of the WLAN access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. Note that if the SSID contains postfix "_nomap", the AP should not be used for positioning. For privacy reasons positioning based on a single WLAN AP is not possible; there has to be at least one other matching wlan or cell. - powrx
integer
: Received signal level (dBm) at the terminal (Optional) - timestamp
string
: Time of the wlan measurement (UTC) (Optional)
- band
- items
- bt
- telemetry
object
- payload
object
: An application-specific JSON object. HERE Tracking doesn't read this object but - position
object
: The reported or determined location of the device- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - confidence
integer
: Confidence level in percent for the accuracy/uncertainty. If not specified, the default is 68 (this corresponds to a 68% probability that the true position is within the accuracy/uncertainty radius of the position; the higher the number, the greater the confidence level). - floor
object
: The building where the measurements were taken- id required
string
: The building id - level required
number
: The floor in the building in integer format - name required
string
: The building name
- id required
- heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - type
string
: Position type, "gnss" (satellite based), "cell" or "wlan" (network based) - wlancount
integer
: The total number of observed WLAN APs in the scan used for producing the position. ("wlan" position type only)
- accuracy required
- scan
object
: Radio measurements used for positioning or radio map contribution.- bt
array
: Bluetooth access points- items
object
: Bluetooth measurement. In addition to rss, one of mac, eddystoneId, or iBeaconId is required.- eddystoneId
string
: Full Identifier as Base64 string. A combination of 10-byte Namespace component and a 6-byte Instance component - iBeaconId
string
: Full Identifier as Base64 string. A combination of 16-byte UUID + 2-byte major + 2-byte minor - mac
string
: The MAC address of the Bluetooth access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. For privacy reasons positioning based on a single Bluetooth AP is not possible; there has to be at least one other matching WLAN or Bluetooth access point. Either MAC, EddystoneId, or iBeaconId is required. - rss required
integer
: Received signal strength (dBm) at the terminal - timestamp
string
: Time of the measurement (UTC)
- eddystoneId
- items
- cdma
array
: CDMA cells- items
object
: CDMA measurement- baselat
number
: Base station latitude (Optional) - baselng
number
: Base station longitude (Optional) - bsid required
integer
: Base Station ID, BID - channel
integer
: CDMA channel frequency (Optional, you must specify a value for this item when you specify a value for pnoffset) - nid required
integer
: Network Id, NID - nmr
array
: CDMA Network measurements (Optional)- items
object
: CDMA Network measurement
- items
- pilotpower
integer
: Pilot Power (dBm) (Optional). If Pilot Power is not available directly, it needs to be calculated from Total Power in the band and Pilot Strength with respect to the Total Power. Pilot power less than -142dBm should be mapped to -142. Pilot power greater than -49dBm should be mapped to -49. - pnoffset
integer
: Pseudonoise offset (Optional, you must specify a value for this item when you specify a value for channel) - rz
integer
: Registration zone (Optional) - sid required
integer
: System Id, SID - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- baselat
- items
- country
object
: Indicates in which country the WLAN APs are located (in case cell data is not present in radio_observations)- mcc required
integer
: Mobile Country Code
- mcc required
- gps
object
: Optionally supply this to improve HERE Tracking's positioning service by- accuracy required
number
: Uncertainty circle radius in meters (degree of confidence according to the 'confidence' parameter). - alt
number
: Altitude in meters (referenced to the WGS-84 ellipsoid) negative or positive. - altaccuracy
number
: Uncertainty of the altitude estimate in meters (degree of confidence according to the 'confidence' parameter). - heading
integer
: GPS/GNSS heading in degrees, clockwise from true north. You must specify a value for this item when you specify a value for speed. - lat required
number
: Latitude in WGS-84 format, decimal representation ranging from -90 to 90. - lng required
number
: Longitude in WGS-84 format, decimal representation ranging from -180 to 180. - satellitecount
integer
: Number of GPS/GNSS satellites used for the calculation of the position fix. ("gnss" position type only) - speed
integer
: GPS/GNSS speed of the device (m/s). Position fixes at speed above the maximum should not be used for contribution. You must specify a value for this item when you specify a value for heading. - timestamp
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- accuracy required
- gsm
array
: GSM cells (GERAN)- items
object
: GSM measurement- bcch
integer
: Broadcast Control Channel (Synonymous to ARFCN = Absolute Radio Frequency Channel) (Optional, you must specify a value for this item when you specify a value for bsic). - bsic
integer
: Base Station Identity Code (for instance, color code) (Optional, you must specify a value for this item when you specify a value for bcch). - cid required
integer
: Cell Identifier, 16 bits. Mcc+mnc+lac+cid uniquely identifies the GSM cell. - lac required
integer
: Location Area Code - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional)- items
object
: GSM Network measurement
- items
- rxlevel
integer
: Received Signal power (dBm) (Optional). Power less than -110dBm should be mapped to -110. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Expressed in the units of GSM bits equaling to 48/13 μs ~ 1107 meters. - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- bcch
- items
- lte
array
: LTE cells (E-UTRA, 4G)- items
object
: LTE measurement- cid required
integer
: E-UTRA Cell Identifier, 28 bits (20 bits eNodeB and 8 bits Cell id). Mcc+mnc+cid uniquely identifies the LTE cell, tac is optional. - earfcn
integer
: Evolved Absolute Radio Frequency Channel (Optional, you must specify a value for this item when you specify a value for pci) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional)- items
object
: LTE Network measurement
- items
- pci
integer
: Physical Cell Identity (Optional, you must specify a value for this item when you specify a value for earfcn) - rsrp
integer
: Reference Signal Received Power = RSRP (dBm) (Optional, you must specify a value for this item when you specify a value for rsrq). Power less than -140dBm should be mapped to -140. Power greater than -44dBm should be mapped to -44. - rsrq
number
: Reference Signal Received Quality = RSRQ (dB) (Optional). Values less than -19.5dB should be mapped to -19.5, and values greater than -3dB should be mapped to -3dB. - ta
integer
: Timing Advance (Optional). Expressed in the units of 16Ts (16 Basic time units) = 16/(150002048) seconds ~ 156meters. For reference see TS 36.213 and 36.211. - tac
integer
: Tracking Area Code (Optional) - timestamp
string
: Time of the cell measurement (UTC) (Optional)
- cid required
- items
- tdscdma
array
: TD-SCDMA cell (UTRA-TDD, 3G UMTS TDD)- items
object
: TD-SCDMA measurement- cellparams
integer
: Cell Parameters ID (CDMA Spreading Code ID) (Optional, you must specify a value for this item when you specify a value for uarfcn). - cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the TDSCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc.- items
object
: TD-SCDMA Network measurement
- items
- pathloss
integer
: UTRAN path loss (dB) (Optional, you must specify a value for this item when you specify a value for rscp). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional, you must specify a value for this item when you specify a value for pathloss). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - ta
integer
: Timing advance (Optional). Round-Trip distance presented in the units of 4*c/7.68e6 ~156 meters. That is, the scaling factor is 4 times the chip length at chip rate of 7.68 Mchips/s. Note that at chip rates 1.28 Mchips/s and 3.84 Mchips/s you need to scale according to chip length of 7.68 Mchips/s, that is, multiply by 6 or 2 if needed. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcn
integer
: Carrier frequency of a UTRA-TDD Serving Cell (Optional, you must specify a value for this item when you specify a value for cellparams).
- cellparams
- items
- wcdma
array
: WCDMA cells (UTRA-FDD, 3G UMTS)- items
object
: WCDMA measurement- cid required
integer
: UTRAN Cell Identifier, 28 bits (12 bits RNC and 16 bits Cell id). Mcc+mnc+cid uniquely identifies the WCDMA cell, lac is optional. - lac
integer
: Location Area Code (Optional) - mcc required
integer
: Mobile Country Code - mnc required
integer
: Mobile Network Code - nmr
array
: Network measurements (Optional). Maximum of 8 uarfcndl times maximum of 32 psc.- items
object
: WCDMA Network measurement
- items
- pathloss
integer
: UTRAN path loss (dB) (Optional). - psc
integer
: Primary Scrambling Code (Primary CPICH, Primary Control Pilot Channel) (Optional, you must specify a value for this item when you specify a value for uarfcndl). - rscp
integer
: Received Signal Code Power = RSCP (dBm) (Optional). Power less than -120dBm should be mapped to -120. Power greater than -25dBm should be mapped to -25. - timestamp
string
: Time of the cell measurement (UTC) (Optional) - uarfcndl
integer
: Downlink frequency of a UTRA-FDD Serving Cell (Optional, you must specify a value for this item when you specify a value for psc).
- cid required
- items
- wlan
array
: WLAN access points- items
object
: WLAN measurement- band
number
: Frequency range (GHz). Allowed values are 2.4, 3.65, and 5. (Possible future values include 4.9, 5.9, 60, and 900.) - mac required
string
: The MAC address of the WLAN access point. MAC-48 address with colon (:) or hyphen (-) separators, upper or lower case hex digits. Note that if the SSID contains postfix "_nomap", the AP should not be used for positioning. For privacy reasons positioning based on a single WLAN AP is not possible; there has to be at least one other matching wlan or cell. - powrx
integer
: Received signal level (dBm) at the terminal (Optional) - timestamp
string
: Time of the wlan measurement (UTC) (Optional)
- band
- items
- bt
- system
object
: Values within the device configuration that are used by HERE Tracking for- client
object
: Information about the client Device.- firmware
string
: Device firmware version information - homenetwork
array
: Information about subscriber home network - 3GPP MCC+MNC or 3GPP2 SID+NID. Dual-SIM devices can provide information on both two subscriptions.- items
object
: Network information. Either MCC + MNC or SID + NID attribute pair is required.- mcc
integer
: Mobile Country Code - mnc
integer
: Mobile Network Code - nid
integer
: Network Id, NID - sid
integer
: System Id, SID
- mcc
- items
- manufacturer
string
: Manufacturer of the device (hardware) - model
string
: Model of the device (hardware) - name
string
: Name of the client software accessing the HERE API - platform
string
: Software platform information of the device, for example operating system name and version. - version
string
: Version of the client software in format X.Y.Z, where X [0..255] is a major, Y [0..255] is a minor, and Z [0..65535] is a build version number. Increase the version/build number for each release of the client.
- firmware
- phoneNumber
string
: The phone number of the device's SIM card in the international E.164 format. You should prefix all country codes with "+" instead of "00". - stateVersion
integer
: The version of the state of a device. This should be incremented only by HERE Tracking.
- client
- timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- payload
- transition
object
: | Transition Type | Meaning |- geofenceId required
string
: Must be a valid UUIDv4. - inOut required
string
(values: PING_OUTSIDE_FENCE, PING_IN_FENCE, PING_NEAR_FENCE_BOUNDARY) - notificationStatus required
string
(values: SENT, NOT_SENT) - timestamp required
integer
: Milliseconds elapsed since 1 January 1970 00:00:00 UTC. - trackingId required
string
: The ID HERE Tracking assigned to the device when it was claimed by a user.
- geofenceId required
- webhook
object
: A webhook notification channel properties- type
string
(values: webhook): The type of notification channel to be created - url
string
: Required for type webhook. A URL for webhook notifications capable of receiving POST requests. - definition
object
- url
string
: A URL for webhook notifications capable of receiving POST requests
- url
- type