POST api/RenewalsProposal/GetProposalProductBenefits

To Get Product Based on Area and category

Request Information

URI Parameters

None.

Body Parameters

ProductBenefitRequestModel
NameDescriptionTypeAdditional information
benefitRequestList

Collection of ProductBenefitRequest

None.

dynamicQuestions

Collection of DynamicQuestions

None.

portalCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "benefitRequestList": [
    {
      "ProductId": 1,
      "EffectiveDate": "2024-04-27T11:06:42.5348841-07:00",
      "PortalProductId": 3,
      "CoverageAreaName": "sample string 4",
      "OccupationId": 5,
      "TermCoverageBenefitId": 1
    },
    {
      "ProductId": 1,
      "EffectiveDate": "2024-04-27T11:06:42.5348841-07:00",
      "PortalProductId": 3,
      "CoverageAreaName": "sample string 4",
      "OccupationId": 5,
      "TermCoverageBenefitId": 1
    }
  ],
  "dynamicQuestions": [
    {
      "DynamicFieldId": 1,
      "ReferenceText": "sample string 2",
      "Response": "sample string 3",
      "Type": "sample string 4",
      "ResourceKey": "sample string 5"
    },
    {
      "DynamicFieldId": 1,
      "ReferenceText": "sample string 2",
      "Response": "sample string 3",
      "Type": "sample string 4",
      "ResourceKey": "sample string 5"
    }
  ],
  "portalCategoryId": 1
}

application/xml, text/xml

Sample:
<ProductBenefitRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Areas.Renewals.Models">
  <benefitRequestList>
    <ProductBenefitRequest>
      <CoverageAreaName>sample string 4</CoverageAreaName>
      <EffectiveDate>2024-04-27T11:06:42.5348841-07:00</EffectiveDate>
      <OccupationId>5</OccupationId>
      <PortalProductId>3</PortalProductId>
      <ProductId>1</ProductId>
      <TermCoverageBenefitId>1</TermCoverageBenefitId>
    </ProductBenefitRequest>
    <ProductBenefitRequest>
      <CoverageAreaName>sample string 4</CoverageAreaName>
      <EffectiveDate>2024-04-27T11:06:42.5348841-07:00</EffectiveDate>
      <OccupationId>5</OccupationId>
      <PortalProductId>3</PortalProductId>
      <ProductId>1</ProductId>
      <TermCoverageBenefitId>1</TermCoverageBenefitId>
    </ProductBenefitRequest>
  </benefitRequestList>
  <dynamicQuestions>
    <DynamicQuestions>
      <DynamicFieldId>1</DynamicFieldId>
      <ReferenceText>sample string 2</ReferenceText>
      <ResourceKey>sample string 5</ResourceKey>
      <Response>sample string 3</Response>
      <Type>sample string 4</Type>
    </DynamicQuestions>
    <DynamicQuestions>
      <DynamicFieldId>1</DynamicFieldId>
      <ReferenceText>sample string 2</ReferenceText>
      <ResourceKey>sample string 5</ResourceKey>
      <Response>sample string 3</Response>
      <Type>sample string 4</Type>
    </DynamicQuestions>
  </dynamicQuestions>
  <portalCategoryId>1</portalCategoryId>
</ProductBenefitRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.