question

lauferrr avatar image
0 Likes"
lauferrr asked

Return up to 5000 rows

By this sample get from SDK i can return up to 200 records. How can i modify the code to return up to 5000 records. I really need this and my return could contain only three fields Try Dim ApicallItem As GetItemCall = New GetItemCall(Context) Dim apicall As GetSellerListCall = New GetSellerListCall(Context) apicall.DetailLevelList.Add(DetailLevelCodeType.ReturnAll) apicall.Pagination = New PaginationType() apicall.Pagination.PageNumber = 1 'apicall.Pagination.EntriesPerPage = 200 apicall.UserID = myCfg.EbayUserId Dim dateValue As DateTime = DateTime.Now Dim d As DateTime = DateTime.Now.AddDays(-90) apicall.StartTimeFilter = New TimeFilter(d.Date + New TimeSpan(0, 0, 0), dateValue.Date + New TimeSpan(23, 59, 59)) Dim sellerlist As ItemTypeCollection = apicall.GetSellerList() Dim item As ItemType For Each item In sellerlist If item.Quantity <> 0 Then ' DO MY CODE With Item.Quantiy Item.Title, item.SellingStatus.CurrentPrice.Value End If Next item Catch ex As Exception WriteLog("Error while getting sellers list: " & ex.Message) End Try
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.

0 Answers

· Write an Answer

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.