Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductsController Interface > IProductsController Methods > GetPageWithSalePrices Method | | Drukuj |
.NET Framework Class Library
IProductsController.GetPageWithSalePrices Method
Metoda umożliwia pobranie wszystkich towarów, uzupełnionych o zdefiniowane ceny sprzedaży z rozłożeniem na strony.
[GET] /api/Products/PageWithSalePrices?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 GetPageWithSalePrices ( _ |
C# |
IHttpActionResult GetPageWithSalePrices( |
Visual C++ |
IHttpActionResult^ GetPageWithSalePrices( |
JavaScript |
function getPageWithSalePrices(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 ProductListElementWithSalePrices.