POST api/RenewalsProposal/GetProposalProducts
To Get Product Based on Area and category
Request Information
URI Parameters
None.
Body Parameters
AreaProductCategoryRequestName | Description | Type | Additional information |
---|---|---|---|
AreaId |
Referance for areacomponent id |
integer |
None. |
portalCategoryId |
Referance for product category |
integer |
None. |
Age |
Minimum Age for a particular product |
integer |
None. |
SpouseAge |
Minimum Age for a particular product |
integer |
None. |
CoverageDays |
Coverage days of a product |
integer |
None. |
ChildAge |
Child Age |
integer |
None. |
PartnerAge |
Partner Age |
integer |
None. |
OtherDependentAge |
Other Dependent Age |
integer |
None. |
IsShortTerm | boolean |
None. |
|
dynamicQuestions | Collection of DynamicQuestions |
None. |
Request Formats
application/json, text/json
Sample:
{ "AreaId": 1, "portalCategoryId": 1, "Age": 2, "SpouseAge": 3, "CoverageDays": 4, "ChildAge": 5, "PartnerAge": 6, "OtherDependentAge": 7, "IsShortTerm": true, "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" } ] }
application/xml, text/xml
Sample:
<AreaProductCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Areas.Renewals.Models"> <Age>2</Age> <AreaId>1</AreaId> <ChildAge>5</ChildAge> <CoverageDays>4</CoverageDays> <IsShortTerm>true</IsShortTerm> <OtherDependentAge>7</OtherDependentAge> <PartnerAge>6</PartnerAge> <SpouseAge>3</SpouseAge> <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> </AreaProductCategoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |