# Mode d'appel

### 3.1 En entrée :

Il est possible d’activer Validata :&#x20;

* En chargeant un fichier dans le module concerné
* En indiquant l’url d’un fichier distant dans le module concerné&#x20;
* Il est possible de constater le fonctionnement de Validata en chargeant des fichiers d’exemple (avec ou sans erreur) proposés dans une liste déroulante.

### 3.2 En sortie :

Les éléments restitués par Validata sont :&#x20;

* Badge synthétique
* Synthèse du nombre d’erreur par type, par ligne et du nombre de ligne traitées
* Fichier de Log
* Erreurs en contexte

## 4. Automatisation (API)

Une API est disponible pour lancer à distance les tests de fichiers dans Validata.

L’API est décrite ici : <https://go.validata.fr/api/v1/apidocs#/>

### 4.1 En entrée :&#x20;

Les paramètres d’appel sont essentiellement :&#x20;

* Module de test concerné
* l’Url du fichier à tester
* Paramètre optionnel : ?

### 4.2 En sortie :&#x20;

L’API rend les éléments suivants :&#x20;

* Badge synthétique
* Synthèse du nombre d’erreur par type, par ligne et du nombre de ligne traitées
* Fichier de Log
* Autres informations : ?

### 4.3 Description de l’API&#x20;

* (à compléter)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opendatafrance.gitbook.io/validata/archiv/anciens-documents/mode-dappel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
