Apparently I somehow got this all in reverse. I should swap the 'course_code' and 'study_id'. Probably when I'm rested, and have time to test with this ridiculously slow API.