POST api/Quote/SaveProposal
Request Information
URI Parameters
None.
Body Parameters
SelectProposal| Name | Description | Type | Additional information |
|---|---|---|---|
| Enquiryno | string |
None. |
|
| CompanyID | string |
None. |
|
| PlanID | string |
None. |
|
| PolicyPeriod | string |
None. |
|
| addonsSelecteds | Collection of AddonsSelected |
None. |
|
| discountApplieds | Collection of DiscountApplied |
None. |
|
| otherPlansSelecteds | Collection of OtherPlansSelected |
None. |
Request Formats
application/json, text/json
Sample:
{
"Enquiryno": "sample string 1",
"CompanyID": "sample string 2",
"PlanID": "sample string 3",
"PolicyPeriod": "sample string 4",
"addonsSelecteds": [
{
"AddonID": 1
},
{
"AddonID": 1
}
],
"discountApplieds": [
{
"DiscountID": 1
},
{
"DiscountID": 1
}
],
"otherPlansSelecteds": [
{
"OthersPlanID": 1
},
{
"OthersPlanID": 1
}
]
}
application/xml, text/xml
Sample:
<SelectProposal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InsuranceDataContract">
<CompanyID>sample string 2</CompanyID>
<Enquiryno>sample string 1</Enquiryno>
<PlanID>sample string 3</PlanID>
<PolicyPeriod>sample string 4</PolicyPeriod>
<addonsSelecteds>
<AddonsSelected>
<AddonID>1</AddonID>
</AddonsSelected>
<AddonsSelected>
<AddonID>1</AddonID>
</AddonsSelected>
</addonsSelecteds>
<discountApplieds>
<DiscountApplied>
<DiscountID>1</DiscountID>
</DiscountApplied>
<DiscountApplied>
<DiscountID>1</DiscountID>
</DiscountApplied>
</discountApplieds>
<otherPlansSelecteds>
<OtherPlansSelected>
<OthersPlanID>1</OthersPlanID>
</OtherPlansSelected>
<OtherPlansSelected>
<OthersPlanID>1</OthersPlanID>
</OtherPlansSelected>
</otherPlansSelecteds>
</SelectProposal>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |