PatchQuote - Lease tab
PatchQuote Budgets and Profiles
Each budget can be updated using patchQuote, listed in separate sections below.
If budget does not need changes, leave related bracket out of API.
If budget being removed, only identifier field needs to be passed.
If budget being added or modified, Mandatory column marked 'Yes' for required fields.
Profiles Exc. GST
Maintenance (MAINT)
Include when updating quote's Contracts / Lease Maintenance (MAINT) profile. Visit Maintenance (MAINT) profile page for calculation rules.
Tyres (T)
Include when updating quote's Contracts / Lease Tyres (T) profile. Visit Tyres (T) profile page for calculation rules.
Carbon Emissions Offset (CEO)
Include when updating quote's Contracts / Lease Carbon Emissions Offset profile. Visit Carbon Emissions Offset profile page for calculation rules.
Fuel (F)
Include when updating quote's Contracts / Lease Fuel profile. Visit Fuel profile page for calculation rules.
Comprehensive Insurance (INS)
Include when updating quote's Contracts / Lease Comprehensive Insurance profile. Visit Comprehensive Insurance profile page for calculation rules.
Core Insurance Fields
Policy Owner & Location Fields
Report Only Fields
Insurance Loading Types
Include one, two or three loading types as applicable. List obtained via getInsuranceLoadingTypes API.
Insurance Recalculation Logic
patchQuote always attempts to recalculate Insurance budget except:
If lock_comprehensive_insurance_flag = yes
If patchQuote payload contains lock_comprehensive_insurance_flag = yes
If recalculation resolves to $0.00 annual premium and quote already contains Annual Premium (existing used)
In all other cases, validation rules enforced and may result in error:
{ "validation_messages": { "insurance": { "annual_insurance": { "invalidAmount": "Annual insurance must be greater than 0.00" } } }, "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unprocessable Entity", "status": 422, "detail": "Failed Validation" } Registration & CTP (REG/CTP)
Include when updating quote's Contracts / Lease Registration (REG/CTP) profile. Visit Registration (REG/CTP) profile page for calculation rules.
Roadside Assistance (RSA)
Include when updating quote's Contracts / Lease Roadside Assistance (RSA) profile. Visit Roadside Assistance (RSA) profile page for calculation rules.
Small Damage Repairs (SDR)
When changing Term on quote via patchQuote, Contract Term used to update SDR premium term (months). If no match found, use next match rounding up. Example: Quote Term = 40, use = 48 record.
Loan Termination Insurance (LTI)
Include when updating quote's Contracts / Lease Loan Termination Insurance (LTI) profile. Visit LTI profile page for calculation rules.
Vehicle Maintenance Program (VMP)
Include when updating quote's Contracts / Lease Maintenance Program profile. Visit Maintenance Program profile page for calculation rules.
Inclusions
Excess KM Charge
Note: This section not available via patchQuote yet.
Redundancy Insurance
Walkaway (WALK)
Tyre and Rim Insurance (T&R)
Lease Inclusion Plans
Include when updating one or more Quotes / Lease > Lease Inclusion Plans. Expressed as array [] for multiple plans. Each plan passed as separate bracket {} within array [].
Example structure:
"inclusion_plans": [ { "inclusion_code": "INCL_CODE1", "inclusion_plan_code": "INCL_PLAN1", "included_flag": "yes" }, { "inclusion_code": "INCL_CODE2", "inclusion_plan_code": "INCL_PLAN2", "included_flag": "yes" } ] Lease Inclusion Plans Fields
Lease Inclusion Plans Rules
Input rules for:
Default Lease Inclusion Plans
Excluding selected Lease Inclusion Plans
Pricing of Plans
Found on Lease Inclusion Plans page. All rules and logic applied to patchQuote functionality.