{"_id":"564b84d44f06ef2b006b08b4","__v":4,"editedParams":true,"version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":18,"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","59cd4b81935249001c77c48e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"user":"546d17e2eb9cfd1400dd4529","editedParams2":true,"category":{"_id":"55773af907e7110d001043f0","__v":7,"pages":["564b84b2cc472d0d00da9457","564b84c0cc472d0d00da9459","564b84d44f06ef2b006b08b4","564b84eddda79a19000f266e","564b84f9e6c67c2f0038366a","564b850585e4e92b00fb4fa0","5668a50cee1dbf0d008f62dc"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:14:01.892Z","from_sync":false,"order":8,"slug":"courses-api","title":"Courses API"},"parentDoc":null,"project":"55773a5ba042551900b002cb","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:49:40.026Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":{\n      \"course_id\":78443,\n      \"course_title\":\"2013 Rio Maior ITU Development U23 & Junior World Camp\",\n      \"course_slug\":\"2013_rio_maior_itu_development_u23_junior_world_camp\",\n      \"course_venue\":\"Rio Maior\",\n      \"course_language\":\"English\",\n      \"course_country\":\"Portugal\",\n      \"course_latitude\":39.33844,\n      \"course_longitude\":-8.94271,\n      \"course_date\":\"2013-09-01\",\n      \"course_finish_date\":null,\n      \"course_country_a2\":\"PT\",\n      \"course_country_noc\":\"POR\",\n      \"course_region_id\":10,\n      \"course_country_id\":247,\n      \"course_region_name\":\"Europe\",\n      \"categories\":[\n         {\n            \"cat_name\":\"Camps\",\n            \"cat_id\":238,\n            \"cat_parent_id\":0\n         }\n      ],\n      \"course_information\":\"FOR THE VIDEO OF THE CAMP PLEASE CLICK HERE >>  http:\\/\\/www.triathlon.org\\/multimedia\\/video\\/itu_development_rio_maior_short_film\\nOR SCROLL DOWN A BIT.\\n\\nThe detailed description of the camp can be found here >> http:\\/\\/www.triathlon.org\\/development\\/athlete\\/camps\\n\\n\\nParticipants\\n\\nAthletes: \\nChia Chia Chang, Chou-Yen Lee (TPE), John Leerams Chicano (PHI), Soung Geun Sin (KOR), Laurelle Brown (ZIM), Tea Milos (CRO), Ali Atlan, Sabri Oge (TUR), Amitai  Yonah, Fanny Beisaron (ISR), Matija Meden, Jaka Kaplan (SLO) Milan Tomin,  Ognjen Stojanovic (SBR), Casmer Kamingip (PNG), Angel Jose Aparicio Chanquin,  Deborah Antillon Vasquez (GUA), Felipe Barazza (CHI), David Luis, Alexandre Norbe, Ana Ramos, Melanie Bronze Dos Santos, Lu\\u00edsa Conde\\u00e7o (POR)\\n\\nMentor Coaches: \\nYen-Lin Huang (TPE), Francesco Fissore (SLO), Mert Anaran (TUR), Uri Zilberman (ISR), Otto  Wafia (PNG), Ana Maria Lecumberri (CHI), Andr\\u00e9 Campos, Duarte Marques, Bruno Salvador (POR)\\n\\nHead Coaches:\\nLead Head Coach (+ RUN): Sergio Santos (POR)\\nHead Coach (SWIM): Fredrik Lundin (SWE) \\nHead Coach (BIKE): Andreu Alfonso (ESP) \\nHead Coach (TRANSITIONS): Zeljko Bijuk (CRO)\\n\\nSupport team:\\nMarco Sousa (Bike Mechanic), Joao De Costa, Ana Carvalho (massage therapists), Ricardo Dias, Susana Nogueira (physiotherapists) \\n\",\n      \"travel_information\":\"Closest Airport: Lisbon, Portugal\",\n      \"application_deadline\":\"2013-07-15\",\n      \"accomodation\":\"Rio Maior Olympic Preparation Center, Portugal (www.desmor.pt) \\nAddress: P\\u00e1 da Ribeira, 2040-227 Rio Maior\\nPhone: +351 243 999 70\",\n      \"contact\":{\n         \"name\":\"Zita Csovelyak, ITU Development\",\n         \"email\":\"zita:::at:::triathlon.org\",\n         \"phone\":null,\n         \"fax\":null\n      },\n      \"facilitator\":{\n         \"name\":\"S\\u00e9rgio Santos (POR) - Lead Head Coach, RUN\",\n         \"email\":null\n      },\n      \"related_event\":null,\n      \"related_video\":{\n         \"video_id\":79629,\n         \"video_title\":\"ITU Development Rio Maior Short Film\",\n         \"video_slug\":\"itu_development_rio_maior_short_film\",\n         \"entry_date\":\"2013-11-06T04:07:41Z\",\n         \"status\":\"open\",\n         \"video_thumbnail\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/www.triathlon_.org_.jpg\",\n         \"video_caption\":\"Shot in Rio Maior Training Camp Portugal in 2013\",\n         \"youtube_url\":\"http:\\/\\/www.youtube.com\\/watch?v=JOZZc_res4o\",\n         \"video_url\":\"http:\\/\\/www.triathlon.org\\/multimedia\\/video\\/itu_development_rio_maior_short_film\",\n         \"video_api_url\":\"https:\\/\\/api.triathlon.org\\/content\\/videos\\/79629\",\n         \"categories\":[\n            {\n               \"cat_name\":\"Sport Development\",\n               \"cat_id\":58,\n               \"cat_parent_id\":0\n            }\n         ]\n      },\n      \"course_documents\":[\n         {\n            \"file_id\":146,\n            \"file_name\":\"resume_head_coaches_rio_maior_2013.pdf\",\n            \"file_extension\":\"pdf\",\n            \"file_title\":\"Resume head coaches rio maior 2013\",\n            \"file_size\":\"1.06MB\",\n            \"file_date\":\"2013-08-28T07:58:36Z\",\n            \"file_url\":\"http:\\/\\/www.triathlon.org\\/uploads\\/courses\\/78443\\/resume_head_coaches_rio_maior_2013.pdf\"\n         }\n      ],\n      \"course_gallery\":[\n         {\n            \"event_id\":78443,\n            \"image_id\":34768,\n            \"image_filename\":\"rio_maior_itu_development_camp_sept_7.jpg\",\n            \"image_filesize\":\"144.45kB\",\n            \"image_extension\":\"jpg\",\n            \"image_width\":1417,\n            \"image_height\":1063,\n            \"image_date\":\"2013-09-10T16:07:25Z\",\n            \"image_credit\":\"\",\n            \"image_url\":\"http:\\/\\/www.triathlon.org\\/uploads\\/webgalleries\\/78443\\/rio_maior_itu_development_camp_sept_7.jpg\",\n            \"thumbnail\":\"http:\\/\\/www.triathlon.org\\/uploads\\/webgalleries\\/78443\\/rio_maior_itu_development_camp_sept_7__medium.jpg\"\n         }\n      ],\n      \"course_news\":[\n         {\n            \"entry_id\":79477,\n            \"title\":\"Triathlon: It\\u2019s a philosophy\",\n            \"slug\":\"triathlon_its_a_philosophy\",\n            \"entry_date\":\"2013-10-29T14:13:13Z\",\n            \"status\":\"open\",\n            \"excerpt\":\"Coaches at the ITU Rio Maior Development Camp serve up triathlon tips. Whether you are starting out in the sport of triathlon, or just starting up another thrilling season, these words of wisdom work for everyone. \",\n            \"thumbnail\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/MSJ_3600_resize.JPG\",\n            \"tab_image\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/MSJ_3600_resize1.JPG\",\n            \"multipurpose_image\":\"\",\n            \"url\":\"http:\\/\\/www.triathlon.org\\/news\\/article\\/triathlon_its_a_philosophy\",\n            \"api_url\":\"https:\\/\\/api.triathlon.org\\/content\\/news\\/79477\",\n            \"categories\":[\n               {\n                  \"cat_name\":\"Regions\",\n                  \"cat_id\":11,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"Sport Development\",\n                  \"cat_id\":50,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"Age Group\",\n                  \"cat_id\":56,\n                  \"cat_parent_id\":0\n               }\n            ]\n         }\n      ]\n   }\n}","language":"json","status":200}]},"settings":"","examples":{"codes":[]},"method":"get","auth":"required","params":[{"_id":"5668b42210bda80d00797ec4","ref":"","in":"path","required":true,"desc":"The unique id of the course to be returned","default":"","type":"int","name":"course_id"}],"url":"/courses/:course_id"},"isReference":true,"order":2,"body":"The **Retrieve Course Information** method retrieves a full course profile for a given **course_id**.\n\nFor the related event a basic event object is returned if the course runs alongside an existing event. For the course_images a full gallery of  image objects are returned. For the related_articles and videos a basic news and video object are returned respectively. \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\"\n}\n[/block]\nList the course detail for 2013 Rio Maior ITU Development U23 & Junior World Camp (course_id 78443 found from either course listing or search methods).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: YOUR_APP_KEY\\\" https://api.triathlon.org/v1/courses/78443\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"retrieve-course-information","type":"endpoint","title":"Retrieve Course Information"}

getRetrieve Course Information


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

course_id:
required
integer
The unique id of the course to be returned

Result Format


Documentation

The **Retrieve Course Information** method retrieves a full course profile for a given **course_id**. For the related event a basic event object is returned if the course runs alongside an existing event. For the course_images a full gallery of image objects are returned. For the related_articles and videos a basic news and video object are returned respectively. [block:api-header] { "type": "basic", "title": "Examples" } [/block] List the course detail for 2013 Rio Maior ITU Development U23 & Junior World Camp (course_id 78443 found from either course listing or search methods). [block:code] { "codes": [ { "code": "curl --header \"apikey: YOUR_APP_KEY\" https://api.triathlon.org/v1/courses/78443", "language": "curl" } ] } [/block]

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 }}