API call to Enrollment - paginations not working - Keeps loading page 1

williamtay
Community Member

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?

0 Likes