Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductsController Interface > IProductsController Methods > GetPagedDocument Method | | Drukuj |
.NET Framework Class Library
IProductsController.GetPagedDocument Method
Metoda umożliwia pobranie wszystkich towarów z rozłożeniem na strony.
[GET] /api/Products/Page?page=numer_strony&size=ilosc_obiektów_na_stronie&orderBy=wartość_z_obiektu_enumOrderByType
Namespace: Sage.PL.WebAPI.Interface.Products.Interfaces
Assembly: Sage.PL.WebAPI.Interface.Products (in Sage.PL.WebAPI.Interface.Products.dll) Version: 24.11.1.0 (24.11.1.0)
Visual Basic |
Function GetPagedDocument ( _ |
C# |
IHttpActionResult GetPagedDocument( |
Visual C++ |
IHttpActionResult^ GetPagedDocument( |
JavaScript |
function getPagedDocument(page, size, orderBy); |
page
Type: System.Int32
[FromUri] Numer strony.
size
Type: System.Int32
[FromUri] Ilość wyników na stronie.
orderBy
Type: Sage.PL.WebAPI.Interface.Enums.enumOrderByType
[FromUri] Sortowanie wyników na stronie.
Zwraca obiekt Page(T) od typu ProductListElement.