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

Rédacteur(s)

Yassine 14/09/2015 07:53

Description

Constitue la définition du dossier.

Validation

point 1

  1. Définition des champs supplémentaires (label, dictionnaire, sep…). Ecran / dictionnaire à récupérer
  • exe
  • exe.per
  • lge
  • jnl
  • tva
  • pay
  • dev
  • dev.par

autres points

Object DOS

{"id": "AC_DOS_DET","$schema": "http://json-schema.org/schema#","title": "Dossiers Détaillés","type": "object","properties": {"Code": {"title": "Dossier","type": "string"},"Title": {"title": "St/titre","type": "string"},"Label": {"title": "Société","type": "string"},"Contact": {"title": "Contact","type": "string"},"AdressRue1": {"title": "Rue","type": "string"},"AdressRue2": {"title": "        ","type": "string"},"AdressNum": {"title": "No","type": "string"},"AdressLand": {"title": "Pays","type": "string"},"AdressPostCode": {"title": "CP-Loc.","type": "string"},"AdressLocality": {"title": "Localité","type": "string"},"AdressRegion": {"title": "Région","type": "string"},"Language": {"title": "Langue","type": "string"},"Activity": {"title": "Activité","type": "string"},"TvaPays": {"title": "Pays TVA","type": "string"},"TvaId": {"title": "ID CEE TVA","type": "string"},"Matricule": {"title": "Matricule","type": "string"},"SocietyType":{"title": "Type société","type": "object","properties": {"Id": {"title": "Type société","type": "string","enum": [    "P",    "M",    "A"]},"Label": {"title": "Type société","type": "string","enum": [    "Personne physique",    "Personne morale",    "Autre"]}}},"TaxationOffice": {"title": "Bureau d'Imp.","type": "number"},"RcNum": {"title": "Numéro RC","type": "string"},"Communication":{"title": "T","type": "array","properties": {"Type":{"title": "T","type": "object","properties": {"Id": {"title": "T","type": "string","enum": [    "1",    "2",    "3",    "4",    "5",    "6",    "7",    "8",    "9",    "10",    "11"]},"Label": {"title": "T","type": "string","enum": [    "Téléphone",    "Fax",    "@Email",    "@Email EDI comptable",    "Gsm",    "Compta.",    "Salaires",    "Télex",    "Divers",    "Web",    "Responsable Dossier"]}}},"Contact": {"title": "Fonction","type": "string"},"Pref": {"title": "Préf","type": "number"},"Tel": {"title": "Téléphone","type": "string"}}},"Analytique": {"title": "Analytique Existe","type": "number"},"Exercices": {"id": "AC_EXE","title": "Exercices","type": "object","properties": {"Code": {"title": "Exercice","type": "number"},"DateBegin": {"title": "Date Début","type": "string","format": "date"},"DateEnd": {"title": "Date Fin","type": "string","format": "date"},"ExerciceClosure":{"title": "Clôturé","type": "object","properties": {"Id": {"title": "Clôturé","type": "string","enum": [    "1",    "0"]},"Label": {"title": "Clôturé","type": "string","enum": [    "Oui",    "Non"]}}},"ExerciceClosureRem": {"title": "Commentaire de Clôture","type": "string"},"Currency": {"title": "Devise","type": "string"},"CurrencyManagement": {"title": "Dev. Gestion","type": "array"},"Periods":{"title": "Exercice","type": "array","properties": {"Num": {"title": "Exercice","type": "number"},"DateBegin": {"title": "Début","type": "string","format": "date"},"DateEnd": {"title": "Fin","type": "string","format": "date"},"Remark": {"title": "Commentaire","type": "string"},"Closure":{"title": "Cloture","type": "object","properties": {"Id": {"title": "Cloture","type": "string","enum": [    "1",    "0",    "2"]},"Label": {"title": "Cloture","type": "string","enum": [    "Provisoire",    "Non",    "Définitive"]},"Remark": {"title": "Commentaire cloture","type": "string"}}}}}},"required": ["Code","DateBegin","DateEnd","Periods.Closure.Id"]},"Journaux": {"id": "AC_JNL","title": "Journaux","type": "object","properties": {"Code": {"title": "Journal","type": "string"},"Label": {"title": "Désignation","type": "string"},"OperationType": {"title": "Opération","type": "string"},"Active":{"title": "Actif","type": "object","properties": {"Id": {"title": "Actif","type": "string","enum": [    "1",    "0"]},"Label": {"title": "Actif","type": "string","enum": [    "Oui",    "Non"]}}},"Tva":{"title": "Saisie sur un compte de TVA","type": "object","properties": {"Id": {"title": "Saisie sur un compte de TVA","type": "string","enum": [    "1",    "0"]},"label": {"title": "Saisie sur un compte de TVA","type": "string","enum": [    "Oui",    "Non"]}}},"OpenPost":{"title": "Gestion Poste Ouvert","type": "object","properties": {"Id": {"title": "Gestion Poste Ouvert","type": "string","enum": [    "1",    "0"]},"Label": {"title": "Gestion Poste Ouvert","type": "string","enum": [    "Oui",    "Non"]}}},"Account": {"title": "Compte Financier","type": "string"}},"required": ["Code","Label","OperationType","OpenPost.Id"]},"Langues": {"id": "AC_LGE","title": "Langues","type": "object","properties": {"Code": {"title": "Langue","type": "string"},"Label": {"title": "Désignation","type": "string"}},"required": ["Code"]},"TVA": {"id": "AC_TVA","title": "Codes TVA","type": "object","properties": {"Code": {"title": "Code TVA","type": "string"},"Label": {"title": "Libellé","type": "string"},"Environement":{"title": "Environnement","type": "object","properties": {"Id": {"title": "Environnement","type": "string","enum": [    "1",    "2",    "3",    "4"]},"Label": {"title": "Environnement","type": "string","enum": [    "Pays",    "CEE et hors pays",    "Hors CEE",    "CEE opération triangulaire"]}}},"OperationType": {"title": "Type opération","type": "string","enum": [    "1",    "2"]},"PrctDeclaration": {"title": "% TVA DEC","type": "number"},"PrctCompta": {"title": "% TVA CPTA","type": "number"},"PrctNoDed": {"title": "& TVA non deduct","type": "number"}},"required": ["Code","Label","OperationType"]},"Pays": {"id": "AC_PAY","title": "Pays","type": "object","properties": {"Code": {"title": "Pays","type": "string"},"Label": {"title": "Libellé","type": "string"},"Devise": {"title": "Devise","type": "string"},"PhonePrefix": {"title": "Préfixe tél","type": "string"},"PostCodePrefix": {"title": "Préfixe Code Postal","type": "string"},"TvaMask": {"title": "Masque no TVA","type": "string"},"Languages": {"title": "Langue","type": "array"},"Continent":{"title": "Continent","type": "object","properties": {"Id": {"title": "Continent","type": "string","enum": [    "1",    "2",    "3",    "4",    "5",    "6"]},"Label": {"title": "Continent","type": "string","enum": [    "AMERIQUE",    "AFRIQUE",    "ASIE",    "EUROPE",    "OCEANIE",    "ANTARCTIQUE"]}}},"GeoZone":{"title": "Zone Géographique","type": "object","properties": {"Id": {"title": "Zone Géographique","type": "string","enum": [    "1",    "2",    "3",    "4",    "5",    "6",    "7",    "8",    "9",    "10",    "11",    "12",    "13",    "14",    "15"]},"Label": {"title": "Zone Géographique","type": "string","enum": [    "EUROPE",    "AFRIQUE SUBSAHRIENNE",    "AMERIQUE DU SUD",    "AMERIQUE DU NORD",    "AMERIQUE CENTRALE",    "MOYEN ORIENT",    "FRANCE",    "AFRIQUE DU NORD",    "ASIE OCCIDENTALE",    "ASIE ORIENTALE",    "ASIE SUD-EST",    "ASIE MERIDIONALE",    "EUROPE DE L'EST",    "OCEANIE",    "ANTARCTIQUE"]}}},"IbanLen": {"title": "Longueur IBAN","type": "number"},"CeeMember":{"title": "Membre CEE","type": "object","properties": {"Id": {"title": "Membre CEE","type": "string","enum": [    "1",    "0"]},"Label": {"title": "Membre CEE","type": "string","enum": [    "Oui",    "Non"]}}}},"required": ["Code","Label"]},"Devises": {"id": "AC_DEV","title": "Devises","type": "object","properties": {"Code": {"title": "Devise","type": "string"},"Label": {"title": "Libellé","type": "string"},"GestionEuro":{"title": "Gestion Euro","type": "object","properties": {"Id": {"title": "Gestion Euro","type": "string","enum": [    "1",    "0"]},"Label": {"title": "Gestion Euro","type": "string","enum": [    "Oui",    "Non"]}}},"DateValidation": {"title": "Date validation","type": "string","format": "date"}},"required": ["Code","Label","GestionEuro.Id","GestionEuro.Label"]},"Parites": {"id": "AC_PAR","title": "Parités","type": "object","properties": {"OriginalDevise": {"title": "Devise d'origine","type": "string"},"DestinationDevise": {"title": "Devise destination","type": "string"},"ParityValue": {"title": "Valeur","type": "number"},"Amount": {"title": "Montant","type": "number"}},"required": ["ParityValue"]},"Delais": {"id": "AC_DEL","title": "Délai de paiement","type": "object","properties": {"Code": {"title": "Délai","type": "string"},"Label": {"title": "Libellé","type": "string"}},"required": ["Code"]}},"required": ["Code","Label","AdressLand","Language"]}

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.det.txt · Dernière modification: 17/11/2016 08:19 par Alain Stéphan
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki