The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hello,
I need to update the section SIS ID, section start date, and section end date for a lot of courses in a term. I've tried the PUT request in the live API to edit a section and it worked. The course section was updated. I'm using Postman now to make the edits to many sections using the PUT request, body, and runner with the provisioning report and I'm getting an error. I tried troubleshooting with just one section (screenshot below) and I did get a 200 status, but the course information did not update, and I'm seeing "null" for the start and end date, and the sis_section_id.
In the body for line six, I tried just "sis_section_id" and it didn't work either. Could someone take a look and determine what is causing the course section not to update? Thank you!
@asquyres This is what the PUT function accepts.
It looks like you're adding too much to the body, and you'll need to specify course_section[attr] for each attribute you are editing, so for example, editing the start_at time should be course_section[start_at]. You also don't need to specify anything regarding the course, as you're accessing the section directly using the API, so don't add anything like id or sis_course_id into your call.
Looks like you're doing CCTA 🙂 Good luck!
Hope this helps!
Hi @asquyres,
It looks like you're putting JSON with postman, so I think your format just needs to be tweaked a bit. Try:
{
course_section:{
'start_at':'',
'end_at':'',
'sis_section_id':'',
}}
just put the right values in for each of those (I couldn't copy/paste from your screenshot or see it while I typed this, but I think this may give you a general idea of what to try. I discovered this when I did my CCTA API class last year, as I was already familiar with API with other things like Python and had run into similar issues there.
I hope this helps, but let us know if you still have any difficulties!
-Chris
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in