It is possible to make an API call to pull a xlist report from multiple terms?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm making an API call to get the report showing crosslisted courses in Canvas, but I want to restrict the report to terms.
It would seem I can do this by using parameters[enrollment_term_id]=XX in my call, but this limits the response to only one term. The campus I'm working with has multiple active terms so I'd like to include the enrollment_term_id for those active terms and get them all into one report, but it doesn't seem like I can do that. I'm guessing I'll need to setup some sort of loop and generate multiple xlist reports, one for each term I need.
Thanks for any guidance.
api/v1/accounts/1/reports/provisioning_csv?parameters[xlist]=true¶meters[enrollment_term_id]=XX&access_token=
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @2ToneTim,
I am 99% sure you can't have more than one term at a time (the UI has that design as the term is just a dropdown selection). I do believe setting up a loop to generate a report for each term is the solution you'll need to employ here as you have guessed.
-Chris