Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductPricesController Interface > IProductPricesController Methods > Recalculate Method  > Recalculate Method (Int32)

Drukuj

.NET Framework Class Library

IProductPricesController.Recalculate Method (Int32)

Metoda umożliwia wykonanie operacji przeliczenia cen sprzedaży towaru o podanym id na podstawie ceny bazowej.

[PATCH] /api/ProductPrices/Recalculate?productId=id_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 Recalculate ( _
 productId As Integer _
As IHttpActionResult

C#

IHttpActionResult Recalculate(
 int productId
)

Visual C++

IHttpActionResultRecalculate(
 int productId
)

JavaScript

function recalculate(productId);

Parameters

productId

Type: System.Int32

[FromUri] Id towaru.

Return Value

>Metoda nie zwraca żadnej zawartości.

See Also

IProductPricesController Interface

IProductPricesController Members

Recalculate Overload

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