to get a personalized navigation.
to get a personalized navigation.
How does the paging work in SalesOrderApi?
I have request for 928 items. With a page size of 500 I expect
Page 0: 500
Page 1: 428
Page 2: 0
But I get
Page 0: 500
Page 1: 500
Page 2: 500
{
"value": [<500 records>],
"nextPage":"https://salesorder.visma.net/api/v3/Inventory?modifiedSince=2023-01-11T10%3a59%3a18%2b01%3a00&pageSize=500&pageIndex=1",
"totalCount":928
}
{
"value": [<500 records>],
"totalCount":928
}
{
"value": [<500 records>],
"totalCount":928
}
I didn't investigate closer what items are returned but it looks like it is
Page 0: item 1-500
Page 1: item 2-501
Page 2: item 3-502
So it looks like pageIndex works like skip
Copyright © 2022 Visma.com. All rights reserved.