API call to Enrollment - paginations not working - Keeps loading page 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022
06:07 PM
Hi all,
Hoping someone can help..
I am trying to retrieve student enrolment details.
I am cycling through the pages manually through the URL..
Eg.
https://XXX.edu.au/api/v1/courses/XXX/enrollments?type=StudentEnrollment&page=1
https://XXX.edu.au/api/v1/courses/XXX/enrollments?type=StudentEnrollment&page=2
https://XXX.edu.au/api/v1/courses/XXX/enrollments?type=StudentEnrollment&page=3
For some reason, every page returns the same 10 students.. as if it is just loading page 1.
Is there something I'm missing?