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

Drukuj

.NET Framework Class Library

IProductPricesController.GetQuantitativeDiscountsByProduct Method (String)

Metoda umożliwia pobranie upustów ilościowych towaru o podanym kodzie.

[GET] /api/ProductPrices/QuantitativeDiscounts?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 GetQuantitativeDiscountsByProduct ( _
 productCode As String _
As IHttpActionResult

C#

IHttpActionResult GetQuantitativeDiscountsByProduct(
 string productCode
)

Visual C++

IHttpActionResultGetQuantitativeDiscountsByProduct(
 StringproductCode
)

JavaScript

function getQuantitativeDiscountsByProduct(productCode);

Parameters

productCode

Type: System.String

[FromUri] Kod towaru.

Return Value

Zwraca kolekcję obiektów QuantitativeDiscount.

See Also

IProductPricesController Interface

IProductPricesController Members

GetQuantitativeDiscountsByProduct Overload

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