*User & Permissions Status | Heartbeats
Heartbeats - system information that we receive from SDK in background. Average period of heartbeats is around 2 hours, but it also depends on a stability of user's internet connection.
Heartbeats help to indicate if the user has an installed application with active SDK and also shows other system information such as statuses of granted permissions, device model, OS version, etc.
NOTE: all the API methods below will be replaced with new ones before 31.03.2021
Get the latest heartbeat for an individual user
GET
https://mobilesdk.telematicssdk.com/api/heartbeats/get/v{version}/raw/users/{userId}/latest
Authorization: Required as Admin with API Authorization Credentials
Query Parameters
Version
string
Value "1" is required here
userID
string
User's deviceToken
Get the latest heartbeats for a list of users
POST
https://mobilesdk.telematicssdk.com/api/heartbeats/get/v{version}/raw/users/latest
Authorization: Required as Admin with API Authorization Credentials Note: maximum list size is 20 tokens.
Query Parameters
Version
string
value "1" is required here
👇 Fields dictionary
UserID
User's deviceToken
Heartbeat Date
The date of the latest heartbeat
WiFi Enabled
true/false | Shows the status of WiFI sensor
GPS Enabled
true/false | Shows the status of GPS sensor
Mobile Data Enabled
true/false | Shows the status of mobile data
Latitude
Latest known latitude
Longitude
Latest known longitude
Application
Application
Device Has Been Rooted (Android)
0 = false, 1 = true | Shows if the Android device has been rooted.
Device Model
Device Model
Device OS Version
Device OS Version
GPS Permissions Granted
Shows the status of app permissions to GPS sensor
JailBreak (iOS)
0 = false, 1 = true | Shows if the iOS device has been hacked
Low Power Mode
true/false | Shows if the low power mode is active (tracking doesn't work stable, when lower power mode is active)
Low Precise location (iOS)
true/false | Shows if the Low Precise Location mode is active on iOS devices (tracking doesn't work, when the low precise location mode is active)
Motion & Fitness Permission Granted (iOS)
YES/NO | Shows the status of app permission for Motion & Fitness on iOS devices
Motion Activity Permission Granted (Android)
true/false | Shows the status of app permission for Motion Activity on Android devices
Last updated