— Yassine 14/09/2015 07:41
Constitue la liste des dossiers comptables auxquels le user identifié a droit.
Les champs sont simplement : id,label.
La sélection se base sur FAC.DOS / DOS.US.CODE ←→ FWI.SES.US.CODE
Paramètrage des accès aux dossiers par utilisateur pour le partie web :
Accountix > Paramètres > Dossiers Touche de fonction <Util>
{"id": "AC_DOS","$schema": "http://json-schema.org/schema#","title": "Dossiers autorisés","type": "object","properties": {"id": {"title": "Dossier","type": "string"},"label": {"title": "Nom Société","type": "string"}},"required": ["id","label"]}
Response code | Response Header | ResponseBody |
---|---|---|
200 | Content-Type: application/json | collection object:dos |
[ { "Code": "AC.BRASIL", "Title": "", "Label": "BRASIL", "Contact": "", "AdressRue1": "", "AdressRue2": "", "AdressNum": "", "AdressLand": "LU", "AdressPostCode": "", "AdressLocality": "", "AdressRegion": "", "Language": "F", "Activity": "", "TvaPays": "LU", "TvaId": "", "Matricule": "", "SocietyType": { "Id": "M", "Label": "Personne morale" }, "TaxationOffice": 0, "RcNum": "", "Communication": [ { "Type": { "Id": "", "Label": "" }, "Contact": "", "Pref": 0, "Tel": "" } ], "Exercices": [ { "code": 2009, "dateBegin": "01/01/2009", "dateEnd": "31/12/2009", "exerciceClosure": { "Id": "0", "Label": "Non" }, "exerciceClosureRem": "", "periods": [ { "num": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ], "dateBegin": [ "01/01/2009", "01/02/2009", "01/03/2009", "01/04/2009", "01/05/2009", "01/06/2009", "01/07/2009", "01/08/2009", "01/09/2009", "01/10/2009", "01/11/2009", "01/12/2009" ], "dateEnd": [ "31/01/2009", "28/02/2009", "31/03/2009", "30/04/2009", "31/05/2009", "30/06/2009", "31/07/2009", "31/08/2009", "30/09/2009", "31/10/2009", "30/11/2009", "31/12/2009" ], "remark": [], "closure": [ { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" }, { "Id": "0", "Label": "Non" } ], "closureRemark": [ "", "", "", "", "", "", "", "", "", "", "", "" ] } ] } ]