PUT api/product/change-life-cover?policyId={policyId}&coverAmount={coverAmount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

integer

Required

coverAmount

decimal number

Required

Body Parameters

ProductModel
NameDescriptionTypeAdditional information
ProductTypeId

integer

None.

PolicyPlanId

integer

None.

Amount

decimal number

None.

ProductName

string

None.

Description

string

None.

Price

decimal number

None.

InvestmentAmount

decimal number

None.

VoucherAmount

decimal number

None.

IsSelected

boolean

None.

SelectedAccountType

integer

None.

Order

integer

None.

VideoUrl

string

None.

PaymentDay

integer

None.

Vehicle

VehicleDetailsModel

None.

LifeCoverData

LifeCoverDataModel

None.

DriversLicence

DriversLicenceModel

None.

PolicyPlans

Collection of PolicyPlanModel

None.

AccountTypes

Collection of AccountTypeModel

None.

Dependents

Collection of DependentModel

None.

Creditors

Collection of CreditorModel

None.

AdditionalCoveredPersons

Collection of AdditionalCoveredPersonModel

None.

FailedPremiums

Collection of FailedPremiumModel

None.

Request Formats

application/json, text/json

Sample:
{
  "productTypeId": 1,
  "policyPlanId": 1,
  "amount": 1.0,
  "productName": "sample string 2",
  "description": "sample string 3",
  "price": 4.0,
  "investmentAmount": 5.0,
  "voucherAmount": 6.0,
  "isSelected": true,
  "selectedAccountType": 8,
  "order": 9,
  "videoUrl": "sample string 10",
  "paymentDay": 11,
  "vehicle": {
    "productTypeId": 1,
    "vehicleMake": "sample string 1",
    "vehicleModel": "sample string 2",
    "registrationNo": "sample string 3",
    "odometerReading": 4,
    "registrationYear": 5,
    "vinNo": "sample string 6",
    "purchaseYear": 1,
    "licenceDiskExpiryDt": "sample string 7"
  },
  "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"
  },
  "driversLicence": {
    "policyId": 1,
    "driverLicenceNo": "sample string 2",
    "driverLicenceExpiryDt": "sample string 3",
    "driverLicenceTypeCode": "sample string 4"
  },
  "policyPlans": [
    {
      "policyPlanId": 1,
      "description": "sample string 2",
      "price": 3.0
    },
    {
      "policyPlanId": 1,
      "description": "sample string 2",
      "price": 3.0
    }
  ],
  "accountTypes": [
    {
      "accountTypeId": 1,
      "description": "sample string 2",
      "highlights": [
        "sample string 1",
        "sample string 2"
      ],
      "selectedPlan": true,
      "contributions": [
        1,
        2
      ]
    },
    {
      "accountTypeId": 1,
      "description": "sample string 2",
      "highlights": [
        "sample string 1",
        "sample string 2"
      ],
      "selectedPlan": true,
      "contributions": [
        1,
        2
      ]
    }
  ],
  "dependents": [
    {
      "policyDependentId": 1,
      "policyId": 1,
      "firstName": "sample string 2",
      "middleNames": "sample string 3",
      "surname": "sample string 4",
      "relationshipId": 1,
      "relationshipToPolicyHolder": "sample string 5",
      "identificationTypeId": 1,
      "identificationNo": "sample string 6",
      "dateOfBirth": "2025-12-06T06:55:28.6924648+02:00",
      "genderId": 1,
      "contactNo": "sample string 7",
      "concurrencyCheck": 8,
      "proofOfRelationshipSubmitted": true,
      "proofOfRelationshipDocuments": [
        "QEA=",
        "QEA="
      ],
      "document": {
        "importDocument": true,
        "documentTypeId": 1,
        "tableId": 1,
        "key": 1,
        "fileName": "sample string 2",
        "fileData": "QEA="
      },
      "doctorName": "sample string 10",
      "doctorContactNo": "sample string 11",
      "policyDependentOverAgeOptionId": 1,
      "updateDt": "2025-12-06T06:55:28.6924648+02:00"
    },
    {
      "policyDependentId": 1,
      "policyId": 1,
      "firstName": "sample string 2",
      "middleNames": "sample string 3",
      "surname": "sample string 4",
      "relationshipId": 1,
      "relationshipToPolicyHolder": "sample string 5",
      "identificationTypeId": 1,
      "identificationNo": "sample string 6",
      "dateOfBirth": "2025-12-06T06:55:28.6924648+02:00",
      "genderId": 1,
      "contactNo": "sample string 7",
      "concurrencyCheck": 8,
      "proofOfRelationshipSubmitted": true,
      "proofOfRelationshipDocuments": [
        "QEA=",
        "QEA="
      ],
      "document": {
        "importDocument": true,
        "documentTypeId": 1,
        "tableId": 1,
        "key": 1,
        "fileName": "sample string 2",
        "fileData": "QEA="
      },
      "doctorName": "sample string 10",
      "doctorContactNo": "sample string 11",
      "policyDependentOverAgeOptionId": 1,
      "updateDt": "2025-12-06T06:55:28.6924648+02:00"
    }
  ],
  "creditors": [
    {
      "policyCreditorId": 1,
      "policyId": 1,
      "name": "sample string 2",
      "amountOwed": 1.0,
      "concurrencyCheck": 3,
      "updateDt": "2025-12-06T06:55:28.6924648+02:00"
    },
    {
      "policyCreditorId": 1,
      "policyId": 1,
      "name": "sample string 2",
      "amountOwed": 1.0,
      "concurrencyCheck": 3,
      "updateDt": "2025-12-06T06:55:28.6924648+02:00"
    }
  ],
  "additionalCoveredPersons": [
    {
      "policyBenefitAdditionalCoveredPersonId": 1,
      "policyBenefitId": 1,
      "policyId": 1,
      "firstName": "sample string 2",
      "surname": "sample string 3",
      "relationshipId": 1,
      "relationshipToPolicyHolder": "sample string 4",
      "identificationTypeId": 1,
      "idNumber": "sample string 5",
      "contactNo": "sample string 6",
      "policyBenefitType": "sample string 7",
      "vehicleMake": "sample string 8",
      "vehicleModel": "sample string 9",
      "registrationNo": "sample string 10",
      "odometerReading": 1,
      "registrationYear": 1,
      "genderId": 1,
      "dateOfBirth": "2025-12-06T06:55:28.6924648+02:00",
      "premium": 1.0,
      "document": {
        "importDocument": true,
        "documentTypeId": 1,
        "tableId": 1,
        "key": 1,
        "fileName": "sample string 2",
        "fileData": "QEA="
      }
    },
    {
      "policyBenefitAdditionalCoveredPersonId": 1,
      "policyBenefitId": 1,
      "policyId": 1,
      "firstName": "sample string 2",
      "surname": "sample string 3",
      "relationshipId": 1,
      "relationshipToPolicyHolder": "sample string 4",
      "identificationTypeId": 1,
      "idNumber": "sample string 5",
      "contactNo": "sample string 6",
      "policyBenefitType": "sample string 7",
      "vehicleMake": "sample string 8",
      "vehicleModel": "sample string 9",
      "registrationNo": "sample string 10",
      "odometerReading": 1,
      "registrationYear": 1,
      "genderId": 1,
      "dateOfBirth": "2025-12-06T06:55:28.6924648+02:00",
      "premium": 1.0,
      "document": {
        "importDocument": true,
        "documentTypeId": 1,
        "tableId": 1,
        "key": 1,
        "fileName": "sample string 2",
        "fileData": "QEA="
      }
    }
  ],
  "failedPremiums": [
    {
      "premiumId": 1,
      "effectiveMonth": "2025-12-06T06:55:28.6924648+02:00",
      "paymentDueDt": "2025-12-06T06:55:28.6924648+02:00",
      "isPaid": true,
      "lastDebitOrderDt": "2025-12-06T06:55:28.6924648+02:00",
      "rdReason": "sample string 6",
      "canReraise": true
    },
    {
      "premiumId": 1,
      "effectiveMonth": "2025-12-06T06:55:28.6924648+02:00",
      "paymentDueDt": "2025-12-06T06:55:28.6924648+02:00",
      "isPaid": true,
      "lastDebitOrderDt": "2025-12-06T06:55:28.6924648+02:00",
      "rdReason": "sample string 6",
      "canReraise": true
    }
  ]
}

application/xml, text/xml

Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <AccountTypes>
    <AccountTypeModel>
      <AccountTypeId>1</AccountTypeId>
      <Contributions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </Contributions>
      <Description>sample string 2</Description>
      <Highlights xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Highlights>
      <SelectedPlan>true</SelectedPlan>
    </AccountTypeModel>
    <AccountTypeModel>
      <AccountTypeId>1</AccountTypeId>
      <Contributions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </Contributions>
      <Description>sample string 2</Description>
      <Highlights xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Highlights>
      <SelectedPlan>true</SelectedPlan>
    </AccountTypeModel>
  </AccountTypes>
  <AdditionalCoveredPersons>
    <AdditionalCoveredPersonModel>
      <ContactNo>sample string 6</ContactNo>
      <DateOfBirth>2025-12-06T06:55:28.6924648+02:00</DateOfBirth>
      <Document>
        <DocumentTypeId>1</DocumentTypeId>
        <FileData>QEA=</FileData>
        <FileName>sample string 2</FileName>
        <ImportDocument>true</ImportDocument>
        <Key>1</Key>
        <TableId>1</TableId>
      </Document>
      <FirstName>sample string 2</FirstName>
      <GenderId>1</GenderId>
      <IdNumber>sample string 5</IdNumber>
      <IdentificationTypeId>1</IdentificationTypeId>
      <OdometerReading>1</OdometerReading>
      <PolicyBenefitAdditionalCoveredPersonId>1</PolicyBenefitAdditionalCoveredPersonId>
      <PolicyBenefitId>1</PolicyBenefitId>
      <PolicyBenefitType>sample string 7</PolicyBenefitType>
      <PolicyId>1</PolicyId>
      <Premium>1</Premium>
      <RegistrationNo>sample string 10</RegistrationNo>
      <RegistrationYear>1</RegistrationYear>
      <RelationshipId>1</RelationshipId>
      <RelationshipToPolicyHolder>sample string 4</RelationshipToPolicyHolder>
      <Surname>sample string 3</Surname>
      <VehicleMake>sample string 8</VehicleMake>
      <VehicleModel>sample string 9</VehicleModel>
    </AdditionalCoveredPersonModel>
    <AdditionalCoveredPersonModel>
      <ContactNo>sample string 6</ContactNo>
      <DateOfBirth>2025-12-06T06:55:28.6924648+02:00</DateOfBirth>
      <Document>
        <DocumentTypeId>1</DocumentTypeId>
        <FileData>QEA=</FileData>
        <FileName>sample string 2</FileName>
        <ImportDocument>true</ImportDocument>
        <Key>1</Key>
        <TableId>1</TableId>
      </Document>
      <FirstName>sample string 2</FirstName>
      <GenderId>1</GenderId>
      <IdNumber>sample string 5</IdNumber>
      <IdentificationTypeId>1</IdentificationTypeId>
      <OdometerReading>1</OdometerReading>
      <PolicyBenefitAdditionalCoveredPersonId>1</PolicyBenefitAdditionalCoveredPersonId>
      <PolicyBenefitId>1</PolicyBenefitId>
      <PolicyBenefitType>sample string 7</PolicyBenefitType>
      <PolicyId>1</PolicyId>
      <Premium>1</Premium>
      <RegistrationNo>sample string 10</RegistrationNo>
      <RegistrationYear>1</RegistrationYear>
      <RelationshipId>1</RelationshipId>
      <RelationshipToPolicyHolder>sample string 4</RelationshipToPolicyHolder>
      <Surname>sample string 3</Surname>
      <VehicleMake>sample string 8</VehicleMake>
      <VehicleModel>sample string 9</VehicleModel>
    </AdditionalCoveredPersonModel>
  </AdditionalCoveredPersons>
  <Amount>1</Amount>
  <Creditors>
    <CreditorModel>
      <AmountOwed>1</AmountOwed>
      <ConcurrencyCheck>3</ConcurrencyCheck>
      <Name>sample string 2</Name>
      <PolicyCreditorId>1</PolicyCreditorId>
      <PolicyId>1</PolicyId>
      <UpdateDt>2025-12-06T06:55:28.6924648+02:00</UpdateDt>
    </CreditorModel>
    <CreditorModel>
      <AmountOwed>1</AmountOwed>
      <ConcurrencyCheck>3</ConcurrencyCheck>
      <Name>sample string 2</Name>
      <PolicyCreditorId>1</PolicyCreditorId>
      <PolicyId>1</PolicyId>
      <UpdateDt>2025-12-06T06:55:28.6924648+02:00</UpdateDt>
    </CreditorModel>
  </Creditors>
  <Dependents>
    <DependentModel>
      <ConcurrencyCheck>8</ConcurrencyCheck>
      <ContactNo>sample string 7</ContactNo>
      <DateOfBirth>2025-12-06T06:55:28.6924648+02:00</DateOfBirth>
      <DoctorContactNo>sample string 11</DoctorContactNo>
      <DoctorName>sample string 10</DoctorName>
      <Document>
        <DocumentTypeId>1</DocumentTypeId>
        <FileData>QEA=</FileData>
        <FileName>sample string 2</FileName>
        <ImportDocument>true</ImportDocument>
        <Key>1</Key>
        <TableId>1</TableId>
      </Document>
      <FirstName>sample string 2</FirstName>
      <GenderId>1</GenderId>
      <IdentificationNo>sample string 6</IdentificationNo>
      <IdentificationTypeId>1</IdentificationTypeId>
      <MiddleNames>sample string 3</MiddleNames>
      <PolicyDependentId>1</PolicyDependentId>
      <PolicyDependentOverAgeOptionId>1</PolicyDependentOverAgeOptionId>
      <PolicyId>1</PolicyId>
      <ProofOfRelationshipDocuments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:base64Binary>QEA=</d4p1:base64Binary>
        <d4p1:base64Binary>QEA=</d4p1:base64Binary>
      </ProofOfRelationshipDocuments>
      <ProofOfRelationshipSubmitted>true</ProofOfRelationshipSubmitted>
      <RelationshipId>1</RelationshipId>
      <RelationshipToPolicyHolder>sample string 5</RelationshipToPolicyHolder>
      <Surname>sample string 4</Surname>
      <UpdateDt>2025-12-06T06:55:28.6924648+02:00</UpdateDt>
    </DependentModel>
    <DependentModel>
      <ConcurrencyCheck>8</ConcurrencyCheck>
      <ContactNo>sample string 7</ContactNo>
      <DateOfBirth>2025-12-06T06:55:28.6924648+02:00</DateOfBirth>
      <DoctorContactNo>sample string 11</DoctorContactNo>
      <DoctorName>sample string 10</DoctorName>
      <Document>
        <DocumentTypeId>1</DocumentTypeId>
        <FileData>QEA=</FileData>
        <FileName>sample string 2</FileName>
        <ImportDocument>true</ImportDocument>
        <Key>1</Key>
        <TableId>1</TableId>
      </Document>
      <FirstName>sample string 2</FirstName>
      <GenderId>1</GenderId>
      <IdentificationNo>sample string 6</IdentificationNo>
      <IdentificationTypeId>1</IdentificationTypeId>
      <MiddleNames>sample string 3</MiddleNames>
      <PolicyDependentId>1</PolicyDependentId>
      <PolicyDependentOverAgeOptionId>1</PolicyDependentOverAgeOptionId>
      <PolicyId>1</PolicyId>
      <ProofOfRelationshipDocuments xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:base64Binary>QEA=</d4p1:base64Binary>
        <d4p1:base64Binary>QEA=</d4p1:base64Binary>
      </ProofOfRelationshipDocuments>
      <ProofOfRelationshipSubmitted>true</ProofOfRelationshipSubmitted>
      <RelationshipId>1</RelationshipId>
      <RelationshipToPolicyHolder>sample string 5</RelationshipToPolicyHolder>
      <Surname>sample string 4</Surname>
      <UpdateDt>2025-12-06T06:55:28.6924648+02:00</UpdateDt>
    </DependentModel>
  </Dependents>
  <Description>sample string 3</Description>
  <DriversLicence>
    <DriverLicenceExpiryDt>sample string 3</DriverLicenceExpiryDt>
    <DriverLicenceNo>sample string 2</DriverLicenceNo>
    <DriverLicenceTypeCode>sample string 4</DriverLicenceTypeCode>
    <PolicyId>1</PolicyId>
  </DriversLicence>
  <FailedPremiums>
    <FailedPremiumModel>
      <CanReraise>true</CanReraise>
      <EffectiveMonth>2025-12-06T06:55:28.6924648+02:00</EffectiveMonth>
      <IsPaid>true</IsPaid>
      <LastDebitOrderDt>2025-12-06T06:55:28.6924648+02:00</LastDebitOrderDt>
      <PaymentDueDt>2025-12-06T06:55:28.6924648+02:00</PaymentDueDt>
      <PremiumId>1</PremiumId>
      <RdReason>sample string 6</RdReason>
    </FailedPremiumModel>
    <FailedPremiumModel>
      <CanReraise>true</CanReraise>
      <EffectiveMonth>2025-12-06T06:55:28.6924648+02:00</EffectiveMonth>
      <IsPaid>true</IsPaid>
      <LastDebitOrderDt>2025-12-06T06:55:28.6924648+02:00</LastDebitOrderDt>
      <PaymentDueDt>2025-12-06T06:55:28.6924648+02:00</PaymentDueDt>
      <PremiumId>1</PremiumId>
      <RdReason>sample string 6</RdReason>
    </FailedPremiumModel>
  </FailedPremiums>
  <InvestmentAmount>5</InvestmentAmount>
  <IsSelected>true</IsSelected>
  <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>
  <Order>9</Order>
  <PaymentDay>11</PaymentDay>
  <PolicyPlanId>1</PolicyPlanId>
  <PolicyPlans>
    <PolicyPlanModel>
      <Description>sample string 2</Description>
      <PolicyPlanId>1</PolicyPlanId>
      <Price>3</Price>
    </PolicyPlanModel>
    <PolicyPlanModel>
      <Description>sample string 2</Description>
      <PolicyPlanId>1</PolicyPlanId>
      <Price>3</Price>
    </PolicyPlanModel>
  </PolicyPlans>
  <Price>4</Price>
  <ProductName>sample string 2</ProductName>
  <ProductTypeId>1</ProductTypeId>
  <SelectedAccountType>8</SelectedAccountType>
  <Vehicle>
    <LicenceDiskExpiryDt>sample string 7</LicenceDiskExpiryDt>
    <OdometerReading>4</OdometerReading>
    <ProductTypeId>1</ProductTypeId>
    <PurchaseYear>1</PurchaseYear>
    <RegistrationNo>sample string 3</RegistrationNo>
    <RegistrationYear>5</RegistrationYear>
    <VehicleMake>sample string 1</VehicleMake>
    <VehicleModel>sample string 2</VehicleModel>
    <VinNo>sample string 6</VinNo>
  </Vehicle>
  <VideoUrl>sample string 10</VideoUrl>
  <VoucherAmount>6</VoucherAmount>
</ProductModel>

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 'ProductModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.