Skip to main content
Question

API_DOQUERY to show 10 records on page scroll or pagination show remaining ,is there any special api or attribute to use with this api

  • October 23, 2017
  • 0 replies
  • 51 views

hi, i have to load only 10 records at one time in my mobile application by using API_DOQUERY,remaining should load in pagination , can you help me out with it
This topic has been closed for replies.

  • Registered
  • October 23, 2017
You use the parameter options with num-n and skp-n values to indicate the number or records you want (num-n) and how many to skp (skp-n) based on the current sort order.
To grab 10 records as a time you would use URLs similar to these
?act=API_DoQuery&qid=1&options=num-10.skp-0
?act=API_DoQuery&qid=1&options=num-10.skp-10
?act=API_DoQuery&qid=1&options=num-10.skp-20

  • Registered
  • October 23, 2017

ok sure ,than you