{"_id":"564b788fcc472d0d00da942e","__v":2,"editedParams2":true,"editedParams":true,"parentDoc":null,"user":"546d17e2eb9cfd1400dd4529","version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":17,"createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"category":{"_id":"55773abaa042551900b002d5","version":"55773a5ba042551900b002ce","__v":18,"pages":["55776c06a042551900b0034f","564a6fdf4cd0521700523edc","564b6753cc472d0d00da940e","564b78801ed5c823003eb640","564b788fcc472d0d00da942e","564b7898dda79a19000f2641","564b78bfdda79a19000f2643","564b78cd1ed5c823003eb643","564b78ebdda79a19000f2646","564b791d766d4923004e1fb3","564b7929e323d01700a5132f","564b7935766d4923004e1fb5","564b793fe323d01700a51331","564b7957cc472d0d00da9431","564b7962dda79a19000f2648","564b79b31ed5c823003eb645","564b79c31ed5c823003eb647","564b79fee323d01700a51336"],"project":"55773a5ba042551900b002cb","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:12:58.040Z","from_sync":false,"order":2,"slug":"athletes-api","title":"Athletes API"},"project":"55773a5ba042551900b002cb","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T18:57:19.560Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n    \"code\": 200,\n    \"status\": \"success\",\n    \"total\": 5,\n    \"per_page\": 10,\n    \"current_page\": 1,\n    \"last_page\": 1,\n    \"next_page_url\": null,\n    \"prev_page_url\": null,\n    \"from\": 1,\n    \"to\": 5,\n    \"data\": [\n        {\n            \"event_id\": 70007,\n            \"event_title\": \"2014 Glasgow Commonwealth Games\",\n            \"event_slug\": \"2014_glasgow_commonwealth_games\",\n            \"event_edit_date\": \"2014-08-04T11:50:00+00:00\",\n            \"event_venue\": \"Strathclyde Country Park, Glasgow\",\n            \"event_country\": \"Great Britain\",\n            \"event_latitude\": 55.86424,\n            \"event_longitude\": -4.25181,\n            \"event_date\": \"2014-07-24\",\n            \"event_finish_date\": \"2014-07-26\",\n            \"event_country_isoa2\": \"GB\",\n            \"event_country_noc\": \"GBR\",\n            \"event_region_id\": 10,\n            \"event_country_id\": 292,\n            \"event_region_name\": \"Europe\",\n            \"event_categories\": [\n                {\n                    \"cat_name\": \"Recognised Games\",\n                    \"cat_id\": 346,\n                    \"cat_parent_id\": 0\n                }\n            ],\n            \"event_specifications\": [\n                {\n                    \"cat_name\": \"Triathlon\",\n                    \"cat_id\": 357,\n                    \"cat_parent_id\": 0\n                },\n                {\n                    \"cat_name\": \"Standard\",\n                    \"cat_id\": 377,\n                    \"cat_parent_id\": 357\n                },\n                {\n                    \"cat_name\": \"4xMixed Relay\",\n                    \"cat_id\": 380,\n                    \"cat_parent_id\": 357\n                }\n            ],\n            \"event_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/gb.png\",\n            \"event_listing\": \"http://www.triathlon.org/events/event/2014_glasgow_commonwealth_games\",\n            \"event_api_listing\": \"https://api.triathlon.org/v1/v1/events/70007\",\n            \"prog_id\": 268921,\n            \"prog_name\": \"4xMixed Relay\",\n            \"result_id\": 447693,\n            \"position\": 1,\n            \"total_time\": \"00:17:29\",\n            \"team_order\": 2,\n            \"team_id\": 89453,\n            \"result_listing\": \"http://www.triathlon.org/results/result/2014_glasgow_commonwealth_games/268921\",\n            \"result_api_listing\": \"https://api.triathlon.org/v1/events/70007/programs/268921/results\",\n            \"headers\": [\n                {\n                    \"segment\": \"leg1\",\n                    \"name\": \"Swim\"\n                },\n                {\n                    \"segment\": \"t1\",\n                    \"name\": \"T1\"\n                },\n                {\n                    \"segment\": \"leg2\",\n                    \"name\": \"Bike\"\n                },\n                {\n                    \"segment\": \"t2\",\n                    \"name\": \"T2\"\n                },\n                {\n                    \"segment\": \"leg3\",\n                    \"name\": \"Run\"\n                }\n            ],\n            \"headers_count\": 5,\n            \"splits\": [\n                \"00:03:14\",\n                \"00:00:26\",\n                \"00:08:53\",\n                \"00:00:27\",\n                \"00:04:29\"\n            ],\n            \"team\": {\n                \"team_id\": 89453,\n                \"team_title\": \"Team I England\",\n                \"team_slug\": \"team_i_england\",\n                \"team_country_id\": 292,\n                \"team_profile_image\": null,\n                \"team_noc\": \"GBR\",\n                \"team_country_name\": \"Great Britain\",\n                \"team_country_isoa2\": \"GB\",\n                \"team_listing\": \"http://www.triathlon.org/athletes/profile/89453/team_i_england\",\n                \"team_flag\": \"https://f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com/images/icons/gb.png\",\n                \"team_api_listing\": \"https://api.triathlon.org/v1/v1/athletes/89453\"\n            }\n        }\n    ]\n}","name":""}]},"settings":"","examples":{"codes":[]},"auth":"required","params":[{"_id":"565769924d1c720d001f521f","ref":"","in":"path","required":true,"desc":"The unique id of the athlete","default":"","type":"int","name":"athlete_id"},{"_id":"565769924d1c720d001f521e","ref":"","in":"query","required":false,"desc":"How many results to be returned per page","default":"","type":"int","name":"per_page"},{"_id":"565769924d1c720d001f521d","ref":"","in":"query","required":false,"desc":"The page number to be returned","default":"10","type":"int","name":"page"},{"_id":"565769924d1c720d001f521c","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event categories","default":"","type":"string","name":"category_id"},{"_id":"565769924d1c720d001f521b","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event specifications","default":"","type":"string","name":"specification_id"},{"_id":"565769924d1c720d001f521a","ref":"","in":"query","required":false,"desc":"A pipe delimited list of event ids","default":"","type":"string","name":"event_id"}],"url":"/athletes/:athlete_id/team_results"},"isReference":true,"order":7,"body":"The *Athlete Team Results* method provides a filterable paginated list of athlete team results.\n\nAdditional filters may be used by specify one or all of `category_id`, `specification_id` or `event_id` which all take a pipe delimited list such that multiple options may be specified.\n\nThe `team` object contains a basic team object that corresponds to the team that the athlete was competing with. Only the requested athlete's splits will be returned.\n\nThe `team_order` key indicates which leg of the relay the athlete competed.","excerpt":"","slug":"athlete-team-results","type":"endpoint","title":"Athlete Team Results"}

getAthlete Team Results


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

athlete_id:
required
integer
The unique id of the athlete

Query Params

per_page:
integer
How many results to be returned per page
page:
integer10
The page number to be returned
category_id:
string
A pipe delimited list of event categories
specification_id:
string
A pipe delimited list of event specifications
event_id:
string
A pipe delimited list of event ids

Result Format


Documentation

The *Athlete Team Results* method provides a filterable paginated list of athlete team results. Additional filters may be used by specify one or all of `category_id`, `specification_id` or `event_id` which all take a pipe delimited list such that multiple options may be specified. The `team` object contains a basic team object that corresponds to the team that the athlete was competing with. Only the requested athlete's splits will be returned. The `team_order` key indicates which leg of the relay the athlete competed.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}