API Call to Conclude Users

talway
Community Contributor

I am in need of some programming guidance/expertise.  I am trying to create an API call that will look at an assignment in a specific course and if a student has completed the assignment, conclude the student from the course and write the sis_id to an array to be used at a later point in the program.  I have deciphered the various calls by using the Canvas Live API but do not know how to tie it all together.  I know that at some point I would need something like "for each user with a workflow_state = submitted, conclude the user" and then also write the sis_id to an array.  But that is about the extent of it.  Does someone have a good reference to some samples, perhaps here in the community, or a sample code that they would be willing to share? 

Thank you.

Labels (2)
0 Likes