Comptabilite.CompteGeneral¶
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/comptegeneral |
Lister les enregistrements |
POST |
/v2/comptegeneral |
Créer l'enregistrement |
PUT |
/v2/comptegeneral |
Mettre à jour l'enregistrement |
DELETE |
/v2/comptegeneral |
Supprimer l'enregistrement |
GET |
/v2/comptegeneral/count |
Compter les enregistrements |
POST |
/v2/comptegeneral/count |
Compter les enregistrements |
POST |
/v2/comptegeneral/recherche |
Rechercher des enregistrements |
POST |
/v2/comptegeneral/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/comptegeneral¶
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/comptegeneral?sort=<sort>&where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/comptegeneral¶
Créer l'enregistrement.
Corps de la requête (application/json)
Schéma CompteGeneralDto — 24 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/comptegeneral" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numero": "…", "intitule": "…", "raccourci": "…"}'
PUT /v2/comptegeneral¶
Mettre à jour l'enregistrement.
Corps de la requête (application/json)
Schéma CompteGeneralDto — 24 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/comptegeneral" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numero": "…", "intitule": "…", "raccourci": "…"}'
DELETE /v2/comptegeneral¶
Supprimer l'enregistrement.
Corps de la requête (application/json)
Schéma CompteGeneralDto — 24 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/comptegeneral" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numero": "…", "intitule": "…", "raccourci": "…"}'
GET /v2/comptegeneral/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/comptegeneral/count?where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/comptegeneral/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/comptegeneral/count" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/comptegeneral/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/comptegeneral/recherche" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/comptegeneral/save¶
Créer ou mettre à jour l'enregistrement (upsert).
Corps de la requête (application/json)
Schéma CompteGeneralDto — 24 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/comptegeneral/save" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numero": "…", "intitule": "…", "raccourci": "…"}'
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.
CompteGeneralDto¶
CompteGeneralDto — 24 propriétés
| Propriété | Type | Notes |
|---|---|---|
numero |
string |
nullable |
intitule |
string |
nullable |
raccourci |
string |
nullable |
type |
integer (int32) |
— |
nature |
integer (int32) |
— |
reportANouveau |
integer (int32) |
— |
estEnSommeil |
boolean |
— |
estTiers |
boolean |
— |
classement |
string |
nullable |
optionAnalytique |
boolean |
— |
compteReporting |
string |
nullable |
codeTaxe |
string |
nullable |
idDevise |
integer (int32) |
— |
optionDevise |
boolean |
— |
optionEcheance |
boolean |
— |
optionQuantite |
boolean |
— |
optionLettrage |
boolean |
— |
optionLettrageSaisie |
boolean |
— |
optionRegroupement |
boolean |
— |
reportAnalytique |
boolean |
— |
sautLignes |
integer (int32) |
— |
sautPage |
boolean |
— |
dateCreation |
string (date-time) |
— |
dateModification |
string (date-time) |
— |