POST api/Quote/CalculateQuotePricing

Request Information

URI Parameters

None.

Body Parameters

QuoteInputs
NameDescriptionTypeAdditional information
oQuoteSaveInputs

QuoteSaveInputs

None.

Request Formats

application/json, text/json

Sample:
{
  "oQuoteSaveInputs": {
    "intUserId": 1,
    "intUAL": 2,
    "strProjectName": "sample string 3",
    "intIsSaved": 4,
    "intQuoteId": 5,
    "intJobId": 6,
    "intRevisionNo": 7,
    "strCustomerPO": "sample string 8",
    "intQuoteStageId": 9,
    "intFOBPointId": 10,
    "strCreatedDate": "sample string 11",
    "strRevisedDate": "sample string 12",
    "strValidDate": "sample string 13",
    "intCountryId": 14,
    "dblCurrencyRate": 15.1,
    "dblShippingFactor": 16.1,
    "intShippingTypeId": 17,
    "dblDiscountFactor": 18.1,
    "intDiscountTypeId": 19,
    "dblPriceAllUnits": 20.1,
    "dblPriceMisc": 21.1,
    "dblPriceShipping": 22.1,
    "dblPriceSubtotal": 23.1,
    "dblPriceDiscount": 24.1,
    "dblPriceFinalTotal": 25.1,
    "intIsCalcFinalPrice": 26
  }
}

application/xml, text/xml

Sample:
<QuoteInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oxygen8SelectorApi.Models">
  <oQuoteSaveInputs>
    <dblCurrencyRate>15.1</dblCurrencyRate>
    <dblDiscountFactor>18.1</dblDiscountFactor>
    <dblPriceAllUnits>20.1</dblPriceAllUnits>
    <dblPriceDiscount>24.1</dblPriceDiscount>
    <dblPriceFinalTotal>25.1</dblPriceFinalTotal>
    <dblPriceMisc>21.1</dblPriceMisc>
    <dblPriceShipping>22.1</dblPriceShipping>
    <dblPriceSubtotal>23.1</dblPriceSubtotal>
    <dblShippingFactor>16.1</dblShippingFactor>
    <intCountryId>14</intCountryId>
    <intDiscountTypeId>19</intDiscountTypeId>
    <intFOBPointId>10</intFOBPointId>
    <intIsCalcFinalPrice>26</intIsCalcFinalPrice>
    <intIsSaved>4</intIsSaved>
    <intJobId>6</intJobId>
    <intQuoteId>5</intQuoteId>
    <intQuoteStageId>9</intQuoteStageId>
    <intRevisionNo>7</intRevisionNo>
    <intShippingTypeId>17</intShippingTypeId>
    <intUAL>2</intUAL>
    <intUserId>1</intUserId>
    <strCreatedDate>sample string 11</strCreatedDate>
    <strCustomerPO>sample string 8</strCustomerPO>
    <strProjectName>sample string 3</strProjectName>
    <strRevisedDate>sample string 12</strRevisedDate>
    <strValidDate>sample string 13</strValidDate>
  </oQuoteSaveInputs>
</QuoteInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>