Hi Mike,
I use API http://localhost/JiwaAPI/Queries/IN_Main to get inventory data. How can i get all inventory?
E.g. I have 350 records in Jiwa. By settings, API only returns 100 records, how can i get next records until last record?
Thanks,
Hieu
minhhieu106 wrote:E.g. I have 350 records in Jiwa. By settings, API only returns 100 records, how can i get next records until last record?
https://api.jiwa.com.au/Queries/IN_Main?OrderBy=PartNo&Take=100&Include=Total&format=json
{"Total":272,"Results":[{"InventoryID":"69accccb872e42419ad0","...
// Get records 101 to 200
https://api.jiwa.com.au/Queries/IN_Main?OrderBy=PartNo&Skip=100&Take=100&format=json
// Get records 201 to 300
https://api.jiwa.com.au/Queries/IN_Main?OrderBy=PartNo&Skip=200&Take=100&format=json
Return to Technical and or Programming
Users browsing this forum: No registered users and 10 guests