PUT api/ReinstateWE?policyId={policyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyId | integer |
Required |
Body Parameters
LifeCoverDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OccupationId | integer |
None. |
|
| HazardousOccupation | boolean |
None. |
|
| DangerousTravel | boolean |
None. |
|
| HazardousActivities | boolean |
None. |
|
| PreviousDeclinedInsurance | boolean |
None. |
|
| HereditaryDisease | boolean |
None. |
|
| HeartProblems | boolean |
None. |
|
| RespiratoryProblems | boolean |
None. |
|
| LiverProblems | boolean |
None. |
|
| KidneyProblems | boolean |
None. |
|
| MuscularProblems | boolean |
None. |
|
| NervousSystemProblems | boolean |
None. |
|
| BloodProblems | boolean |
None. |
|
| Cancer | boolean |
None. |
|
| MentalHealthDisorders | boolean |
None. |
|
| SeeingDoctorTooSoon | boolean |
None. |
|
| IsSmoker | boolean |
None. |
|
| IsDrugUser | boolean |
None. |
|
| IsHivNegative | boolean |
None. |
|
| Income | decimal number |
None. |
|
| HeightInM | decimal number |
None. |
|
| WeightInKg | decimal number |
None. |
|
| MedicalAttendantDetails | string |
None. |
|
| PreExistingConditions | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"occupationId": 1,
"hazardousOccupation": true,
"dangerousTravel": true,
"hazardousActivities": true,
"previousDeclinedInsurance": true,
"hereditaryDisease": true,
"heartProblems": true,
"respiratoryProblems": true,
"liverProblems": true,
"kidneyProblems": true,
"muscularProblems": true,
"nervousSystemProblems": true,
"bloodProblems": true,
"cancer": true,
"mentalHealthDisorders": true,
"seeingDoctorTooSoon": true,
"isSmoker": true,
"isDrugUser": true,
"isHivNegative": true,
"income": 20.0,
"heightInM": 21.0,
"weightInKg": 22.0,
"medicalAttendantDetails": "sample string 23",
"preExistingConditions": "sample string 24"
}
application/xml, text/xml
Sample:
<LifeCoverDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models"> <BloodProblems>true</BloodProblems> <Cancer>true</Cancer> <DangerousTravel>true</DangerousTravel> <HazardousActivities>true</HazardousActivities> <HazardousOccupation>true</HazardousOccupation> <HeartProblems>true</HeartProblems> <HeightInM>21</HeightInM> <HereditaryDisease>true</HereditaryDisease> <Income>20</Income> <IsDrugUser>true</IsDrugUser> <IsHivNegative>true</IsHivNegative> <IsSmoker>true</IsSmoker> <KidneyProblems>true</KidneyProblems> <LiverProblems>true</LiverProblems> <MedicalAttendantDetails>sample string 23</MedicalAttendantDetails> <MentalHealthDisorders>true</MentalHealthDisorders> <MuscularProblems>true</MuscularProblems> <NervousSystemProblems>true</NervousSystemProblems> <OccupationId>1</OccupationId> <PreExistingConditions>sample string 24</PreExistingConditions> <PreviousDeclinedInsurance>true</PreviousDeclinedInsurance> <RespiratoryProblems>true</RespiratoryProblems> <SeeingDoctorTooSoon>true</SeeingDoctorTooSoon> <WeightInKg>22</WeightInKg> </LifeCoverDataModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.