When I am sending a XML request to API with having required parameters for Pagination Information, I am sending page number as 1 (Default value is 1) and page size as 10. How can I request for all pages information and get response for all pages , but just not for page 1?
This is the request I am sending
<?xml version='1.0' encoding='UTF-8'?><PrivateOptionsAPIRequest>
Other part of my XML Request
<PaginationInformation><PageNumber>1</PageNumber><PageSize>10</PageSize></PaginationInformation></PrivateOptionsAPIRequest>
You probably can’t.
The whole point of pagination is that you don’t request ALL the data, as it may be just too much. Are you ready to receive and process 5GB file?
If the certain API doesn’t allow you to request all the data, you need to send multiple requests, one for each page.
Make sure that you refer to the documentation and/or contact the owner of the system you’re connecting to.