Course Copy API- Can define source, but not destination?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2015
02:14 PM
Looking at the API documentation I could not see any request parameter that allows us to define *where* to copy to course to, i.e the source course can be defined but a destination course or, the subaccount under which to create the destination course is not defined. I must be missing something obvious. Can anybody help? Thanks!
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2015
02:36 PM
Vedu,
Great question and this is one that is easily overlooked in the API documentation.
To specify which course to copy content into is included as a parameter in the API call that you send to Canvas.
- settings[source_course_id]
- String
- The course to copy from for a course copy migration. (required if doing course copy)
example: settings[source_course_id]=" + CanvasCourseID
Hope this helps.
Brian