Aller au contenu principal

getVehicule

Exemple payload​

Contexte : Récupération de la liste des véhicules du point de vente id XX de l'entité avec le sId HHHHHHHHH

{
"Authentification": {
[...],
"sIdClient": "HHHHHHH"
},
"bImages": 1,
"bEquipements": 1,
"bAccessoires": 1,
"bPackLivraison": 1,
"i_veh_statut": [
103,
202
],
"i_veh_typeconfiguration": [
1,
2
],
"i_pve_id": XX,
"iLimit": 20000
}

Documentation​

Doc : https://ws4you.webapp4you.eu/api4you/index.php?rubrique=8&methode=getVehicule

Route : https://ws4you.webapp4you.eu/application/s-34/get-vehicule

Appel :

{
"Authentification": {
[...]
},
"i_swe_id": 1, /* optional - integer - Website ID */
"i_veh_destination": 1, /* optional - integer - Destination (1 => Particular, 2 => Merchant, 3 => Alcopa (if available), 4 => Breakage) (UV only) */
"i_veh_typeconfiguration": 1, /* optional - integer - Type (0 => NV, 1 => UV, 2 => DV) */
"i_pve_id": 9, /* optional - integer - Storage site */
"bImages": 1, /* optional - boolean - Return images */
"i_existe_photo": 2, /* optional - integer - Binary filter to get vehicles according to the number and type of their picture (1 => No Photo, 2 => Not all the recommanded photo, 4 => All the recommanded photo)(Parameter i_veh_typeconfiguration is required) */
"b_existe_video": true, /* optional - boolean - filter to get vehicles that have videos or not */
"bEquipements": 1, /* optional - boolean - Return equipments */
"bPackLivraison": 0, /* optional - boolean - Return delivery pack */
"bAccessoires": 0, /* optional - boolean - Return accessories */
"f_veh_prhnp1_min": 550.23, /* optional - float - Price min. */
"f_veh_prhnp1_max": 4550.23, /* optional - float - Price max. */
"bTags": 1, /* optional - boolean - Return tags */
"s_tag_libelle": [ /* optional - string|array - Tag name or array of tag name */
"xxxx",
"xxxx"
],
"s_veh_numero_chassis": "123456", /* optional - string - VIN */
"s_veh_numero_chassis_incomplet": "xxxx", /* optional - string - VIN */
"s_veh_immatriculation": "aa123aa", /* optional - string - Registration */
"i_veh_kilometre": 100, /* optional - integer - Mileage min. */
"i_veh_kilometre_min": 100, /* optional - integer - Mileage min. or undefined */
"i_veh_kilometre_max": 10000, /* optional - integer - Mileage max. or undefined */
"b_veh_premiere_main": true, /* optional - boolean - First hand vehicle */
"i_veh_maknatcode": 42, /* optional - integer - Country brand code (national) */
"s_veh_modname2": "ccccx", /* optional - string - Model name 2 */
"s_veh_typtxtfueltypecd2lbl": "ccccx", /* optional - string - Fuel type (name) */
"s_veh_typtxtbodyco1cd2lbl": "ccccx", /* optional - string - Body code (national) (name) */
"i_veh_typseat": 4, /* optional - integer - Number of seats */
"i_veh_typdoor": 5, /* optional - integer - Number of doors */
"f_veh_typHP_min": 125.2, /* optional - float - Brake horse power min. */
"f_veh_typHP_max": 125.2, /* optional - float - Brake horse power max. */
"f_veh_typTaxHP_min": 125.2, /* optional - float - Taxation horse power min. */
"f_veh_typTaxHP_max": 125.2, /* optional - float - Taxation horse power max. */
"s_veh_annee_min": "1998", /* optional - string - Entry into service year min. */
"s_veh_annee_max": "2012", /* optional - string - Entry into service year max. */
"f_veh_tcoconstot_max": 4.5, /* optional - float - Overall consumption in l/100km */
"i_veh_tcoco2emi_max": 4, /* optional - integer - CO2 emission in g/km */
"i_veh_type_boite_vitesse": 1, /* optional - integer - Gearbox (1 => automatic, 2 => manual, 3 => sequential) */
"i_veh_type_carburant": 1, /* optional - integer - Fuel (1 => gazoline, 2 => diesel, 3 => electric, 4 => biofuel, 5 => hybrid) */
"i_veh_departement": 1, /* optional - integer - Department (71, 71400) */
"s_veh_couleur_exterieure_ref": "bleu", /* optional - string - Outside colour */
"s_veh_couleur_interieure_ref": "bleu", /* optional - string - Inside colour */
"s_veh_id_externe": "XXPMED", /* optional - string - External ID */
"s_veh_numero_interne": "XXPMED", /* optional - string - Internal No */
"i_veh_id": 456987, /* optional - integer - Internal ID */
"i_veh_statut": 5, /* optional - integer|array - Status */
"i_veh_statut_NOT_IN": [ /* optional - integer|array - Status excluded */
5,
8
],
"f_veh_prix_finance_min": 4500.5, /* optional - float - Funded price min */
"f_veh_prix_finance_max": 10500.5, /* optional - float - Funded price max */
"b360": 1, /* optional - boolean - Return 360 */
"b_veh_supprimeINCLUS": 1, /* optional - boolean - Include deleted vehicles */
"bReprise": 1, /* optional - boolean - Filter vehicles with or without a trade-in */
"bRepriseFrevo": 1, /* optional - boolean - Filter vehicles with or without trade-in UV refurbishment costs informations */
"bContreestimation": 1, /* optional - boolean - Filter vehicles with or without duplicate estimate */
"bContreexpertise": 1, /* optional - boolean - Filter vehicles with or without expert appraisal */
"bInclureRepriseData": 1, /* optional - boolean - Include trade-in informations if exists, and UV refurbishment costs */
"bInclureContreestimationData": 1, /* optional - boolean - Include details of duplicate estimate informations if exists */
"bInclureContreexpertiseData": 1, /* optional - boolean - Include details of expert appraisal informations if exists */
"bVehPublie": 1, /* optional - boolean - Return if the vehicle is published or not */
"sLanCodeComplet": "fr-FR", /* optional - string - Language of vehicles data, if available (ex: fr-FR) */
"sRechercheIdentifiants": "XXXHJJ", /* optional - integer|string - Use to search among the following fields: i_veh_id (must be equal) / s_veh_id_externe / s_veh_numero_interne / s_veh_numero_chassis / s_veh_immatriculation */
"iLimit": 100, /* optional - integer - Maximum number of results returned (if not specified, 20 by default) */
"iOffset": 500, /* optional - integer - Offset */
}

Réponse : cf. données véhicule

{
"518": {
"i_cli_id": 1,
"i_cmd_id": 602,
"i_rep_id": 1024,
"i_veh_typeconfiguration": 1,
"i_veh_statut": 3,
"s_veh_id_externe": "546f1c78b09b7",
"i_veh_id": 518,
"i_pve_id": 9,
"s_pve_libelle": "Bee2link Auto",
"i_veh_maknatcode": 3,
"i_veh_modnatcode": 4739,
"i_veh_typvalvpcyl": 4,
"i_veh_typcylinder": 4,
"i_veh_typnumgearf": 6,
"i_veh_typwheelb1": 2607,
"i_veh_typseat": 5,
"i_veh_typdoor": 5,
"i_veh_tcoco2emi": 97,
"i_veh_zvevehtype": 10,
"i_veh_typtotwgt": 1810,
"i_veh_typlength": 4329,
"i_veh_typwidth": 1789,
"i_veh_typheight": 1491,
"i_veh_tcotopspeed": 190,
"i_veh_tecpayload": 535,
"i_veh_typroofload": 0,
"i_veh_typtrunkcapmax": 1183,
"i_veh_typtrunkcapmin": 380,
"i_veh_typcurbwgt": 1275,
"f_veh_typhp": 112,
"f_veh_typtaxhp": 5,
"i_veh_asking_price": 1,
"i_veh_typvehtype": 1,
"i_veh_kilometre": null,
"i_veh_type_boite_vitesse": 2,
"i_veh_site_presence_physique": 37,
"s_veh_typnatcode": "153682",
"s_veh_makname": "CITROEN",
"s_veh_modname": "C4 (09/2010)",
"s_veh_modname2": "C4",
"s_veh_modnamegrp1": "C4",
"s_veh_modnamegrp2": "C4 II",
"s_veh_typname": "C4 e-HDi 115",
"s_veh_typname2": "Attraction",
"s_veh_typtxtfueltypecd2": "00100003",
"s_veh_typtxtfueltypecd2lbl": "Diesel",
"s_veh_typtxtbodyco1cd2": "00010060",
"s_veh_typtxtbodyco1cd2lbl": "Berline",
"s_veh_typtxtseg1cd2": "00030004",
"s_veh_typtxtseg1cd2lbl": "Moyenne inférieure",
"s_veh_typtxtcylarrcd2": "00080001",
"s_veh_typtxtcylarrcd2lbl": "Ligne",
"s_veh_typtxtexhtreatcd2": "00170010",
"s_veh_typtxtexhtreatcd2lbl": "Filtre à particules et oxy.cat",
"s_veh_typtxttranstypecd2": "00180001",
"s_veh_typtxttranstypecd2lbl": "Boîte manuelle",
"s_veh_typtxtdrivetypecd2": "00050001",
"s_veh_typtxtdrivetypecd2lbl": "Traction avant",
"s_veh_typimpbegin": "201306",
"s_veh_typimpend": "1",
"s_veh_prhval": "20141103",
"s_veh_tsespecdesc": "1",
"s_veh_tcenum": "n.c.",
"s_veh_vocordercode": "1CB7A5 E BMK 01A0 18",
"s_veh_zvedescrshort": "VP",
"s_veh_zvedescr": "Véhicule particulier",
"s_veh_pneus_avant": "195/65 R 15",
"s_veh_pneus_arriere": "195/65 R 15",
"s_veh_couleur_exterieure": "Bleu nuit",
"s_veh_couleur_interieure": "Blanc arctique",
"s_veh_couleur_exterieure_ref": "Bleu",
"s_veh_couleur_interieure_ref": "Blanc",
"s_veh_code_postal": "1",
"s_veh_prhvaluntil": "1",
"s_veh_immatriculation": "883vq71",
"s_veh_numero_chassis": "1",
"s_veh_origine": "WS",
"s_veh_numero_interne": "1",
"s_veh_telephone": null,
"s_veh_email": null,
"s_veh_commentaire": null,
"f_veh_typtorque": "270.00",
"f_veh_typcaptech": 1560,
"f_veh_typkw": 82,
"f_veh_tcoconstot": "4.2",
"f_veh_tcoconsurb": "4.9",
"f_veh_tcoconsland": "3.8",
"f_veh_prhnp1": "1.00",
"f_veh_prhnp2": "19666.67",
"f_veh_prhtaxrt": "20.00",
"f_veh_tcoaccel": "12.4",
"f_veh_prix_rentree_ttc": "1.00",
"f_veh_prix_rentree_ht": "1.00",
"f_veh_prix_reprise_ttc": "12000.00",
"f_veh_prix_reprise_ht": "10000.00",
"f_veh_frevo_estimes_ht": "1.00",
"f_veh_frevo_contre_estimes_ht": "1200.00",
"f_veh_prix_vente_offline": "1.00",
"f_veh_tva_taux": null,
"f_veh_prix_publication": "8299.00",
"f_veh_facture_prix": "8299.00",
"gen_i_nb_photo": "0",
"gen_i_nb_photo_gabarit": "0",
"gen_s_veh_site_presence_physique": "Point de vente Paris",
"d_veh_date_mec": "2010-12-31",
"d_veh_date_entree_stock": "2014-11-20",
"dh_veh_derniere_modification": "2014-11-24 14:42:21",
"dh_veh_premiere_image": "2014-11-21 12:05:28",
"d_veh_livraison": "2015-02-21",
"dh_veh_calcul": "2018-05-30 11:42:00",
"dh_veh_facture_date": "2014-11-23 11:35:08",
"b_veh_peinture_metal": true,
"b_veh_premiere_main": true,
"b_veh_import": true,
"b_veh_supprime": false,
"b_veh_tva_recuperable": false,
"b_veh_referenced": true,
"f_veh_prix_finance_ttc": "8299.00",
"s_veh_prix_finance_conditions": "rien",
"aCEquipementDTO": {
"732910": {
"i_veq_id": 732910,
"s_veq_eqttext": "Pack de 4 roues complètes hiver aluminium 17’’ design à 5 branches, en supplément de la monte d’origine, avec housses",
"f_veq_addprice1": "2000.00",
"f_veq_addprice2": "1666.67",
"f_veq_addtaxrt": "20.00",
"i_veq_addflag": 2,
"i_veq_addflagpack": 0,
"i_veq_addeqcode": 139750,
"s_veq_manmcode": "HRC"
}
},
"aCVehiculeImageDTO": {
"80871": {
"s_vim_nom": "54d925a2e9505.jpg",
"gen_s_url": "https://file-render.webapp4you.eu/pictureRender.php?id=aVjwoKaE74Q%2BjIMiW0HpUF0WkrzZn6KE3SGOfiTydD9GVJATIcVzBIh55XQTp%2BPq"
}
},
"aCCSAccessoiresDTO": {
"170": {
"i_vac_id": 170,
"s_acc_libelle": "Autoradio CD STD",
"s_acc_code": null,
"f_acc_prix": "100.00",
"f_acc_prix_ttc": "120.00",
"f_tva_taux": "1.2000",
"f_acc_remise": null
},
"171": {
"i_vac_id": 171,
"s_acc_libelle": "Galerie de toit",
"s_acc_code": "ACC01",
"f_acc_prix": "55.00",
"f_tva_taux": "1.1000",
"f_acc_remise": null
}
},
"insCCSPacklivraisonDTO": {
"i_pli_id": 8,
"s_pli_libelle": "Pack livraison de base",
"aCCSPacklivraisonElementDTO": {
"175": {
"i_vple_id": 175,
"s_ple_libelle": "Objet 3",
"f_ple_montant": "250.00",
"f_ple_tva": "1.0000"
},
"176": {
"i_vple_id": 176,
"s_ple_libelle": "Objet 2",
"f_ple_montant": "300.00",
"f_ple_tva": "1.0000"
}
}
},
"vendeur": {
"i_com_id": 1,
"s_com_nom": "NAME",
"s_com_prenom": "Firstname",
"s_com_email": "email@domain.com"
},
"compte": {
"i_com_id": 2,
"s_com_nom": "NAME",
"s_com_prenom": "Firstname",
"s_com_email": "email@domain.com"
},
"repreneur": {
"i_com_id": 3,
"s_com_nom": "NAME",
"s_com_prenom": "Firstname",
"s_com_email": "email@domain.com"
},
"i_veh_destination": null,
"b_veh_accidente": null,
"b_veh_non_roulant": null,
"b_veh_depotvente": null,
"b_veh_km_garanti": null,
"f_veh_prix_vente_propose_marchand": null,
"s_veh_norme_euro": "euro 6"
}
}