DOCUMENT 

LISTER LES DOCUMENTS

Cette méthode retourne l'entièreté des documents auxquels l'utilisateur, authentifié via le token, a accès.


URLS DISPONIBLES

MÉTHODE URL
GET /storages/:token
Url de base.

MÉTHODE URL
GET /storages/:token/:tri/:filtre
Url de base + les deux paramètre interchangeables et optionnels. Pour plus d'informations sur ces paramètres référez vous à la section tri et filtre de la section general

PARAMÈTRES D'URL

NOM REQUIS DESCRIPTION
Token requis Le token est requis et est fourni par l'api, voir la documentation sur le token pour plus de renseignements.
Filtre optionnel Le filtre est sous forme de chaine de caractères, voir la documentation sur le filtre pour plus de renseignements.
Tri optionnel Le tri est sous forme de chaine de caractère, voir la documentation sur le tri pour plus de renseignements.
Vous pouvez également ajouter les paramètres pour la pagination, veuillez vous referer à la section pagination pour de plus amples informations.


RÉSULTAT

Le retour contient les données des documents ainsi que les données des interactions qui contiennent les documents.

Exemple de résultat lors d'un retour positif :
 
 
{
	"result": 1,
	"data": [
		{
			"inter_cust1": {
				"title": "inter_cust1",
				"value": ""
			},
			"inter_cust2": {
				"title": "inter_cust2",
				"value": ""
			},
			"inter_cust3": {
				"title": "inter_cust3",
				"value": ""
			},
			"inter_cust4": {
				"title": "inter_cust4",
				"value": ""
			},
			"inter_cust5": {
				"title": "inter_cust5",
				"value": ""
			},
			"idaction": {
				"title": "idaction",
				"value": "153"
			},
			"idutilisateur": {
				"title": "idutilisateur",
				"value": "1"
			},
			"idcontact": {
				"title": "idcontact",
				"value": "178"
			},
			"idsociete": {
				"title": "idsociete",
				"value": "70"
			},
			"idprojet": {
				"title": "idprojet",
				"value": ""
			},
			"date_mod": {
				"title": "date_mod",
				"value": "2012-05-25 13:14:00"
			},
			"date_action": {
				"title": "date_action",
				"value": "2012-05-25 13:14:00"
			},
			"duree_heures": {
				"title": "duree_heures",
				"value": "1"
			},
			"duree_minutes": {
				"title": "duree_minutes",
				"value": "0"
			},
			"date_fin": {
				"title": "date_fin",
				"value": "2012-05-25 14:14:00"
			},
			"date_echeance": {
				"title": "date_echeance",
				"value": "2012-07-31"
			},
			"date_stat": {
				"title": "date_stat",
				"value": "2012-05-25"
			},
			"sujet": {
				"title": "sujet",
				"value": "Client \/ Cahier charge \/ web"
			},
			"idmedia": {
				"title": "idmedia",
				"value": "10"
			},
			"idtype_action": {
				"title": "idtype_action",
				"value": "220"
			},
			"idsuivi_facture": {
				"title": "idsuivi_facture",
				"value": ""
			},
			"source": {
				"title": "source",
				"value": "Livre"
			},
			"note": {
				"title": "note",
				"value": ""
			},
			"etape_suivante": {
				"title": "etape_suivante",
				"value": "signature fin juillet"
			},
			"etat": {
				"title": "etat",
				"value": "30"
			},
			"all_day": {
				"title": "all_day",
				"value": "1"
			},
			"priorite": {
				"title": "priorite",
				"value": "0"
			},
			"ss_datetime": {
				"title": "ss_datetime",
				"value": ""
			},
			"ss_status": {
				"title": "ss_status",
				"value": "0"
			},
			"idaction_parent": {
				"title": "idaction_parent",
				"value": ""
			},
			"livrable": {
				"title": "livrable",
				"value": "0"
			},
			"droits": {
				"title": "droits",
				"value": "000005;000026;000034;000040;000041;000043;000045;000066;000072;000085;000001;"
			},
			"type_id": {
				"title": "type_id",
				"value": "0"
			},
			"gross": {
				"title": "gross",
				"value": "0.000000"
			},
			"tax_amount": {
				"title": "tax_amount",
				"value": "0.000000"
			},
			"total": {
				"title": "total",
				"value": "0.000000"
			},
			"e_lock": {
				"title": "e_lock",
				"value": "0"
			},
			"e_idaction_from": {
				"title": "e_idaction_from",
				"value": ""
			},
			"e_modele_id": {
				"title": "e_modele_id",
				"value": ""
			},
			"e_stock_genere": {
				"title": "e_stock_genere",
				"value": "0"
			},
			"e_doc_genere": {
				"title": "e_doc_genere",
				"value": "0"
			},
			"e_facture_genere": {
				"title": "e_facture_genere",
				"value": "0"
			},
			"e_bl_genere": {
				"title": "e_bl_genere",
				"value": "0"
			},
			"e_commande_fournisseur_genere": {
				"title": "e_commande_fournisseur_genere",
				"value": "0"
			},
			"e_vente_gagnee_genere": {
				"title": "e_vente_gagnee_genere",
				"value": "0"
			},
			"e_biller_id": {
				"title": "e_biller_id",
				"value": ""
			},
			"paiement_txt": {
				"title": "paiement_txt",
				"value": ""
			},
			"rappel_envoye": {
				"title": "rappel_envoye",
				"value": "0"
			},
			"e_rappel_facture_envoye": {
				"title": "e_rappel_facture_envoye",
				"value": "0"
			},
			"idaction_recurrence": {
				"title": "idaction_recurrence",
				"value": ""
			},
			"temps_passe_heures": {
				"title": "temps_passe_heures",
				"value": "0"
			},
			"temps_passe_minutes": {
				"title": "temps_passe_minutes",
				"value": "0.00"
			},
			"idfeedback": {
				"title": "idfeedback",
				"value": ""
			},
			"total_paiement": {
				"title": "total_paiement",
				"value": "0.000000"
			},
			"total_reste": {
				"title": "total_reste",
				"value": "0.000000"
			},
			"e_avoir_genere": {
				"title": "e_avoir_genere",
				"value": "0"
			},
			"date_paiement": {
				"title": "date_paiement",
				"value": ""
			},
			"date_bak": {
				"title": "date_bak",
				"value": "2012-05-25"
			},
			"note_html": {
				"title": "note_html",
				"value": ""
			},
			"texte_paiement": {
				"title": "texte_paiement",
				"value": ""
			},
			"bloc_haut": {
				"title": "bloc_haut",
				"value": ""
			},
			"bloc_bas": {
				"title": "bloc_bas",
				"value": ""
			},
			"bloc_total": {
				"title": "bloc_total",
				"value": ""
			},
			"bloc_bis": {
				"title": "bloc_bis",
				"value": ""
			},
			"sdoc_nomfichier": {
				"title": "sdoc_nomfichier",
				"value": ""
			},
			"avancement": {
				"title": "avancement",
				"value": "0"
			},
			"date_creation": {
				"title": "date_creation",
				"value": "2012-05-25 13:14:00"
			},
			"iddocument": {
				"title": "iddocument",
				"value": "1"
			},
			"titre": {
				"title": "titre",
				"value": "Devis Client"
			},
			"nom_fichier": {
				"title": "nom_fichier",
				"value": "201206271304110.SO436 - Cahier des charges du site web-1.pdf"
			},
			"version": {
				"title": "version",
				"value": "1"
			},
			"type": {
				"title": "type",
				"value": ""
			},
			"taille": {
				"title": "taille",
				"value": ""
			},
			"iddocument_type": {
				"title": "iddocument_type",
				"value": "37"
			},
			"ref_document": {
				"title": "ref_document",
				"value": ""
			},
			"document_date": {
				"title": "document_date",
				"value": ""
			},
			"document_ysprocid": {
				"title": "document_ysprocid",
				"value": ""
			},
			"document_ysstatus": {
				"title": "document_ysstatus",
				"value": "none"
			},
			"document_ysfileid": {
				"title": "document_ysfileid",
				"value": ""
			},
			"document_ysreqdate": {
				"title": "document_ysreqdate",
				"value": ""
			},
			"document_ysechdate": {
				"title": "document_ysechdate",
				"value": ""
			},
			"document_yssigndate": {
				"title": "document_yssigndate",
				"value": ""
			},
			"document_ysreq_response": {
				"title": "document_ysreq_response",
				"value": ""
			},
			"document_yssign_response": {
				"title": "document_yssign_response",
				"value": ""
			},
			"document_ysnom_fichier_signed": {
				"title": "document_ysnom_fichier_signed",
				"value": ""
			},
			"document_ysfile_response": {
				"title": "document_ysfile_response",
				"value": ""
			},
			"document_ysnom_fichier_req": {
				"title": "document_ysnom_fichier_req",
				"value": ""
			},
			"document_ysrefus_raison": {
				"title": "document_ysrefus_raison",
				"value": ""
			},
			"color": {
				"title": "color",
				"value": "{\"color_defaut\":\"#668cd9\", \"color_etat\":\"#52AE56\", \"color_utilisateur\":\"#5e5251\", \"color_priorite\":\"#FFFFFF\", \"color_priorite_echeance\":\"#e19400\", \"color_type\":\"#8d2c02\" }"
			}
		}
	}
]