GET api/Product/GetProspectiveProductDetails?cartSessionId={cartSessionId}&shippingType={shippingType}&discountCode={discountCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cartSessionId

globally unique identifier

Required

shippingType

string

Default value is

discountCode

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ProspectiveProductResponseModel
NameDescriptionTypeAdditional information
FinalAmountToBePaid

decimal number

None.

NextAmountToBePaid

decimal number

None.

PriceBreakdown

Collection of PriceResponseModel

None.

Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "FinalAmountToBePaid": 1.0,
  "NextAmountToBePaid": 1.0,
  "PriceBreakdown": [
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Id": "sample string 3"
    },
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Id": "sample string 3"
    }
  ],
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ProspectiveProductResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
  <FinalAmountToBePaid>1</FinalAmountToBePaid>
  <NextAmountToBePaid>1</NextAmountToBePaid>
  <PriceBreakdown>
    <PriceResponseModel>
      <Amount>1</Amount>
      <FeeType>sample string 2</FeeType>
      <Id>sample string 3</Id>
    </PriceResponseModel>
    <PriceResponseModel>
      <Amount>1</Amount>
      <FeeType>sample string 2</FeeType>
      <Id>sample string 3</Id>
    </PriceResponseModel>
  </PriceBreakdown>
</ProspectiveProductResponseModel>