ProductComponents Web Service
Method/CalculateGrossProfit
ProductComponents Web Service > All Operations Resource Group : /CalculateGrossProfit (Method)
Description
The CalculateGrossProfit function returns the gross profit details of a specified purchaseprice and sale price
Request (CalculateGrossProfitSoapIn)

The request body is of type CalculateGrossProfit.

Request Body Parameters

NameDescriptionData Type
 xml:int
 xml:int
 xml:decimal
 xml:decimal
purchasePrice Element grossPrice Element countryId Element productId Element Sequence CalculateGrossProfit Element

Overview

Sequence
productId xs:int
countryId xs:int
grossPrice xs:decimal
purchasePrice xs:decimal
Response (CalculateGrossProfitSoapOut)

The response body is of type CalculateGrossProfitResponse.

Response Body Parameters

NameDescriptionData Type
 ProfitInfo
AbsoluteMargin Element SingleConsumerUnitPurchasePrice Element Percentage Element Sequence CalculateGrossProfitResult Element Sequence CalculateGrossProfitResponse Element

Overview

See Also
All Operations Resource GroupProductComponents Web Service