POST api/RatesManagement/CalculateRateSetItemSummaryData/{quoteId}/{serviceFeeValue}/{serviceFeeValueType}/{payRate}

Use to fetch Quote rate calculation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
quoteId

integer

Required

serviceFeeValue

decimal number

Required

serviceFeeValueType

string

Required

payRate

decimal number

Required

Body Parameters

Collection of ParameterValueDataQuotes
NameDescriptionTypeAdditional information
ParameterId

string

None.

ParameterName

string

None.

ParameterType

string

None.

ProductValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ParameterId": "sample string 1",
    "ParameterName": "sample string 2",
    "ParameterType": "sample string 3",
    "ProductValue": "sample string 4"
  },
  {
    "ParameterId": "sample string 1",
    "ParameterName": "sample string 2",
    "ParameterType": "sample string 3",
    "ProductValue": "sample string 4"
  }
]

text/xml

Sample:
<ArrayOfParameterValueDataQuotes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MFront.RatesManagementService">
  <ParameterValueDataQuotes>
    <ParameterId>sample string 1</ParameterId>
    <ParameterName>sample string 2</ParameterName>
    <ParameterType>sample string 3</ParameterType>
    <ProductValue>sample string 4</ProductValue>
  </ParameterValueDataQuotes>
  <ParameterValueDataQuotes>
    <ParameterId>sample string 1</ParameterId>
    <ParameterName>sample string 2</ParameterName>
    <ParameterType>sample string 3</ParameterType>
    <ProductValue>sample string 4</ProductValue>
  </ParameterValueDataQuotes>
</ArrayOfParameterValueDataQuotes>

multipart/form-data

Sample:
<ArrayOfParameterValueDataQuotes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MFront.RatesManagementService"><ParameterValueDataQuotes><ParameterId>sample string 1</ParameterId><ParameterName>sample string 2</ParameterName><ParameterType>sample string 3</ParameterType><ProductValue>sample string 4</ProductValue></ParameterValueDataQuotes><ParameterValueDataQuotes><ParameterId>sample string 1</ParameterId><ParameterName>sample string 2</ParameterName><ParameterType>sample string 3</ParameterType><ProductValue>sample string 4</ProductValue></ParameterValueDataQuotes></ArrayOfParameterValueDataQuotes>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RateSetItemSummaryData
NameDescriptionTypeAdditional information
ApplicableProduct

string

None.

AwardBaseRate

decimal number

None.

CasualLoadingPercentage

decimal number

None.

ChargeRate

decimal number

None.

GPPercentage

decimal number

None.

GPValue

decimal number

None.

Margin

decimal number

None.

Markup

decimal number

None.

OnCostPercentage

decimal number

None.

PayCode

string

None.

PayCodeDescription

string

None.

PayRate

decimal number

None.

ProductCategory

string

None.

ServiceFee

decimal number

None.

ServiceFeePercentage

decimal number

None.

TotalOnCost

decimal number

None.

TotalOnCostExclSuper

decimal number

None.

listOfApplicableProductValue

Collection of ApplicableProductValue

None.

Response Formats

application/json, text/json

Sample:
{
  "ApplicableProduct": "sample string 1",
  "AwardBaseRate": 1.0,
  "CasualLoadingPercentage": 1.0,
  "ChargeRate": 2.0,
  "GPPercentage": 3.0,
  "GPValue": 4.0,
  "Margin": 5.0,
  "Markup": 6.0,
  "OnCostPercentage": 7.0,
  "PayCode": "sample string 8",
  "PayCodeDescription": "sample string 9",
  "PayRate": 10.0,
  "ProductCategory": "sample string 11",
  "ServiceFee": 12.0,
  "ServiceFeePercentage": 13.0,
  "TotalOnCost": 14.0,
  "TotalOnCostExclSuper": 15.0,
  "listOfApplicableProductValue": [
    {
      "ProductName": "sample string 1",
      "ProductValue": 2.0,
      "ProductValueType": "sample string 3"
    },
    {
      "ProductName": "sample string 1",
      "ProductValue": 2.0,
      "ProductValueType": "sample string 3"
    }
  ]
}

text/xml

Sample:
<RateSetItemSummaryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MFront.RatesManagementService">
  <ApplicableProduct>sample string 1</ApplicableProduct>
  <AwardBaseRate>1</AwardBaseRate>
  <CasualLoadingPercentage>1</CasualLoadingPercentage>
  <ChargeRate>2</ChargeRate>
  <GPPercentage>3</GPPercentage>
  <GPValue>4</GPValue>
  <Margin>5</Margin>
  <Markup>6</Markup>
  <OnCostPercentage>7</OnCostPercentage>
  <PayCode>sample string 8</PayCode>
  <PayCodeDescription>sample string 9</PayCodeDescription>
  <PayRate>10</PayRate>
  <ProductCategory>sample string 11</ProductCategory>
  <ServiceFee>12</ServiceFee>
  <ServiceFeePercentage>13</ServiceFeePercentage>
  <TotalOnCost>14</TotalOnCost>
  <TotalOnCostExclSuper>15</TotalOnCostExclSuper>
  <listOfApplicableProductValue>
    <ApplicableProductValue>
      <ProductName>sample string 1</ProductName>
      <ProductValue>2</ProductValue>
      <ProductValueType>sample string 3</ProductValueType>
    </ApplicableProductValue>
    <ApplicableProductValue>
      <ProductName>sample string 1</ProductName>
      <ProductValue>2</ProductValue>
      <ProductValueType>sample string 3</ProductValueType>
    </ApplicableProductValue>
  </listOfApplicableProductValue>
</RateSetItemSummaryData>

multipart/form-data

Sample:
<RateSetItemSummaryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MFront.RatesManagementService"><ApplicableProduct>sample string 1</ApplicableProduct><AwardBaseRate>1</AwardBaseRate><CasualLoadingPercentage>1</CasualLoadingPercentage><ChargeRate>2</ChargeRate><GPPercentage>3</GPPercentage><GPValue>4</GPValue><Margin>5</Margin><Markup>6</Markup><OnCostPercentage>7</OnCostPercentage><PayCode>sample string 8</PayCode><PayCodeDescription>sample string 9</PayCodeDescription><PayRate>10</PayRate><ProductCategory>sample string 11</ProductCategory><ServiceFee>12</ServiceFee><ServiceFeePercentage>13</ServiceFeePercentage><TotalOnCost>14</TotalOnCost><TotalOnCostExclSuper>15</TotalOnCostExclSuper><listOfApplicableProductValue><ApplicableProductValue><ProductName>sample string 1</ProductName><ProductValue>2</ProductValue><ProductValueType>sample string 3</ProductValueType></ApplicableProductValue><ApplicableProductValue><ProductName>sample string 1</ProductName><ProductValue>2</ProductValue><ProductValueType>sample string 3</ProductValueType></ApplicableProductValue></listOfApplicableProductValue></RateSetItemSummaryData>