Dataset: Workout Log

Dataset name: ds_workout_log


Workout Log Data

Fields in this dataset

Name Field Name Description Field Type Field Example
Exercise Description exercise_description The description of the exercise type varchar Back Extension
Duration exercise_duration The amount of time exercise performed int 60
Repetitions exercise_repetitions Number of repetitions of an exercise int 10
Exercise end timestamp exercise_timestamp_end End time and date Exercise recorded int 1648633780
Exercise start timestamp exercise_timestamp_start Start time and date Exercise recorded int 1648633780
Exercise Type exercise_type Values representing different exercises varchar back_extension
ID id The machine name for a record. Internal to PDS and Mydex int 1
Measurement Group measurement_group The top level group activity belongs to varchar Activity
Measurement Log ID measurement_id The key that links to Measurement Log int 1
Created Timestamp record_created_timestamp Date record added to PDS int 1648633780
Updated Timestamp record_updated_timestamp Date record updated in the PDS int 1648633780
Resistance resistance_level The resistance of the exercise (or weight), in kilograms floating point 20kg
Resistance Type resistance_type The type of resistance used during the exercise int
Source Device Type source_device_type States the type of source device varchar PDA
Source ID source_id The unique ID of source of the data varchar 3621-29756
Source Instance source_instance The instance of the source type int
Source Name source_name The Name given to source varchar Google Fit

Making an API request for this Dataset

Example Request to the Sandbox Server

Replace the following with your own details: UID KEY, API_KEY, CON_ID and instance N.

Replace sbx-api with api when making a connection to a real member on the production server (must be authenticated).

To return the data in XML, change UID.json to UID.xml.

Example Response

A response to this API request will be structured as follows.

  "1": {
    "id": "1",
    "ds_id": "1",
    "exercise_description": "Back Extension",
    "exercise_duration": "60",
    "exercise_repetitions": "10",
    "exercise_timestamp_end": "1648633780",
    "exercise_timestamp_start": "1648633780",
    "exercise_type": "back_extension",
    "measurement_group": "Activity",
    "measurement_id": "1",
    "record_created_timestamp": "1648633780",
    "record_updated_timestamp": "1648633780",
    "resistance_level": "20kg",
    "resistance_type": "",
    "source_device_type": "PDA",
    "source_id": "3621-29756",
    "source_instance": null,
    "source_name": "Google Fit"