[ARCHIVED] API Call for Quiz Score
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am wondering if it possible via API to get all of the users with a quiz score equal to or above a certain threshold? For example, I have the following GET statement $domain/api/v1/$course/students/submissions?student_ids[]=all&quiz_ids[]=$Quiz&workflow_state=graded. When I run the statement it return all of the necessary information including two fields with scoring information, "grade" and "score". However, if I try to append my GET statement with either of those variables, such as "&grade[] >= X" the result is the same, I show all users regardless of the score. Is this possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, that is not currently possible. You need to download all of the scores and apply the filtering on your end. You will want score for numeric comparisons, grade may be contain non-numeric characters.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.