Comptabilite.Ecriture¶
En bref
8 opérations sur 4 chemins. Préfixe /v2. Authentification JWT (voir Démarrer).
Opérations¶
| Méthode | Chemin | Rôle |
|---|---|---|
GET |
/v2/ecriture |
Lister les enregistrements |
POST |
/v2/ecriture |
Créer l'enregistrement |
PUT |
/v2/ecriture |
Mettre à jour l'enregistrement |
DELETE |
/v2/ecriture |
Supprimer l'enregistrement |
GET |
/v2/ecriture/count |
Compter les enregistrements |
POST |
/v2/ecriture/count |
Compter les enregistrements |
POST |
/v2/ecriture/recherche |
Rechercher des enregistrements |
POST |
/v2/ecriture/save |
Créer ou mettre à jour l'enregistrement (upsert) |
Rôle déduit
La spécification ne porte ni summary ni description d'opération : la colonne Rôle est déduite mécaniquement de la méthode HTTP et du chemin.
Détail¶
GET /v2/ecriture¶
Lister les enregistrements.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
sort |
query | string |
non | — |
where |
query | string |
non | — |
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X GET "https://<votre-connecteur>/v2/ecriture?sort=<sort>&where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/ecriture¶
Créer l'enregistrement.
Corps de la requête (application/json)
Schéma EcritureDto — 58 propriétés (détail : Schémas).
Écriture partielle : seules les propriétés présentes dans le corps sont écrites (voir Conventions).
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X POST "https://<votre-connecteur>/v2/ecriture" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"id": 0, "numeroLien": 0, "codeJournal": "…"}'
PUT /v2/ecriture¶
Mettre à jour l'enregistrement.
Corps de la requête (application/json)
Schéma EcritureDto — 58 propriétés (détail : Schémas).
Écriture partielle : seules les propriétés présentes dans le corps sont écrites (voir Conventions).
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X PUT "https://<votre-connecteur>/v2/ecriture" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"id": 0, "numeroLien": 0, "codeJournal": "…"}'
DELETE /v2/ecriture¶
Supprimer l'enregistrement.
Corps de la requête (application/json)
Schéma EcritureDto — 58 propriétés (détail : Schémas).
Écriture partielle : seules les propriétés présentes dans le corps sont écrites (voir Conventions).
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X DELETE "https://<votre-connecteur>/v2/ecriture" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"id": 0, "numeroLien": 0, "codeJournal": "…"}'
GET /v2/ecriture/count¶
Compter les enregistrements.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
where |
query | string |
non | — |
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X GET "https://<votre-connecteur>/v2/ecriture/count?where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/ecriture/count¶
Compter les enregistrements.
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X POST "https://<votre-connecteur>/v2/ecriture/count" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/ecriture/recherche¶
Rechercher des enregistrements.
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X POST "https://<votre-connecteur>/v2/ecriture/recherche" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/ecriture/save¶
Créer ou mettre à jour l'enregistrement (upsert).
Corps de la requête (application/json)
Schéma EcritureDto — 58 propriétés (détail : Schémas).
Écriture partielle : seules les propriétés présentes dans le corps sont écrites (voir Conventions).
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X POST "https://<votre-connecteur>/v2/ecriture/save" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"id": 0, "numeroLien": 0, "codeJournal": "…"}'
Schémas¶
Schémas résolus à un niveau : les propriétés qui référencent un autre schéma sont citées par leur nom, sans être dépliées.
EcritureDto¶
EcritureDto — 58 propriétés
| Propriété | Type | Notes |
|---|---|---|
id |
integer (int32) |
— |
numeroLien |
integer (int32) |
— |
codeJournal |
string |
nullable |
datePeriode |
string (date-time) |
nullable |
jourEcriture |
integer (int32) |
— |
dateSaisie |
string (date-time) |
nullable |
numeroPiece |
string |
nullable |
referencePiece |
string |
nullable |
pieceTresorerie |
string |
nullable |
reference |
string |
nullable |
compteG |
string |
nullable |
compteGContrepartie |
string |
nullable |
numeroTiers |
string |
nullable |
numeroTiersContrepartie |
string |
nullable |
libelle |
string |
nullable |
sens |
integer (int32) |
— |
montant |
number (double) |
— |
quantite |
number (double) |
— |
numeroReglement |
integer (int32) |
— |
echeance |
string (date-time) |
nullable |
statutReglement |
integer (int32) |
— |
montantRegle |
number (double) |
— |
dateDernierReglement |
string (date-time) |
nullable |
idDevise |
integer (int32) |
— |
parite |
number (double) |
— |
montantDevise |
number (double) |
— |
typeLettrage |
integer (int32) |
— |
numeroLettrage |
string |
nullable |
typePointage |
integer (int32) |
— |
pointage |
string |
nullable |
typeLettrageQuantite |
integer (int32) |
— |
numeroLettrageQuantite |
string |
nullable |
codeTaxe |
string |
nullable |
provenanceTaxe |
integer (int32) |
— |
norme |
integer (int32) |
— |
niveauRappel |
integer (int32) |
— |
typePenalite |
integer (int32) |
— |
datePenalite |
string (date-time) |
nullable |
dateRelance |
string (date-time) |
nullable |
idRibBanque |
integer (int32) |
— |
dateOperation |
string (date-time) |
nullable |
dateRapprochement |
string (date-time) |
nullable |
remiseEnBanque |
boolean |
— |
exportRapprochement |
integer (int32) |
— |
impression |
integer (int32) |
— |
cloture |
boolean |
— |
numeroCloture |
integer (int32) |
— |
dateCloture |
string (date-time) |
nullable |
typeCentralisation |
integer (int32) |
— |
typeAN |
integer (int32) |
— |
typeRevision |
boolean |
— |
exportExpert |
integer (int32) |
— |
guidFactureElectronique |
string (uuid) |
nullable |
guidFichierFacture |
string (uuid) |
nullable |
idPaiementEnLigne |
string (uuid) |
nullable |
urlPaiementEnLigne |
string |
nullable |
provenanceExterne |
integer (int32) |
— |
sequenceExterne |
integer (int32) |
— |