Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductPricesController Interface > IProductPricesController Methods > GetSalePricesByProduct Method  > GetSalePricesByProduct Method (String)

Drukuj

.NET Framework Class Library

IProductPricesController.GetSalePricesByProduct Method (String)

Metoda umożliwia pobranie cen sprzedaży towaru o podanym kodzie.

[GET] /api/ProductPrices/SalePrices?productCode=kod_towaru

Namespace: Sage.PL.WebAPI.Interface.Products.Interfaces

Assembly:  Sage.PL.WebAPI.Interface.Products (in Sage.PL.WebAPI.Interface.Products.dll) Version: 24.2.1.0 (24.2.1.0)

Syntax

Visual Basic

Function GetSalePricesByProduct ( _
 productCode As String _
As IHttpActionResult

C#

IHttpActionResult GetSalePricesByProduct(
 string productCode
)

Visual C++

IHttpActionResultGetSalePricesByProduct(
 StringproductCode
)

JavaScript

function getSalePricesByProduct(productCode);

Parameters

productCode

Type: System.String

[FromUri] Kod towaru.

Return Value

Zwraca kolekcję obiektów ProductSalePriceBase.

See Also

IProductPricesController Interface

IProductPricesController Members

GetSalePricesByProduct Overload

Sage.PL.WebAPI.Interface.Products.Interfaces Namespace