Routine Activities
Activities that occur regularly throughout the day, without the specific goal of exercise, for example calories burned and consumed, steps taken, stairs climbed. These activities are aggregate throughout the day. Activities are stored in the items array structure as follows:
Example
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}/routine.json?access_token={ORGANIZATION_ACCESS_TOKEN}
GET https://api.validic.com/v1/organizations/5176906c6deddac02c000001/users/51 552cd7fded0807c4000017/routine.json?access_token=e7ba1f04e88f25d399a91c8cb cd72300e01309e96b7725e40b49cd1effaa5deb 200 { "summary": { ... }, "routine": [ { "_id": "51552cdbfded0807c4000062", "timestamp": "2013-03-10T07:12:16+00:00", "utc_offset": "+00:00", "steps": 9355, "distance": 7290.33, "floors": 23, "elevation": 3.4, "calories_burned": 2874, "source": "sample_app", "source_name": "Sample App", "last_updated": "2013-03-10T07:12:16+00:00" } ] }
Params
Field
Type
Description
timestamp
String
Timestamp for the measurement set
utc_offset
String
Timezone information for the measurement set
steps
Double
The value of the measured quantity
distance
Double
The value of the measured quantity in meters
floors
Double
The value of the measured quantity
elevation
Double
The value of the measured quantity in meters
calories_burned
Double
The value of the measured quantity in kilocalories (Calories)
source
String
The short name of the application that recorded the activity
source_name
String
The display name of the application that recorded the activity
last_updated
String
Date and time when the measurement set was last updated
_id
String
Unique identifier of the activity (required for POST requests)
For more information regarding the difference between Fitness and Routine data types, please reference our Knowledge Base Article.