POST api/{database}/CalcSpecPriceCommand?customerId={customerId}&productId={productId}&currencyId={currencyId}&quantity={quantity}&orderDate={orderDate}&vatIncluded={vatIncluded}&projectId={projectId}

Execute the CalcSpecPriceCommand



Request Information

Parameters

NameDescriptionAdditional information
customerId The customerId.

Define this parameter in the request URI.

productId The productId.

Define this parameter in the request URI.

currencyId The currencyId.

Define this parameter in the request URI.

quantity The quantity.

Define this parameter in the request URI.

orderDate The orderDate.

Define this parameter in the request URI.

vatIncluded The vatIncluded.

Define this parameter in the request URI.

projectId The projectId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "discount": 1.0,
  "price": 2.0,
  "stockTransferPrice": 3.0
}

application/xml, text/xml

Sample:
<CalcSpecPriceCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Commands">
  <Discount>1</Discount>
  <Price>2</Price>
  <StockTransferPrice>3</StockTransferPrice>
</CalcSpecPriceCommand>