Quote & Lease Operations API: Qq Vehicle lookup getMakes

API endpoints for quote (Qt_*) and lease (Qq_*) operations and fleet reports

Qq Vehicle lookup getMakes

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of vehicle makes as make_id / name pairs. Suitable for use in a list box.

Makes are linked to Varaiants, and Variants are excluded if they have a status of 'pending'. So if all the Variants for a particular Make are at status 'pending', that Make will not be returned in the list.

Input Fields

Query string keyFormatNotesMandatory
1profile_requiredyes/noIf yes only makes for variants that have an active qtvariantprofile record will be included. The default is no.no
2rownumberflagyes/noIf yes will make each node unique i.e. , … if no all nodes will be the same i.e. . The default is yes.no
3data_sourcevarcharThe data source, eg. redbook, glass. Default is redbookno

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getMakes?profile_required=yes&login=example1&password=example1

If you are using Glasses data instead of RedBook, you will need to add an additional parameter to define this.

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getMakes?profile_required=yes&data_source=glass&login=example2&password=example2

Output Fields

XML elementFormatNotesMandatory
1make_idintegerUnique make identifierno
2namestringName of makeno

Output Example


100000

ALFA ROMEO

100001

ASIA MOTORS


Error Codes

Error Codes
1CATCHEERRORNOMAKES_FOUND
2CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORNOMAKES_FOUND

Qq Vehicle lookup getModelYears

Synopsis

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of model years for a given vehicle model. Suitable for use in a list box, using as both the option and value properties.

Model Years are linked to Varaiants, and Variants are excluded if they have a status of 'pending'. So if all the Variants for a particular Model Year are at status 'pending', that Model Year will not be returned in the list.

Input Fields

Query string keyFormatNotesMandatory
1model_idintegerUnique model identifieryes
2profile_requiredyes/noIf yes only model years for variants that have an active qtvariantprofile record will be included. The default is no.no
3rownumberflagyes/noIf yes will make each node unique i.e. , … if no all nodes will be the same i.e. . The default is yes.no

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getModelYears/?model_id= 100063

Output Fields

XML elementFormatNotesMandatory
1model_yearintegerYear e.g. 2007no

Output Example


2007

2006


Error Codes

Error Codes
1CATCHEERRORNOMODEL_ID
2CATCHEERRORNOMODELYEARSFOUND
3CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORNOMODELYEARSFOUND

Qq Vehicle lookup getModels

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of models for a given vehicle make as modelid / name pairs. Suitable for use in a list box. Note that variants with a qtvariants.status_flag of 'pending' are excluded from the list of models and variants returned.

Models are linked to Varaiants, and Variants are excluded if they have a status of 'pending'. So if all the Variants for a particular Model are at status 'pending', that Model will not be returned in the list.

Input Fields

Query string keyFormatNotesMandatory
1make_idintegerUnique make identifieryes
2profile_requiredyes/noIf yes only models for variants that have an active qtvariantprofile record will be included. The default is no.no
3rownumberflagyes/noIf yes will make each node unique i.e. , … if no all nodes will be the same i.e. . The default is yes.no
4data_sourcevarcharThe data source, eg. redbook, glass. Default is redbookno

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getModels/?make_id=100001&login=example1&password=example1

If you are using Glasses data instead of RedBook, you will need to add an additional parameter to define this.

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getModels/?make_id=100001&data_source=glass&login=example2&password=example2

Output Fields

XML elementFormatNotesMandatory
1model_idintegerUnique model identifierno
2namestringName of modelno
3CATCHEERRORTOOMANY_REQUESTSRest call requests exceeded the limit set in .

Output Example


100063

147


Error Codes

Error CodesNotes
1CATCHEERRORNOMAKES_FOUNDNo Makes found
2CATCHEERRORNOMODELS_FOUNDNo Models found

Error output

CATCHEERRORNOMAKES_FOUND

Qq Vehicle lookup getOptionalEquipment

Synopsis

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of optional equipment and corresponding prices for a given vehicle variant. The value returned is in a Description/List Price (Gross) pair uniquely identified by Optional Equipment ID.

Input Fields

Query string keyFormatNotesMandatory
1variant_idintegerUnique variant identifieryes

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getOptionalEquipment/?variant_id=115637

Output Fields

XML elementFormatNotesMandatory
1descriptionstringOptional Equipmentyes
2listpricegrossstringGross List Priceyes
3option_typestringOption Typeyes

Output Example


Alarm 889.90 factory

Error Codes

Error Codes
1CATCHEERRORNOVARIANT_ID
2CATCHEERRORVARIANTOPTIONALEQUIPMENTNOT_FOUND
3CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORVARIANTOPTIONALEQUIPMENTNOT_FOUND

Qq Vehicle lookup getStandardEquipment

Synopsis

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of standard equipment for a given vehicle variant. The value returned is a Description uniquely identified by Standard Equipment ID.

Input Fields

Query string keyFormatNotesMandatory
1variant_idintegerUnique variant identifieryes

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getStandardEquipment/?variant_id=115637

Output Fields

XML elementFormatNotesMandatory
1descriptionstringStandard Equipmentyes

Output Example

Multi-function Steering Wheel

Error Codes

Error Codes
1CATCHEERRORNOVARIANT_ID
2CATCHEERRORVARIANTSTANDARDEQUIPMENTNOT_FOUND
3CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORVARIANTSTANDARDEQUIPMENTNOT_FOUND

Qq Vehicle lookup getVariantPhotos

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get list of photo codes and corresponding types for a given vehicle variant. Photo codes are provided by the vehicle data supplier, and are typically used as the file name for each image. Types describe the orientation of the photo e.g. 'front'.

Input Fields

Query string keyFormatNotesMandatory
1variant_idintegerUnique variant identifieryes
2data_sourcevarcharThe data source, eg. redbook, glass. Default is redbook. I.e if you are using Glasses data, this must be specified.no

Redbook

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getVariantPhotos/?variant_id==136785&login=######&password=######

Glasses

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getVariantPhotos/?variant_id=136785&login=######&password=######&data_source=glass

Output Fields

XML elementFormatNotesMandatory
1photo_codestringPhoto code provided by data supplier. Used as image file name.yes
2typestringOrientation of the photo, values include 'front', 'rear', 'interior', 'side', 'engine'.yes

Output Example


AUDI0381

AUDI0380


Error Codes

Error Codes
1CATCHEERRORNOVARIANT_ID
2CATCHEERRORVARIANTPHOTOSNOTFOUND
3CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORVARIANTPHOTOSNOTFOUND

Photo services

Use the photo code acquired above to retrieve a photo. The photo code is also available from the getQuote) service output field photo_code.

There are different services for Redbook and Glasses and they are shown in the examples below. These services do not require a login/password to be passed as they are required in preceding functions.

Redbook

https://clientname.catch-e.net.au/core/services/Redbook/photos/AUS/#PHOTO_CODE#.jpgExample, photo code VOLK5VC1, use:https://demo.catch-e.net.au/core/services/Redbook/photos/AUS/VOLK5VC1.jpg

Glasses

https://clientname.catch-e.net.au/core/services/Glass/photos/AUS/#PHOTO_CODE#.jpgExample, photo code T4I16A, use:https://demo.catch-e.net.au/core/services/Glass/photos/AUS/T4I16A.jpg

Qq Vehicle lookup getVariant

Synopsis

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get field values for a given vehicle variant returning individually requested fields or all fields if none are requested. These values can be used with other services in the lease web services family, e.g. getQuote.

Input Fields

Query string keyFormatNotesMandatory
1variant_idintegerUnique variant identifieryes
2return[fieldname]*mixedField Name(s) prefixed with 'return_'no
  • see Field List below

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getVariant/?variant_id=115637&return_list_price_net=&return_list_price_gst=&login=example1&password=example1

Output Fields

XML elementFormatNotesMandatory
1[field_name]*mixedField names and valuesno
  • see Field List below

Output Example


36355.00


Error Codes

Error Codes
1CATCHEERRORNOVARIANT_ID
2CATCHEERRORVARIANTNOT_FOUND
3CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORNOVARIANT_ID

Field List

#Field Name#Field Name
1variant_id30engine_configuration
2variant_code31fuel_delivery
3model_month32cam
4build_year33steering
5description34induction
6short_description35power_kw
7series36power_rpm
8configuration37torque
9variant_name38torque_rpm
10variantsubname39wheel_base
11transmission40weight
12gears41payload
13gear_location42towing_capacity
14doors43kerb_weight
15seats44country
16engine_cc45fuel_capacity
17engine_litres46fronttyresize
18cylinders47reartyresize
19valvespercylinder48engine_code
21drive_type49manufacturermodelcode
22engine_cycle50acceleration
23engine_type51warranty_years
24fuel_metro52warranty_kms
25fuel_country53service_kms
26fuel_combined54service_mths
27listpricegross55co2_emissions
28listpricenet
29listpricegst

Qq Vehicle lookup getVariants

Warning: This web service has been deprecated and is no longer supported by Catch-e.
You must use Quotes / Variants APIs instead.

Get a list of variant_id / description pairs for a given vehicle model, model year, and body type. Suitable for use in a list box.

Limiting variant selection

Variants are only selected if they have an 'active' status flag. You can use a scheduled query to exclude variants by setting the status_flag to 'pending'.

Note: 'Pending' may be used in scheduler jobs during the process of updating variant information and service profiles. These should be checked to ensure the update is not disruptive or reversed during routine updates.

Example:

## Set status_flag for commercial vehicles with payload over 1000kgs, and also any vehicle with a list_price_gross of $0, to 'pending' to prevent them being available on a web calculatorUPDATE qt_variants AS t1, qt_body_types AS t2SET t1.status_flag = 'pending'WHERE t1.body_type_id = t2.body_type_id AND ((t2.body_type IN ('UTILITY','CAB CHASSIS','TRAYTOP','BUS','VAN','WAGON','VAN WAGON','BUS CHASSIS') AND payload > '1000') ORt1.list_price_gross = 0);

Input Fields

Query string keyFormatNotesMandatory
1model_idintegerUnique model identifieryes
2model_yearintegerYear e.g. 2007yes
3bodytypeidintegerUnique body type identifyyes
4data_sourcevarcharThe data source, eg. redbook, glass. Default is redbookno
5profile_requiredyes/noIf yes only variants that have an active qtvariantprofile record will be included. The default is no.no
6rownumberflagyes/noIf yes will make each node unique i.e. , … if no all nodes will be the same i.e. . The default is yes.no

Input URL Example

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getVariants/?model_id=100063&model_year=2007&body_type_id=100006&login=example1&password=example1

If you are using Glasses data instead of RedBook, you will need to add an additional parameter to define this.

https://yourname.catch-e.net.au/services/qq/vehicle_lookup/getVariants/?model_id=100063&model_year=2007&body_type_id=100006&data_source=glass&login=example2&password=example2

Output Fields

XML elementFormatNotesMandatory
1variant_idintegerUnique variant identifierno
2descriptionintegerVariant descriptionno

Output Example


115637

MY2005 JTD M-JET Hatchback 5dr Man 6sp 1.9DT

115639

MY2005 Selespeed Hatchback 3dr SA 5sp 2.0i

115643

MY2005 Selespeed Hatchback 5dr SA 5sp 2.0i


Error Codes

Error Codes
1CATCHEERRORNOMODEL_ID
2CATCHEERRORNOMODEL_YEAR
3CATCHEERRORNOBODYTYPEID
4CATCHEERRORNOVARIANTS_FOUND
5CATCHEERRORTOOMANY_REQUESTS

Error output

CATCHEERRORNOVARIANTS_FOUND