PatchQuote - Options Tab
PatchQuote - Options Tab
Fields found primarily on Quotes / Options tab.
Supplementary SWAGGER documentation: api.catch-e.com/docs/#/Quotes/patchQuote
Body - JSON
Array of optional_equipment objects.
Examples
Adding one Optional Equipment
"optional_equipment": [ { "included_flag": "yes", "optional_equipment_id": "100000" } ] Adding two Optional Equipment
"optional_equipment": [ { "included_flag": "yes", "optional_equipment_id": "100000" }, { "included_flag": "yes", "optional_equipment_id": "100001" } ] Removing one Optional Equipment
"optional_equipment": [ { "included_flag": "no", "optional_equipment_id": "100000" } ] Removing multiple Optional Equipment
"optional_equipment": [ { "included_flag": "no", "optional_equipment_id": "100000" }, { "included_flag": "no", "optional_equipment_id": "100001" }, { "included_flag": "no", "optional_equipment_id": "100002" } ] Modifying Optional Equipment with overrides
"optional_equipment": [ { "included_flag": "yes", "optional_equipment_id": "100000", "description": "This is alternative description for the option", "cost_price_net": "545.45", "list_price_net": "545.45", "discount_net": "0", "gst": "54.55", "residual_rate": "0" } ] PatchQuote - Other Tab
Fields found on Quotes / Other tab. Not all fields supported yet. If field listed here, it is supported.
Supplementary SWAGGER documentation: api.catch-e.com/docs/#/Quotes/patchQuote
Body - JSON
Bespoke Field Input Types
Sample JSON
{ "after_hours_assistance_flag": "no", "allowances": 0, "annual_kms": 0, "annual_salary": 0, "application_date": "YYYY-MM-DD", "application_reference": "string", "bespoke_field_values": { "bespoke_field_name": "Bespoke Field Value" } } 422 Validation Errors
Invalid listbox value:
{ "bespoke_field_values": { "invalidBespokeFieldValue": "input_type_listbox: Unsupported value" } } When input_type is 'listbox', must pass valid listbox value.
Invalid number:
{ "bespoke_field_values": { "invalidBespokeFieldValue": "input_type_number: Must be a number" } } When input_type is 'number', only numeric value can be passed.
Useful Query
select bfv.record_id as quote_id, bf.bespoke_field_id, bf.field_name, bf.input_type, bf.default_value, bf.input_maxlength, coalesce(bl.value, bfv.value) as value from gb_bespoke_fields as bf left join gb_bespoke_field_values as bfv on bfv.bespoke_field_id = bf.bespoke_field_id left join gb_bespoke_listboxes as bl on bl.bespoke_field_id = bf.bespoke_field_id and bl.bespoke_listbox_id = bfv.value where bf.table_name = 'qt_quotes' and bfv.record_id = 100009; PatchQuote - Vehicle Tab
Fields primarily found on Quotes / Vehicle tab. All Vehicle tab fields supported.
Supplementary SWAGGER documentation: api.catch-e.com/docs/#/Quotes/patchQuote
Column One
Column Two
PatchQuote Supporting APIs
APIs offering ways to obtain data required for patchQuote. For example, patchQuote expects pay_cycle_id. Use getPayCycles to get pay_cycle_id.
Supplementary SWAGGER documentation: api.catch-e.com/docs/#/Quotes/patchQuote
Note: These APIs not configured for external use by default but may be available on request. Contact your Account Manager.
Quote / Status & Sub Status
Quote / Competitors
Quote / Deal Types
Quote / Contract Type Code
Quote / Discount Types
Quote / Finance Types
Quote / Fuel Types
Quote / Inclusions
Quote / Insurance
Quote / Loan Termination Insurance
Quote / Location Rego
Quote / Maintenance and Service
Quote / Opportunity Stages
Quote / Power Plant Types
Quote / Roadside Assistance
Quote / Tyre Rim Insurance
Quote / Tyres
Quote / Variants
Refer to CreateVariants documentation for details.