Я получаю только 100 результатов. Код выдержка:Получить весь товар в категории?
FindingServicePortTypeClient client = FindingServiceClientFactory.getServiceClient(config);
FindItemsByCategoryRequest req = new FindItemsByCategoryRequest();
req.categoryId = new string[] { "1249" };
req.sortOrder = SortOrderType.BestMatch;
req.sortOrderSpecified = true;
req.itemFilter = new ItemFilter[]
{
new ItemFilter()
{
name = ItemFilterType.EndTimeFrom,
value = new string[]
{
DateTime.Now.Add(TimeSpan.FromHours(1)).ToString("yyyy-MM-ddTHH:mm:ss")
}
}
};
PaginationInput pi = new PaginationInput();
pi.entriesPerPage = int.MaxValue;
pi.entriesPerPageSpecified = true;
req.paginationInput = pi;
FindItemsByCategoryResponse response = client.findItemsByCategory(req);
Как вы можете видеть, что я попытался с помощью int.MaxValue
, но безрезультатно. Невозможно получить все предметы из категории?