*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
https://mobilesdk.telematicssdk.com/api/heartbeats/get/
v{version}/raw/users/{userId}/latest
Get the latest heartbeat for an individual user
post
https://mobilesdk.telematicssdk.com/api/heartbeats/get/
v{version}/raw/users/latest
Get the latest heartbeats for a list of users
Request Body
1
{
2
"Users": [
3
"3fa85f64-5717-4562-b3fc-2c963f66afb6", // user's deviceToken
4
"3fa85f64-5717-4562-b3fc-2c963f66afb6"
5
]
6
}
Copied!

​
πŸ‘‡
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
DataTool
Last modified 8mo ago