PUT api/Product?policyId={policyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

integer

Required

Body Parameters

ReinstateProductModel
NameDescriptionTypeAdditional information
PersonBankAccountId

integer

None.

AccountHolder

string

None.

BankId

integer

None.

AccountNumber

string

None.

AccountTypeId

integer

None.

UpdateBankAccount

boolean

None.

PreferredNextPremiumDt

date

None.

LifeCoverData

LifeCoverDataModel

None.

Request Formats

application/json, text/json

Sample:
{
  "personBankAccountId": 1,
  "accountHolder": "sample string 2",
  "bankId": 1,
  "accountNumber": "sample string 3",
  "accountTypeId": 1,
  "updateBankAccount": true,
  "preferredNextPremiumDt": "2025-12-06T06:51:27.9520293+02:00",
  "lifeCoverData": {
    "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:
<ReinstateProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <AccountHolder>sample string 2</AccountHolder>
  <AccountNumber>sample string 3</AccountNumber>
  <AccountTypeId>1</AccountTypeId>
  <BankId>1</BankId>
  <LifeCoverData>
    <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>
  </LifeCoverData>
  <PersonBankAccountId>1</PersonBankAccountId>
  <PreferredNextPremiumDt>2025-12-06T06:51:27.9520293+02:00</PreferredNextPremiumDt>
  <UpdateBankAccount>true</UpdateBankAccount>
</ReinstateProductModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReinstateProductModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.