Skip to main content
Version: Next

User definition

A user is either a trialist or an active customer who purchased a program with Fitmate coach.

This user is identified by it's email address.

Email adresses are unique per user on our system.

Our API expose various informations and dataset of a user.

There is 3 main categories of informations available on a user:

  • user general informations
  • body profile
  • my goals (including tracking of progress)

User profile informations

FieldTypeDescription
First NameStringThe first name of the user.
Last NameStringThe last name of the user.
Email addressStringThe email address of the user (unique ID).
Mobile NumberStringThe mobile number of the user.
Date of birthDateThe date of birth of the user.
Gender at birthStringGender
Height (ft and inches)StringHeight in ft and inches
Current weight (lbs)NumberCurrent weight in lbs
Target weight (lbs)NumberTarget weight in lbs
PregnantBooleanIs the user pregnant?

Body profile

Body profile informations are often updated by the coach. We try to have informations up to date weekly. The level of precision of the body profile depends on the user's plan and willing to update the coach.

FieldTypeDescription
Body waistNumberCurrent body waist
Measurment dateDatedate of measurement
Energy levelNumberLevel of energy the customer have (scale from 1 to 5)
Heart RateNumberCurrent heart rate
Self feelingNumberAn evaluation of how the user feels this week
WeightNumberCurrent weight

All these details will come and accumulate for each user.

My Goals

Coach set weekly goals to achieve in order to reach the target weight. We have a collection of goals available for each individual user and each target contains user feedback.

FieldTypeDescription
Goal IDStringthe unique identifier for the given goal
assignement TimeDateDate of the assignment for the goal
CategoryStringGroup of goals family/category
DaysArrayList of days the goal is targeted to happen
Day per WeekNumberNumber of time this is tracked per week
DescriptionStringThe goal to achieve
GoalStringThe goal definition
StatusStringStatus of the goal
TitleStringTitle of the goal
TrackingArrayList of records made towards a goal

Tracking

For goals, customer are reporting to their coach about their progress.

We actually add the progress included within each goal of a customer.

The structure of each progress is as follow:

FieldTypeDescription
DateDateDate of the progress
ProgressStringProgress made towards the goal