POST api/CcLead/GetCalculatedPremium
Request Information
URI Parameters
None.
Body Parameters
CcLeadPremiumCalculationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| HouseHoldId | string |
None. |
|
| PolicyId | string |
None. |
|
| IsMyLead | boolean |
None. |
|
| IsAssociate | boolean |
None. |
|
| CheckedPolicies | Collection of PolicyTypeDTO |
None. |
|
| AssociatePolicies | Collection of AssociatedPolicyDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"HouseHoldId": "sample string 1",
"PolicyId": "sample string 2",
"IsMyLead": true,
"IsAssociate": true,
"CheckedPolicies": [
{
"CallTypeId": 1,
"IsAssignedToMe": true,
"IsResolved": true,
"PolicyId": "sample string 3"
},
{
"CallTypeId": 1,
"IsAssignedToMe": true,
"IsResolved": true,
"PolicyId": "sample string 3"
}
],
"AssociatePolicies": [
{
"Loc": "sample string 1",
"PolicyNumber": "sample string 2",
"CcLeadId": 1,
"CallTypeId": 1,
"CallTypeString": "CA-ADB",
"Name": "sample string 3",
"Age": 1,
"AddOnEligibility": true,
"EligibleForAP": true,
"IsSelected": true,
"IsAssignedToMe": true,
"IsResolved": true,
"IsCrossMatchedWithLead": true
},
{
"Loc": "sample string 1",
"PolicyNumber": "sample string 2",
"CcLeadId": 1,
"CallTypeId": 1,
"CallTypeString": "CA-ADB",
"Name": "sample string 3",
"Age": 1,
"AddOnEligibility": true,
"EligibleForAP": true,
"IsSelected": true,
"IsAssignedToMe": true,
"IsResolved": true,
"IsCrossMatchedWithLead": true
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CalculatedPremiumDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CallTypeId | integer |
None. |
|
| ShowFirst | boolean |
None. |
|
| IndividualWeekly | decimal number |
None. |
|
| IndividualMonthly | decimal number |
None. |
|
| IndividualAnnual | decimal number |
None. |
|
| FamilyWeekly | decimal number |
None. |
|
| FamilyMonthly | decimal number |
None. |
|
| FamilyAnnual | decimal number |
None. |
|
| IsNotValidPremium | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CallTypeId": 1,
"ShowFirst": true,
"IndividualWeekly": 2.0,
"IndividualMonthly": 3.0,
"IndividualAnnual": 4.0,
"FamilyWeekly": 5.0,
"FamilyMonthly": 6.0,
"FamilyAnnual": 7.0,
"IsNotValidPremium": false
},
{
"CallTypeId": 1,
"ShowFirst": true,
"IndividualWeekly": 2.0,
"IndividualMonthly": 3.0,
"IndividualAnnual": 4.0,
"FamilyWeekly": 5.0,
"FamilyMonthly": 6.0,
"FamilyAnnual": 7.0,
"IsNotValidPremium": false
}
]