Aller au contenu principal

getAffaire

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

Route : https://ws4you.webapp4you.eu/application/s-36/get-affaire

Appel :

{
"Authentification": {
[...]
},
"i_aff_id": 500, /* optional - integer - Case ID */
"i_off_id": 500, /* optional - integer - Offer ID */
"i_cmd_id": 500, /* optional - integer - Order ID */
"s_lan_code_complet": "fr-FR" /* optional - string - Language of vehicle data, if available (ex: fr-FR) */
}

Réponse :

{
"i_aff_id":500,
"i_aff_statut":1,
"i_pve_id_createur":11,
"i_cli_id_createur":1,
"s_aff_origine":null,
"rec_date":"2015-05-28 15:46:31",
"dh_aff_derniere_modification":"2015-05-28 15:47:25",

"aOffre":{
"1071":{
"i_off_id":1071,
"i_aff_id":500,
"i_off_statut":4,
"i_off_remise_type":null,
"i_veh_id_offre_vn":1555,
"i_off_type_vehicule":0,
"i_rep_id":null,
"i_veh_id_reprise":1556,
"f_off_remise_accessoires":null,
"f_off_remise":null,
"f_off_prix_vente":null,
"f_off_carte_grise":"186.50",
"f_off_bonus_malus":"0.00",
"f_off_frais_divers":"0.00",
"f_off_reprise":"6000.00",
"f_off_reprise_aide":"500.00",
"f_off_prix_cv":"36.00",
"f_off_extension_garantie_prix":null,
"f_off_contrat_maintenance_prix":null,
"f_off_taxe_parafiscale":null,
"f_off_carte_grise_droit_timbre":"4.00",
"f_off_carte_grise_frais_acheminement":"2.50",
"f_off_taxe_co2":"0.00",
"s_off_commentaire":null,
"s_off_extension_garantie_libelle":null,
"s_off_contrat_maintenance_libelle":null,
"s_off_carte_grise_cp":"33120",
"rec_date":"2015-05-28 15:46:31",
"dh_off_derniere_modification":"2015-05-28 15:46:32",
"dh_off_annulation":null,
"dh_off_commande":"2015-05-28 15:47:25",
"d_off_validite":"2015-05-31",
"i_con_id":28286,
"f_off_reprise_total":"6500.00",
"f_off_total_ht":17149.83,
"f_off_remise_vehicule_ttc":null,
"f_off_total_tva":3392.67,
"f_off_total_accessoires":0,
"f_off_total_ttc_sans_reprise":20542.5,
"aTotauxTVA":{"20":3392.67},

"Vehicule":{
"i_veh_id":1555,
"i_cli_id":1,
"i_veh_typeconfiguration":0,
"s_veh_id_externe":"123456789",
"i_veh_maknatcode":9,
"i_veh_modnatcode":4636,
"i_veh_typvalvpcyl":2,
"i_veh_typcylinder":4,
"i_veh_typnumgearf":5,
"i_veh_typwheelb1":2469,
"i_veh_typseat":4,
"i_veh_typdoor":3,
"i_veh_tcoco2emi":118,
"i_veh_zvevehtype":10,
"i_veh_typtotwgt":1490,
"i_veh_typlength":3954,
"i_veh_typwidth":1740,
"i_veh_typheight":1416,
"i_veh_tcotopspeed":180,
"i_veh_tecpayload":450,
"i_veh_typroofload":75,
"i_veh_typtrunkcapmax":920,
"i_veh_typtrunkcapmin":270,
"i_veh_typcurbwgt":1040,
"i_veh_typvehtype":null,
"i_veh_kilometre":null,
"s_veh_typnatcode":"129400",
"s_veh_makname":"AUDI",
"s_veh_modname":"A1 (05\/2010)",
"s_veh_modname2":"A1",
"s_veh_modnamegrp1":"A1",
"s_veh_modnamegrp2":"A1",
"s_veh_typname":"A1 1.2 TFSI 86",
"s_veh_typname2":"Ambiente",
"s_veh_typtxtfueltypecd2":"00100001",
"s_veh_typtxtfueltypecd2lbl":"Essence sans plomb",
"s_veh_typtxtbodyco1cd2":"00010060",
"s_veh_typtxtbodyco1cd2lbl":"Berline",
"s_veh_typtxtseg1cd2":"00030002",
"s_veh_typtxtseg1cd2lbl":"Petits urbains",
"s_veh_typtxtcylarrcd2":"00080001",
"s_veh_typtxtcylarrcd2lbl":"Ligne",
"s_veh_typtxtexhtreatcd2":"00170007",
"s_veh_typtxtexhtreatcd2lbl":"G-Kat",
"s_veh_typtxttranstypecd2":"00180001",
"s_veh_typtxttranstypecd2lbl":"Boîte manuelle",
"s_veh_typtxtdrivetypecd2":"00050001",
"s_veh_typtxtdrivetypecd2lbl":"Traction avant",
"s_veh_typimpbegin":"201008",
"s_veh_typimpend":null,
"s_veh_prhval":"20111208",
"s_veh_tsespecdesc":null,
"s_veh_tcenum":null,
"s_veh_vocordercode":"8X1AA40000+WAF",
"s_veh_zvedescrshort":"VP",
"s_veh_zvedescr":"Véhicule particulier",
"s_veh_pneus_avant":"205/55 R 15",
"s_veh_pneus_arriere":"205/55 R 15",
"s_veh_couleur_exterieure":"Bleu nuit",
"s_veh_couleur_interieure":"Noir profond",
"s_veh_couleur_exterieure_ref":"Bleu",
"s_veh_couleur_interieure_ref":"Noir"
,"s_veh_prhvaluntil":null,
"s_veh_immatriculation":null,
"s_veh_numero_chassis":"VKF12345678901234",
"s_veh_origine":"WS",
"s_veh_numero_interne":"1234",
"f_veh_typhp":86,
"f_veh_typtaxhp":5,
"f_veh_typtorque":"160.00",
"f_veh_typcaptech":1197,
"f_veh_typkw":63,
"f_veh_tcoconstot":"5.1",
"f_veh_tcoconsurb":"6.2",
"f_veh_tcoconsland":"4.4",
"f_veh_prhnp1":"17800.00",
"f_veh_prhnp2":"14882.94",
"f_veh_prhtaxrt":"20.00",
"f_veh_tcoaccel":"11.7",
"d_veh_date_mec":null,
"b_veh_peinture_metal":true,
"b_veh_referenced":true,
"b_veh_premiere_main":false,
"b_veh_import":false,
"aCEquipementDTO":
{
"2895":{
"s_veq_eqttext":"Equipement personnalisé",
"i_veq_addid":null,
"s_veq_addnatcode":null,
"i_veq_addeqcode":null,
"i_veq_addflag":2,
"i_veq_addflagpack":0,
"f_veq_addprice1":"666.00",
"f_veq_addtaxrt":"20.00",
"s_veq_manmcode":null,
"i_veq_type":1,
"aCEquipementPackDTO":[]
},
"2894":{
"s_veq_eqttext":"Pack Média Style en tissu Wunderbar",
"i_veq_addid":102749789,
"s_veq_addnatcode":"129400",
"i_veq_addeqcode":100693,
"i_veq_addflag":2,
"i_veq_addflagpack":1,
"f_veq_addprice1":"1040.00",
"f_veq_addtaxrt":"20.00",
"s_veq_manmcode":"ABJ",
"i_veq_type":0,
"aCEquipementPackDTO":
{
"2362":{"s_vep_eqttext":"Bouches d'aération coordonnée à la couleur de la sellerie"},
"2364":{"s_vep_eqttext":"Entourage de diffuseurs d'air noir brillant"},
"2363":{"s_vep_eqttext":"Sellerie tissu Wunderbar"}
}
},
"2893":{
"s_veq_eqttext":"Préparation téléphone 8W via l'antenne du véhicule",
"i_veq_addid":96907481,
"s_veq_addnatcode":"129400",
"i_veq_addeqcode":104156,
"i_veq_addflag":2,
"i_veq_addflagpack":0,
"f_veq_addprice1":"850.00",
"f_veq_addtaxrt":"20.00",
"s_veq_manmcode":null,
"i_veq_type":0,
"aCEquipementPackDTO":[]
}
}
},

"VehiculeReprise":{
"i_veh_id":1556,
"i_cli_id":1,
"i_veh_typeconfiguration":0,
"s_veh_id_externe":"4444",
"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,
"i_veh_typvehtype":null,
"i_veh_kilometre":50000,
"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":null,
"s_veh_prhval":"20141103",
"s_veh_tsespecdesc":null,
"s_veh_tcenum":null,
"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_prhvaluntil":null,
"s_veh_immatriculation":"883VQ71",
"s_veh_numero_chassis":"VKF12345678901234",
"s_veh_origine":"WS",
"s_veh_numero_interne":"4321",
"f_veh_typhp":112,
"f_veh_typtaxhp":5,
"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":"23600.00",
"f_veh_prhnp2":"19666.67",
"f_veh_prhtaxrt":"20.00",
"f_veh_tcoaccel":"12.4",
"d_veh_date_mec":"2010-04-16",
"b_veh_peinture_metal":true,
"b_veh_referenced":true,
"b_veh_premiere_main":true,
"b_veh_import":true,
"aCEquipementDTO":[]
}
}
},

"aCommande":{
"523":{
"i_cmd_id":523,
"i_off_id":1071,
"i_cmd_type_paiement":null,
"i_cmd_moyen_paiement_acompte":null,
"i_cmd_type_solde":null,
"f_cmd_acompte":null,
"s_cmd_commentaire":null,
"s_cmd_nom":null,
"s_cmd_prenom":null,
"s_cmd_adresse":null,
"s_cmd_adresse2":null,
"s_cmd_adresse_comp":null,
"s_cmd_adresse2_comp":null,
"s_cmd_cp":null,
"s_cmd_ville":null,
"s_cmd_email":null,
"s_cmd_telephone_fixe":null,
"s_cmd_telephone_mobile":null,
"s_cmd_civilite":null,
"s_cmd_telephone_pro":null,
"s_cmd_raison_sociale":null,
"s_cmd_profession":null,
"s_cmd_siret":null,
"s_cmd_numero_tva_intracommunautaire":null,
"s_cmd_cotitulaire_nom":null,
"s_cmd_cotitulaire_prenom":null,
"s_cmd_cotitulaire_raison_sociale":null,
"s_cmd_cotitulaire_siret":null,
"s_cmd_ref_modele_catalogue":null,
"s_cmd_reglement_signe_aupres_de":null,
"b_cmd_vehicule_reprise":null,
"b_cmd_contrat_garantie":false,
"b_cmd_ver_var_figurant":false,
"b_cmd_ver_var_correspondant_pas":false,
"rec_date":"2015-05-28 15:47:25",
"dh_cmd_validation":null,
"dh_cmd_abandon":null,
"d_cmd_validite":"2015-05-28",
"d_cmd_livraison":"2015-05-28",
"d_cmd_livraison_extreme":"2015-06-04",
"d_cmd_livraison_effective":null,
"d_cmd_reglement_signe":null,
"s_cmd_plaque_police": null,
"s_cmd_format_plaque": null,
"s_cmd_assurance": null,
"b_cmd_plaque_interchangeable": false,
"i_pve_livraison": 98,
"s_cmd_type_piece_identite": "Passeport",
"s_cmd_numero_piece_identite": "*******",
"s_pve_libelle_livraison": "Point de vente exemple",
"i_com_id_commande_createur": **,
"s_com_prenom_commande_createur": "*******",
"s_com_nom_commande_createur": "*******",
"i_com_id_commande_valideur": **,
"s_com_prenom_commande_valideur": "*******",
"s_com_nom_commande_valideur": "*******",
"b_cmd_check": false
}
},

"Contact":{
"i_con_id":28286,
"i_cli_id":1,
"i_lan_id":null,
"i_con_rfm":0,
"i_con_etat":null,
"i_con_facebook_id":null,
"i_fre_id":null,
"i_com_id_createur":-1,
"s_com_nom_createur":"Système",
"s_com_prenom_createur":null,
"s_con_login":null,
"f_con_gps_latitude":null,
"f_con_gps_longitude":null,
"b_con_supprime":false,
"rec_date":"2015-05-28 15:46:31",
"dh_con_derniere_action":null,
"dh_con_derniere_connexion":null,
"s_con_image":null,
"aC1ContactHistoriqueDTO":[
{
"i_chi_id":2096,
"i_cli_id":1,
"i_com_id":-1,
"i_chi_type":2096,
"s_chi_data_extend":null,
"gen_s_com_nom":"Système",
"gen_s_com_prenom":null,
"rec_date":"2015-05-28 15:46:31"
}
],
"aC1ContactAbonnementDTO":[
{
"i_swe_id":9,
"s_swe_nom":"Bee2link automobiles",
"gen_s_cab_email":null,
"b_cab_actif":false,
"dh_cab_derniere_activation":null,
"dh_cab_derniere_desactivation":null
},
{
"i_swe_id":10,
"s_swe_nom":"Groupe Bee2link",
"gen_s_cab_email":null,
"b_cab_actif":false,
"dh_cab_derniere_activation":null,
"dh_cab_derniere_desactivation":null
}
],
"aC1ContactChampReponseDTO":{
"EMAIL":{"i_ccr_id":323282,"i_cdy_id":54,"s_ccr_valeur":"contact@bee2link.fr","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"PHONE":{"i_ccr_id":323281,"i_cdy_id":51,"s_ccr_valeur":"0303030303","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"CITY":{"i_ccr_id":323280,"i_cdy_id":48,"s_ccr_valeur":"Autun","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"ZIPCODE":{"i_ccr_id":323279,"i_cdy_id":47,"s_ccr_valeur":"71400","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"FIRSTNAME":{"i_ccr_id":323278,"i_cdy_id":40,"s_ccr_valeur":"Philippe","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"NAME":{"i_ccr_id":323277,"i_cdy_id":34,"s_ccr_valeur":"CORBIER","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]},
"CIVILITY":{"i_ccr_id":323276,"i_cdy_id":33,"s_ccr_valeur":"Monsieur","b_ccr_optin":false,"rec_date":"2015-05-28 15:46:31","aC1ContactChampReponseValeurDTO":[],"aCPlugin2ServiceValeurDTO":[]}
}
},

"insCCompteDTOCreateur":{
"i_com_id":null,
"i_lan_id":null,
"i_cfo_id":null,
"i_pve_id_defaut":null,
"i_cli_id_defaut":null,
"s_com_login":null,
"s_com_nom":"Système",
"s_com_prenom":null,
"s_com_email":null,
"s_com_telephone_portable":null,
"s_com_telephone_fixe":null,
"s_com_fax":null,
"s_com_photo":null,
"s_cfo_libelle":null,
"s_com_sip":null,
"b_com_actif":null,
"b_com_admin":null,
"b_com_admin_groupe":null
},

"insCCompteDTOSuivi":{
"i_com_id":null,
"i_lan_id":null,
"i_cfo_id":null,
"i_pve_id_defaut":null,
"i_cli_id_defaut":null,
"s_com_login":null,
"s_com_nom":"Système",
"s_com_prenom":null,
"s_com_email":null,
"s_com_telephone_portable":null,
"s_com_telephone_fixe":null,
"s_com_fax":null,
"s_com_photo":null,
"s_cfo_libelle":null,
"s_com_sip":null,
"b_com_actif":null,
"b_com_admin":null,
"b_com_admin_groupe":null
}

}