Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
While building the API client side interface for my employer I deleted a Term because I thought I'd be able to recreate it. Well, apparently Canvas keeps the term but it is no long accessible to be used or referenced in subsequent API calls. This wouldn't be a problem except that the SIS Term ID is already taken, so when I went to recreate a new term to replace it, I am presented with this response:
{
Solved! Go to Solution.
@PerryWay No worries! We all start somewhere 🙂
You'll want to go to your top-level account (root account), click on Settings, then click the Reports tab. One of the (many) choices there is the SIS Export.
Here are some more instructions on how to pull this report: https://community.canvaslms.com/t5/Admin-Guide/How-do-I-view-reports-for-an-account/ta-p/109
With the API, you can call the Start a Report endpoint. This will allow you to pull the SIS Export report file as a CSV for processing in the programming language of your choice 🙂
I haven't tried this, but you may be able to call the Update Enrollment Term endpoint to update the SIS ID even if the item is deleted.
Hi Melody, ahh I see, I'm not using the Root account, they made me an Admin account, so I don't see that menu option. I suppose that's only available for Root accounts. As for using the update term endpoint, I had tried that yesterday and got a response "The specified resource does not exist". However, I was finally able to fix the problem by creating a CSV terms.csv file and zip that and then import it and that indeed fixed the problem. Thank you so much for your willingness to help so quickly!
By the end of next week I will be an expert! 🙂 I'm just bumbling around stubbing my toes at the moment!
Perry
@PerryWay Welcome!
So when things are 'deleted' in Canvas, they're marked with a 'flag' but they're actually still in the system. If you pull the SIS Export report for Terms, you'll still be able to see this record in the report. You can actually 'undelete' with this report -- delete all the rows except for this term, and then change the status to 'active' and perform a SIS Import.
To reuse the SIS ID, you'll need to change the SIS ID of the deleted item to something else (like 185_deleted) -- once that is done, that frees up the SIS ID for re-use.
Hope this helps!
Thanks for your help Melody, I'm a bit stuck with how to find that report though. I don't see any SIS Export menu option. However I see an SIS Import menu option. Bear with me, I'm just a developer, not an educator and haven't used Canvas in an interactive mode yet. I'm mainly working on the API integration. Thanks!
@PerryWay No worries! We all start somewhere 🙂
You'll want to go to your top-level account (root account), click on Settings, then click the Reports tab. One of the (many) choices there is the SIS Export.
Here are some more instructions on how to pull this report: https://community.canvaslms.com/t5/Admin-Guide/How-do-I-view-reports-for-an-account/ta-p/109
With the API, you can call the Start a Report endpoint. This will allow you to pull the SIS Export report file as a CSV for processing in the programming language of your choice 🙂
I haven't tried this, but you may be able to call the Update Enrollment Term endpoint to update the SIS ID even if the item is deleted.
Hi Melody, ahh I see, I'm not using the Root account, they made me an Admin account, so I don't see that menu option. I suppose that's only available for Root accounts. As for using the update term endpoint, I had tried that yesterday and got a response "The specified resource does not exist". However, I was finally able to fix the problem by creating a CSV terms.csv file and zip that and then import it and that indeed fixed the problem. Thank you so much for your willingness to help so quickly!
By the end of next week I will be an expert! 🙂 I'm just bumbling around stubbing my toes at the moment!
Perry
To participate in the Instructure Community, you need to sign up or log in:
Sign In