Aller au contenu

Comptabilite.Reglement

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/reglement Lister les enregistrements
POST /v2/reglement Créer l'enregistrement
PUT /v2/reglement Mettre à jour l'enregistrement
DELETE /v2/reglement Supprimer l'enregistrement
GET /v2/reglement/count Compter les enregistrements
POST /v2/reglement/count Compter les enregistrements
POST /v2/reglement/recherche Rechercher des enregistrements
POST /v2/reglement/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/reglement

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/reglement?sort=<sort>&where=<where>" \
  -H "Authorization: Bearer <jeton>" \
  -H "Accept: application/json"

POST /v2/reglement

Créer l'enregistrement.

Corps de la requête (application/json)

Schéma ReglementDto — 40 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/reglement" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"id": 0, "numeroTiers": "…", "date": "2026-01-01T00:00:00"}'

PUT /v2/reglement

Mettre à jour l'enregistrement.

Corps de la requête (application/json)

Schéma ReglementDto — 40 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/reglement" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"id": 0, "numeroTiers": "…", "date": "2026-01-01T00:00:00"}'

DELETE /v2/reglement

Supprimer l'enregistrement.

Corps de la requête (application/json)

Schéma ReglementDto — 40 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/reglement" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"id": 0, "numeroTiers": "…", "date": "2026-01-01T00:00:00"}'

GET /v2/reglement/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/reglement/count?where=<where>" \
  -H "Authorization: Bearer <jeton>" \
  -H "Accept: application/json"

POST /v2/reglement/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/reglement/count" \
  -H "Authorization: Bearer <jeton>" \
  -H "Accept: application/json"

POST /v2/reglement/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/reglement/recherche" \
  -H "Authorization: Bearer <jeton>" \
  -H "Accept: application/json"

POST /v2/reglement/save

Créer ou mettre à jour l'enregistrement (upsert).

Corps de la requête (application/json)

Schéma ReglementDto — 40 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/reglement/save" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"id": 0, "numeroTiers": "…", "date": "2026-01-01T00:00:00"}'

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.

ReglementDto

ReglementDto — 40 propriétés
Propriété Type Notes
id integer (int32)
numeroTiers string nullable
date string (date-time)
reference string nullable
libelle string nullable
montant number (double)
montantDevise number (double)
typeReglement integer (int32)
numeroPiece string nullable
idDevise integer (int32)
coursDevise number (double)
estImpute boolean
dateEcheanceContrepartie string (date-time)
codeJournal string nullable
dateCreation string (date-time)
dateModification string (date-time)
compteG string nullable
compteGContrepartie string nullable
numeroReglement integer (int32)
estComptabilise boolean
idEcriture integer (int32)
typeTiers integer (int32)
dateImpaye string (date-time) nullable
heure string nullable
idCaisse integer (int32)
idCaissier integer (int32)
miseEnBanque boolean
transfere boolean
cloture boolean
ticket boolean
soucheTicket integer (int32)
numeroTiersPayeurOrigine string nullable
compteGEcart string nullable
codeJournalEcart string nullable
montantEcart number (double)
numeroBonAchat integer (int32)
statutValide integer (int32)
montantImputeAnterieur number (double)
montantCommission number (double)
montantNet number (double)

Voir aussi