Activity Status report

Jump to solution
PraveenShukla
Community Member

Hi Team,

 

We are working on one lti tool where we want to fetch the information of activity status whether it is completed or in progress for the specific enrolled user for a course. I try to find for the same in the canvas forum but I didn't get any result.

Please help me with a solution.

Thanks in Advance.

0 Likes
1 Solution
NicoletteStaley
Instructure
Instructure

@PraveenShukla When you mention "activity status whether it is completed or in progress", do you mean that you are wanting to determine if a student has made a submission to an assignment or not?  If you are looking to to determine if an assignment has been submitted or not, the Submissions API might be able to provide you what you are looking for. 

If you are looking for the status of a particular assignment for a particular student, you are use 

GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id

In the Submission Object that is returned by this request includes a "workflow_state" value that can be submitted, unsubmitted, graded, or pending review.  This value would provide the status of the assignment for the student.

More information about the Submissions API can be found at https://canvas.instructure.com/doc/api/submissions.html .

 

View solution in original post

0 Likes