Skip to Content
0
Feb 06, 2021 at 03:38 PM

SF LMS ODATA API 'Students' not returning more than 10 records in response

360 Views Last edit Feb 06, 2021 at 03:40 PM 2 rev

Hi Experts,

I was trying to fetch the Users/Students/Learners records using below LMS ODATA API using some filter criteria mentioned below. But not able get more than 10 records in API response. Also I did not find any filter criteria like $top to fetch more than 10 records for this Student search API.

Could you please let me know whether this is the standard behavior or there is any way to fetch more than 10 records from this API call.

/learning/odatav4/searchStudent/v1/Students?$filter=criteria/isActive eq true and criteria/domainIDs eq 'XXXX'

I was following the below help docuemnts:

API details:- https://help.sap.com/viewer/5aab9bef78fc4c4fa199c1f7aa142720/2005/en-US/06a0bc063f314e139252a844e0c54964.html

Use case sample:- https://help.sap.com/viewer/5aab9bef78fc4c4fa199c1f7aa142720/2005/en-US/b13684d05fe84842aaaa71f75766b761.html

Regards,

Souvik