question

nrejo0 avatar image
0 Likes"
nrejo0 asked ·

Multiple calls using paginationInput.pageNumber

I am using the findItemsAdvanced call in the finding api. I am trying to get 5000 items, so it will require me to make 50 calls (50x100 responses limit). I am using the "paginationInput":[{"pageNumber":1}] to change the page. I am getting 100 item responses in page 1 but the api does not return items for page 2 or higher.


When I check the response, it only has a url to the second page of the search and not the items in that page. Any help would be appreciated. Thankyou

finding apipaginationmultiple itemspaginationinput
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tapdevelop avatar image
0 Likes"
tapdevelop answered ·

Use this parameter to define the number if items to be returned (default 100):

&paginationInput.entriesPerPage=200

This parameter determines which page you are requesting (default 1):

&paginationInput.pageNumber=2

The above values for the parameters would return items 201 to 400.

These response values will give you some information about your request:

paginationOutput->totalPages
paginationOutput->totalEntries
paginationOutput->entriesPerPage
paginationOutput->pageNumber 


·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

helios825 avatar image
0 Likes"
helios825 answered ·

Can you post some sample code?

·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.