Comment ça marche? Trucs & astuces
Produit Accountix
Projet Webservice
Mot clé ACX WS
Statut :V:

Rédacteur(s)

Yassine 14/09/2015 07:41

Description

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

Validation

Paramètrage des accès aux dossiers par utilisateur pour le partie web :

Accès par

Accountix > Paramètres > Dossiers
Touche de fonction <Util>

Vue d'écrans

Règles de gestion

  • La colonne Web indique si l'opérateur (user) a accès au compte via l'interface Web :
  • les valeurs possibles sont :
    1. Oui
    2. Non
    3. vide (équivalent à Non)
  • sous SB+ SB/XA, ces utilisateurs se verront substitués (mapping via programmes Webservice) par l'utilisateur “WEB” codifié SB.RP (remote process). cet utilisateur sera toujours autorisé.

Object DOS

{"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"]}

Links

Description

  • Title : dossiers autorisés
  • Relate : dos
  • UriMethod : GET
  • UriScheme (href): /v1/dos
  • UriHeaders :
    • x-witoken = Valeur initiée par le début de session
  • Parametres : null
  • Body : null
  • Authentication : ACWS_LOGIN (login autorisé)
 

ReturnValues

Response code Response Header ResponseBody
200 Content-Type: application/json collection object:dos

Example

Request
Response
    [
    {
        "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": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                        ]
                    }
                ]
            }
    ] 
insoft/ac/doc/webservice/dos.txt · Dernière modification: 15/09/2015 07:32 par Yassine
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki