{"_id":"564b84f9e6c67c2f0038366a","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":"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","editedParams2":true,"editedParams":true,"user":"546d17e2eb9cfd1400dd4529","__v":3,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:50:17.066Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"put","results":{"codes":[{"status":200,"language":"json","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"data\":{\n      \"course_id\":102953,\n      \"course_title\":\"2016 Utrecht ITU Technical Officials Level 1 Seminar\",\n      \"course_edit_date\":\"2015-12-23T06:46:23+00:00\",\n      \"course_slug\":\"2016_utrecht_itu_technical_officials_level_1_seminar\",\n      \"course_venue\":\"Utrecht\",\n      \"course_language\":\"English\",\n      \"course_country_name\":\"Netherlands\",\n      \"course_latitude\":52.09074,\n      \"course_longitude\":5.12142,\n      \"course_date\":\"2016-04-09\",\n      \"course_finish_date\":null,\n      \"course_country_isoa2\":\"NL\",\n      \"course_noc\":\"NED\",\n      \"course_region_id\":10,\n      \"course_country_id\":230,\n      \"course_region_name\":\"Europe\",\n      \"course_categories\":[\n         {\n            \"cat_name\":\"Technical Officials\",\n            \"cat_id\":236,\n            \"cat_parent_id\":0\n         },\n         {\n            \"cat_name\":\"TO Level 1\",\n            \"cat_id\":239,\n            \"cat_parent_id\":236\n         }\n      ],\n      \"course_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/nl.png\",\n      \"course_listing\":\"http:\\/\\/www.triathlon.org\\/development\\/course\\/2016_utrecht_itu_technical_officials_level_1_seminar\",\n      \"course_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/federations\\/102953\"\n   }\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"57069fa5812b9c0e00fa64a6","ref":"","in":"path","required":true,"desc":"The unique id of the course to be edited","default":"","type":"int","name":"course_id"},{"_id":"57069fa5812b9c0e00fa64a5","ref":"","in":"body","required":false,"desc":"A json encoded object of key=>vaue pairs for updating","default":"","type":"object","name":"body"}],"url":"/courses/:course_id"},"isReference":true,"order":4,"body":"The **Edit Course** method allows editing of a course and returns the complete Course Listing after the changes have been applied.","excerpt":"","slug":"edit-course","type":"endpoint","title":"Edit Course"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

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

Body Params

body:
object
A json encoded object of key=>vaue pairs for updating

Result Format


Documentation

The **Edit Course** method allows editing of a course and returns the complete Course Listing after the changes have been applied.

User Information

Try It Out

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