Aller au contenu principal

getAffaires

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

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

Appel :

{
"Authentification": {
[...]
},
"iLimit": 5, /* Optional - integer - Maximum number of results returned (if not specified, 20 by default) */
"iOffset": 10, /* Optional - integer - Offset*/
"i_aff_statut": 2, /* Optional - integer|array - Status (1 => ongoing, 2 => won, 3 => lose) */
"i_aff_statut_NOT_IN": 3, /* Optional - integer|array - Status excluded (1 => ongoing, 2 => won, 3 => lose) */
"s_aff_origine": "", /* Optional - string|array - Business origin */
"s_aff_origine_NOT_IN": "", /* Optional - string|array - Business origin excluded */
"bCreateur": false, /* Optional - boolean - Show account creator */
"bSuiviPar": false, /* Optional - boolean - Show account follower */
"b_cmd_check": true, /* Optional - boolean - Order concerned */
"rec_dateMin": "", /* Optional - date - Creation date min */
"rec_dateMax": "", /* Optional - date - Creation date max */
"dh_aff_derniere_modificationMin": "", /* Optional - date - Last update date min */
"dh_aff_derniere_modificationMax": "", /* Optional - date - Last update date max */
}

Réponse :

{
"279": {
"i_aff_id": 279, /* integer - Business case ID */
"i_aff_statut": 2, /* integer */
"i_pve_id_createur": 55, /* integer */
"i_cli_id_createur": 1, /* integer */
"s_aff_origine": null, /* string */
"i_con_id_cotitulaire": null, /* integer */
"rec_date": "2015-02-27 15:19:55", /* datetime */
"dh_aff_derniere_modification": "2016-03-30 18:51:23", /* datetime */
"i_con_id": 27777 /* integer */
},
"280": {
"i_aff_id": 280,
"i_aff_statut": 2,
"i_pve_id_createur": 55,
"i_cli_id_createur": 1,
"s_aff_origine": null,
"i_con_id_cotitulaire": null,
"rec_date": "2015-02-27 15:23:16",
"dh_aff_derniere_modification": "2015-10-21 14:12:02",
"i_con_id": 27776
},
}