v1

latestOpenAPI 3.0.02026-07-24226294602.4 KB
Performance Results

Get Lead Performance Results by Component

Returns a list of Performance Results of a specific Component for a Lead.

get/leads/{lead_id}/performance-results/components/{component_id}

Path parameters

lead_idinteger required

Lead Id

component_idinteger required

Component Id

Query parameters

pageinteger

Specifies the page of records to be returned. Defaults to 1.

page_sizeinteger

Number of records to return per page. Maximum and default are 100 records.

Headers

x-api-keystring required

A valid API key. If you don't have one, please request one through the Web Integrations screen.

Response

wodify_validation_resultstring

The purpose of this attribute is to save any UserException message, that is, and user friendly message that should be shown to the end user.

Example response

{
  "performance_results": [
    {
      "class_sign_in_id": 1234567891234567,
      "average_score": 0.1,
      "calculated_one_rep_max": 0.1,
      "calories": 1234567891234567,
      "class_id": 1234567891234567,
      "comparison_calculated_one_rep_max": 0.1,
      "comparison_distance": 0.1,
      "comparison_total_distance": 0.1,
      "comparison_total_weight": 0.1,
      "comparison_weight": 0.1,
      "component_id": 1234567891234567,
      "component_type_id": 1234567891234567,
      "date": "2014-12-31",
      "distance": 0.1,
      "each_round_type_id": 1234567891234567,
      "hours": 1234567891234567,
      "lead_id": 1234567891234567,
      "location_id": 1234567891234567,
      "maximum_score": 1234567891234567,
      "minimum_score": 1234567891234567,
      "minutes": 1234567891234567,
      "number_of_comments": 1234567891234567,
      "number_of_likes": 1234567891234567,
      "original_performance_result_id": 1234567891234567,
      "parent_component_id": 1234567891234567,
      "personal_record_type_id": 1234567891234567,
      "ranking_value": 0.1,
      "ranking_value_firebase": 0.1,
      "reps": 1234567891234567,
      "result_type_id": 1234567891234567,
      "rounds": 1234567891234567,
      "seconds": 0.1,
      "sets": 1234567891234567,
      "total_calories": 0.1,
      "total_distance": 0.1,
      "total_reps": 0.1,
      "total_seconds": 0.1,
      "total_weight": 0.1,
      "uom_distance_id": 1234567891234567,
      "uom_weight_id": 1234567891234567,
      "weight": 0.1,
      "workout_component_id": 1234567891234567,
      "workout_header_id": 1234567891234567,
      "child_results": [
        {
          "class_sign_in_id": 1234567891234567,
          "average_score": 0.1,
          "calculated_one_rep_max": 0.1,
          "calories": 1234567891234567,
          "class_id": 1234567891234567,
          "comparison_calculated_one_rep_max": 0.1,
          "comparison_distance": 0.1,
          "comparison_total_distance": 0.1,
          "comparison_total_weight": 0.1,
          "comparison_weight": 0.1,
          "component_id": 1234567891234567,
          "component_type_id": 1234567891234567,
          "date": "2014-12-31",
          "distance": 0.1,
          "each_round_order": 1234567891234567,
          "each_round_type_id": 1234567891234567,
          "hours": 1234567891234567,
          "lead_id": 1234567891234567,
          "location_id": 1234567891234567,
          "maximum_score": 1234567891234567,
          "minimum_score": 1234567891234567,
          "minutes": 1234567891234567,
          "number_of_comments": 1234567891234567,
          "number_of_likes": 1234567891234567,
          "original_performance_result_id": 1234567891234567,
          "parent_component_id": 1234567891234567,
          "personal_record_type_id": 1234567891234567,
          "ranking_value": 0.1,
          "ranking_value_firebase": 0.1,
          "reps": 1234567891234567,
          "result_type_id": 1234567891234567,
          "rounds": 1234567891234567,
          "seconds": 0.1,
          "sets": 1234567891234567,
          "total_calories": 0.1,
          "total_distance": 0.1,
          "total_reps": 0.1,
          "total_seconds": 0.1,
          "total_weight": 0.1,
          "uom_distance_id": 1234567891234567,
          "uom_weight_id": 1234567891234567,
          "weight": 0.1,
          "workout_component_id": 1234567891234567,
          "workout_header_id": 1234567891234567,
          "created": {
            "created_by_id": 1234567891234567,
            "created_on_datetime": "2014-12-31T23:59:59.938Z"
          },
          "updated": {
            "updated_by_id": 1234567891234567,
            "updated_on_datetime": "2014-12-31T23:59:59.938Z"
          }
        }
      ],
      "created": {
        "created_by_id": 1234567891234567,
        "created_on_datetime": "2014-12-31T23:59:59.938Z"
      },
      "updated": {
        "updated_by_id": 1234567891234567,
        "updated_on_datetime": "2014-12-31T23:59:59.938Z"
      }
    }
  ]
}