Best Answer

Get Enrollments By Session ID

  • 23 March 2023
  • 1 reply
  • 63 views

Userlevel 2

Hi,

I am going to call API get_multiple_ilt_sessions to get session enrollment. Could you let me know how to change current_page_size which is 10 by default?

Thanks,

Liza

icon

Best answer by Bfarkas 25 March 2023, 03:21

View original

1 reply

Userlevel 7
Badge +4

usually it’s just a variable on the end of the get url of page_size=200

changing the number to what you want. if it’s the first variable you put a ? before, if it’s not the first then you put a & before it. Note, I haven’t used this exact endpoint and not at my computer to check it, but generally these points limit to a max of 200 returns at most, you use page_size in combination with page to call which page you want, page 1 is 1-200, page 2 is 201-400, so on. If your results are long you have to loop through the results to get the full list. 

Reply