getContacts
Doc : https://ws4you.webapp4you.eu/api4you/index.php?rubrique=11&methode=getContacts
Route : https://ws4you.webapp4you.eu/application/s-1/get-contacts
Appel :
{
"Authentification": {
[...]
},
"iLimit": 20, /* optional - integer - Maximum number of contacts to be recovered (Default 20) */
"iOffset": 100, /* optional - integer - Offset from which you want to retrieve your contacts (Default 0) */
"i_con_rfm": 1, /* optional - integer - RFM status of the contacts you want to filter - 0 => Suspects, 1 => Prospects, 3 => Customers, 30 => Inactives, 31 => Actives */
"i_con_id": 123, /* optional - integer - ID of the contact you want to filter in particular */
"aRechercheAvancee": { /* optional - array - Advanced search table must be passed in the form : key => i_cdy_id (ID dynamic field) / value => s_ccr_value (value by which you want to refine your search) */
[...]
},
"aRechercheByAPIKey": { /* optional - array - Advanced search table must be passed in the form : key => API key / value => s_ccr_value (value by which you want to refine your search) */
"NAME": "Singeot"
},
"i_com_id": 1, /* optional - integer - Account ID following contacts */
"i_cli_id": 1064, /* optional - integer - ID of the entity */
"bVehiculePossede": false, /* optional - boolean - Include contact's vehicle */
}
Réponse :
Array
(
[144] => Array
(
[i_con_id] => 144
[i_cli_id] => 1
[i_lan_id] => 1
[i_con_rfm] => 1
[i_con_etat] => 2
[i_con_facebook_id] =>
[i_fre_id] =>
[i_com_id_createur] =>
[s_com_nom_createur] =>
[s_com_prenom_createur] =>
[s_con_login] => contact@bee2link.fr
[f_con_gps_latitude] =>
[f_con_gps_longitude] =>
[b_con_supprime] =>
[rec_date] => 2014-07-31 10:20:59
[dh_con_derniere_action] =>
[dh_con_derniere_connexion] =>
[gen_s_con_denomination] =>
[s_con_image] => https://webapp4you.eu/images/startupimage.png
[aC1ContactHistoriqueDTO] => Array
(
[0] => Array
(
[i_chi_id] => 219
[i_cli_id] => 1
[i_com_id] => 1
[i_chi_type] => 219
[s_chi_data_extend] =>
[gen_s_com_nom] => Oldelaf
[gen_s_com_prenom] => Gundersen
[rec_date] => 2014-09-19 13:39:00
)
[1] => Array
(
[i_chi_id] => 50
[i_cli_id] => 1
[i_com_id] => 1
[i_chi_type] => 50
[s_chi_data_extend] =>
[gen_s_com_nom] => Oldelaf
[gen_s_com_prenom] => Gundersen
[rec_date] => 2014-08-28 09:23:50
)
)
[aC1ContactCompteDTO] => Array
(
[0] => Array
(
[i_com_id] => 1
[gen_s_com_nom] => Oldelaf
[gen_s_com_prenom] => Gundersen
)
)
[aC1ContactAbonnementDTO] => Array
(
[0] => Array
(
[i_swe_id] => 10
[s_swe_nom] => Groupe Bee2link
[gen_s_cab_email] =>
[b_cab_actif] =>
[dh_cab_derniere_activation] =>
[dh_cab_derniere_desactivation] =>
)
[1] => Array
(
[i_swe_id] => 9
[s_swe_nom] => Bee2link automobiles
[gen_s_cab_email] =>
[b_cab_actif] =>
[dh_cab_derniere_activation] =>
[dh_cab_derniere_desactivation] =>
)
)
[aC1ContactChampReponseDTO] => Array
(
[53db60518cdd1] => Array
(
[i_ccr_id] => 7372
[i_cdy_id] => 79
[s_ccr_valeur] =>
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
[0] => Array
(
[i_psv_id] => 75
[i_psv_groupe_valeur] => 1
[s_psv_valeur_id] =>
[s_psv_valeur_valeur] =>
[s_psv_valeur_id_champ] => plugin_1_i_veh_maknatcode
)
)
)
[SELLER] => Array
(
[i_ccr_id] => 5706
[i_cdy_id] => 67
[s_ccr_valeur] => 1
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[FOREIGNER] => Array
(
[i_ccr_id] => 5697
[i_cdy_id] => 57
[s_ccr_valeur] => 0
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[CLIENT] => Array
(
[i_ccr_id] => 5696
[i_cdy_id] => 56
[s_ccr_valeur] => 0
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[BIRTHDATE] => Array
(
[i_ccr_id] => 5695
[i_cdy_id] => 55
[s_ccr_valeur] => 1991-08-12
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[EMAIL] => Array
(
[i_ccr_id] => 5694
[i_cdy_id] => 54
[s_ccr_valeur] => contact@bee2link.fr
[b_ccr_optin] => 1
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[CELLPHONE] => Array
(
[i_ccr_id] => 5693
[i_cdy_id] => 53
[s_ccr_valeur] => 0606060606
[b_ccr_optin] => 1
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[PROPHONE] => Array
(
[i_ccr_id] => 5692
[i_cdy_id] => 52
[s_ccr_valeur] =>
[b_ccr_optin] => 1
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[PHONE] => Array
(
[i_ccr_id] => 5691
[i_cdy_id] => 51
[s_ccr_valeur] => 0303030303
[b_ccr_optin] => 1
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[COUNTRY] => Array
(
[i_ccr_id] => 5690
[i_cdy_id] => 50
[s_ccr_valeur] => France
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[STATE] => Array
(
[i_ccr_id] => 5689
[i_cdy_id] => 49
[s_ccr_valeur] => Bourgogne
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[CITY] => Array
(
[i_ccr_id] => 5688
[i_cdy_id] => 48
[s_ccr_valeur] => Chalon-sur-Saône
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[ZIPCODE] => Array
(
[i_ccr_id] => 5687
[i_cdy_id] => 47
[s_ccr_valeur] => 71100
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[ADDRESSADD] => Array
(
[i_ccr_id] => 5686
[i_cdy_id] => 46
[s_ccr_valeur] =>
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[ADDRESSADD2] => Array
(
[i_ccr_id] => 5685
[i_cdy_id] => 45
[s_ccr_valeur] =>
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[ADDRESS2] => Array
(
[i_ccr_id] => 5684
[i_cdy_id] => 44
[s_ccr_valeur] =>
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[ADDRESS] => Array
(
[i_ccr_id] => 5683
[i_cdy_id] => 43
[s_ccr_valeur] => 16 Rue Guepet
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[COMPANYNAME] => Array
(
[i_ccr_id] => 5682
[i_cdy_id] => 42
[s_ccr_valeur] =>
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[TYPE] => Array
(
[i_ccr_id] => 5681
[i_cdy_id] => 41
[s_ccr_valeur] => Particulier
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[FIRSTNAME] => Array
(
[i_ccr_id] => 5680
[i_cdy_id] => 40
[s_ccr_valeur] => Jérémy
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[NAME] => Array
(
[i_ccr_id] => 5679
[i_cdy_id] => 34
[s_ccr_valeur] => Singeot
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[CIVILITY] => Array
(
[i_ccr_id] => 5678
[i_cdy_id] => 33
[s_ccr_valeur] => Monsieur
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
[DENOMINATION] => Array
(
[i_ccr_id] => 5679
[i_cdy_id] => 34
[s_ccr_valeur] => Vicomptesse
[b_ccr_optin] =>
[rec_date] => 2014-09-19 13:39:00
[aC1ContactChampReponseValeurDTO] => Array
(
)
[aCPlugin2ServiceValeurDTO] => Array
(
)
)
)
)
)