POST api/premium/save
Request Information
URI Parameters
None.
Body Parameters
SavePremiumRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProposalNo | string |
None. |
|
| PlanCode | integer |
None. |
|
| Age | integer |
None. |
|
| SumAssured | decimal number |
None. |
|
| Term | integer |
None. |
|
| PaymentMode | integer |
None. |
|
| AccidentRider | integer |
None. |
|
| CriticalRider | string |
None. |
|
| Gender | integer |
None. |
|
| DOB | string |
None. |
|
| ChildDOB | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProposalNo": "sample string 1",
"PlanCode": 2,
"Age": 3,
"SumAssured": 4.0,
"Term": 5,
"PaymentMode": 6,
"AccidentRider": 7,
"CriticalRider": "sample string 8",
"Gender": 9,
"DOB": "sample string 10",
"ChildDOB": "sample string 11"
}
application/xml, text/xml
Sample:
<SavePremiumRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bancassurance_API.Models"> <AccidentRider>7</AccidentRider> <Age>3</Age> <ChildDOB>sample string 11</ChildDOB> <CriticalRider>sample string 8</CriticalRider> <DOB>sample string 10</DOB> <Gender>9</Gender> <PaymentMode>6</PaymentMode> <PlanCode>2</PlanCode> <ProposalNo>sample string 1</ProposalNo> <SumAssured>4</SumAssured> <Term>5</Term> </SavePremiumRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.