I'm attempting to run a simple command to pull back enrollment records for a list of courses:
listenrollments&limit=1000&query=/courseid in (<id1>,<id2>,<id3>,<id4>,<id5>)&select=course&domainid=<dID>
The results are not complete. I'm expecting that all enrollment records would be returned for each class within the domain. Unfortunately, I'm only getting a subset.
As a result, I had to use listentityenrollments&entityid=<courseId> API and loop through the list of courses. This is a little time consuming.
Can you tell me why the listenrollments doesn't return all of the enrollment records and if I'm stuck using the listentityenrollments API, is there a way to include more than one course in the query?