Naar hoofdinhoud

API documentation

Onderstaande overzicht toont de API mogelijkheden. Ververs deze pagina voor random voorbeelden.

title slug / id
portal Lease-e financial website lease-e-financial-website
car Kia e-Niro 3d5a2dc2-49bd-4012-809b-3a9eaa03b543
collection Tesla Model X tesla-model-x
contract_types ['fol', 'flz', 'flp'] ['nol', 'fol', 'flz', 'flp', 'prl', 'kp']
calculation_id a010600002UIQ3Q custom
exports criteo campaign sitemap brand collection

 

description call example
Get collection
This call returns active cars for a given collection (and so a brand). Per car some detailed information is available, like image, color, price, etc.
URL /api/collection/81fe663a-b8a5-409a-b535-5e7915e02efb/
TYPE GET
URL PARAMS collection_id
CACHE TIME 15 min
Get cars for portal
This call can be used to fetch multiple cars for a portal.
URL /api/cars/portal/lease-e-financial-website/?ct=fol,flz,flp
TYPE GET
URL PARAMS portal_slug
CACHE TIME 15 min
Get a single car
This call can be used to fetch the full car data.
URL /api/car/3d5a2dc2-49bd-4012-809b-3a9eaa03b543/
TYPE GET
URL PARAMS car_id
CACHE TIME 15 min
V2 | Calculate FLz or FLp without a car
This call can be used to calculate FLz or FLp without a car.
URL /api/v2/calculate/ct/flp-a/
TYPE GET
URL PARAMS flz, flp
CACHE TIME 15 min
V3 | Get a single car
This call can be used to fetch the full car data in Algolia format.
URL /api/v3/car/c/3d5a2dc2-49bd-4012-809b-3a9eaa03b543/
TYPE GET
URL PARAMS car_id
CACHE TIME 15 min
V3 | Calculate Financial Lease price
This call can be used to calculate a Financial Lease price, both: flp and flz.

Only car_id is required, all other params have defaults.
URL /api/v3/calculate/c/3d5a2dc2-49bd-4012-809b-3a9eaa03b543/ct/flz/
TYPE GET
URL PARAMS car_id, fl_type, profit_margin, insurance_percentage, invest_amount, down_payment, result, contract_time, interest
CACHE TIME nvt.
Calculate Financial Lease price
This call can be used to calculate a Financial Lease price, both: flp and flz.

Only car_id is required, all other params have defaults.
URL /api/calculate/car/3d5a2dc2-49bd-4012-809b-3a9eaa03b543/flz/
TYPE GET
URL PARAMS car_id, fl_type, profit_margin, insurance_percentage, invest_amount, down_payment, result, contract_time, interest
CACHE TIME nvt.
Calculate Full Operation Lease price
This call can be used to calculate a Full Operation Lease price.

Only car_id is required, all other params have defaults.
URL /api/calculate/car/3d5a2dc2-49bd-4012-809b-3a9eaa03b543/fol/
TYPE GET
URL PARAMS car_id, mileage, contract_time
CACHE TIME nvt.
Calculate trade in value
This call can be used to calculate the trade in value for a car given its licenseplate.
URL /api/v3/trade_in/lp/GHP-91-Z/
TYPE GET
URL PARAMS lp, mileage, btw
CACHE TIME nvt.
Test-call for fetching a car from SalesForce
This call can be used to test fetching a car from SalesForce.
URL /api/salesforce/fetch_advertised_vehicle/3d5a2dc2-49bd-4012-809b-3a9eaa03b543
TYPE GET
URL PARAMS car_id
Force car-data being updated to SalesForce
This call can be used to get the latest car data in SalesForce.
URL /api/salesforce/enrich_advertised_vehicle/3d5a2dc2-49bd-4012-809b-3a9eaa03b543
TYPE GET
URL PARAMS car_id
Test-call for fetching a calculation from SalesForce
This call can be used to test fetching a calculation from SalesForce.
URL /api/salesforce/fetch_calculation/a010600002UIQ3Q
TYPE GET
URL PARAMS car_id
Force calculation-data being updated to SalesForce
This call can be used to get the latest calculation data in SalesForce.
URL /api/salesforce/enforce_update_calculation/a010600002UIQ3Q
TYPE GET
URL PARAMS calculation_id