Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductPricesController Interface > IProductPricesController Methods > GetQuantitativeDiscountsByProductKind Method 

Drukuj

.NET Framework Class Library

IProductPricesController.GetQuantitativeDiscountsByProductKind Method

Metoda umożliwia pobranie upustów ilościowych wszystkich towarów o podanym id rodzaju towaru.

[GET] /api/ProductPrices/QuantitativeDiscounts?productKindId=id_rodzaju_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 GetQuantitativeDiscountsByProductKind ( _
 productKindId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetQuantitativeDiscountsByProductKind(
 int productKindId
)

Visual C++

IHttpActionResultGetQuantitativeDiscountsByProductKind(
 int productKindId
)

JavaScript

function getQuantitativeDiscountsByProductKind(productKindId);

Parameters

productKindId

Type: System.Int32

[FromUri] Id rodzaju towaru.

Return Value

Zwraca kolekcję obiektów QuantitativeDiscountListElement.

See Also

IProductPricesController Interface

IProductPricesController Members

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