#StackBounty: #magento-1.9 #api #soap-api-v2 #time #mvc Soap API – How to get request by Limit 10 based on pagination?

Bounty: 50

I am getting products list using catalogProductList, its taking too long time to return the values(see screenshot) actually my products count is 24K, how can i run by using limit 10 and if i click page 2 then only load next 10 (Now load everything then only print the value).

Now my design look like,

enter image description here

Code :

$proxy = new SoapClient('www.abc.com/api/v2_soap/?wsdl=1');
        $sessionId = $proxy->login((object)array('username' => 'abc', 'apiKey' => 'abc123'));
        $result = $proxy->catalogProductList((object)array('sessionId' => $sessionId->result, 'filters' => null));      
        return $result->result();

Note : https://datatables.net/examples/styling/bootstrap4

How to run API soap v2 as limit 10, and should be next 10 load when i click page 2?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.