GET api/Insurance/GetProspectiveInsuranceDetails?userId={userId}&membershipAddonSegmentIds={membershipAddonSegmentIds}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

membershipAddonSegmentIds

string

Required

Body Parameters

None.

Response Information

Resource Description

ProspectiveInsuranceResponseModel
NameDescriptionTypeAdditional information
ProductName

string

None.

ProductAmount

decimal number

None.

TotalAmount

decimal number

None.

PriceBreakdown

Collection of PriceResponseModel

None.

PaymentPlan

Collection of PaymentPlanResponseModel

None.

BaseInstalmentAmountString

string

None.

FinalAmountToBePaid

decimal number

None.

Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "ProductName": "sample string 1",
  "ProductAmount": 1.0,
  "TotalAmount": 2.0,
  "PriceBreakdown": [
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Id": "sample string 3"
    },
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Id": "sample string 3"
    }
  ],
  "PaymentPlan": [
    {
      "Amount": 1.0,
      "PaymentDate": "2024-11-29T09:44:39.6545046+11:00"
    },
    {
      "Amount": 1.0,
      "PaymentDate": "2024-11-29T09:44:39.6545046+11:00"
    }
  ],
  "BaseInstalmentAmountString": "sample string 3",
  "FinalAmountToBePaid": 1.0,
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ProspectiveInsuranceResponseModel 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>
  <BaseInstalmentAmountString>sample string 3</BaseInstalmentAmountString>
  <FinalAmountToBePaid>1</FinalAmountToBePaid>
  <PaymentPlan>
    <PaymentPlanResponseModel>
      <Amount>1</Amount>
      <PaymentDate>2024-11-29T09:44:39.6545046+11:00</PaymentDate>
    </PaymentPlanResponseModel>
    <PaymentPlanResponseModel>
      <Amount>1</Amount>
      <PaymentDate>2024-11-29T09:44:39.6545046+11:00</PaymentDate>
    </PaymentPlanResponseModel>
  </PaymentPlan>
  <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>
  <ProductAmount>1</ProductAmount>
  <ProductName>sample string 1</ProductName>
  <TotalAmount>2</TotalAmount>
</ProspectiveInsuranceResponseModel>