Tiers.TiersReglement
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/tiersreglement |
Lister les enregistrements |
POST |
/v2/tiersreglement |
Créer l'enregistrement |
PUT |
/v2/tiersreglement |
Mettre à jour l'enregistrement |
DELETE |
/v2/tiersreglement |
Supprimer l'enregistrement |
GET |
/v2/tiersreglement/count |
Compter les enregistrements |
POST |
/v2/tiersreglement/count |
Compter les enregistrements |
POST |
/v2/tiersreglement/recherche |
Rechercher des enregistrements |
POST |
/v2/tiersreglement/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/tiersreglement
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/tiersreglement?sort=<sort>&where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/tiersreglement
Créer l'enregistrement.
Corps de la requête (application/json)
Schéma TiersReglementDto - 12 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/tiersreglement" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numeroTiers": "…", "numeroReglement": 0, "condition": 0}'
PUT /v2/tiersreglement
Mettre à jour l'enregistrement.
Corps de la requête (application/json)
Schéma TiersReglementDto - 12 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/tiersreglement" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numeroTiers": "…", "numeroReglement": 0, "condition": 0}'
DELETE /v2/tiersreglement
Supprimer l'enregistrement.
Corps de la requête (application/json)
Schéma TiersReglementDto - 12 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/tiersreglement" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numeroTiers": "…", "numeroReglement": 0, "condition": 0}'
GET /v2/tiersreglement/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/tiersreglement/count?where=<where>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/tiersreglement/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/tiersreglement/count" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/tiersreglement/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/tiersreglement/recherche" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/tiersreglement/save
Créer ou mettre à jour l'enregistrement (upsert).
Corps de la requête (application/json)
Schéma TiersReglementDto - 12 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/tiersreglement/save" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"numeroTiers": "…", "numeroReglement": 0, "condition": 0}'
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.
TiersReglementDto
TiersReglementDto - 12 propriétés
| Propriété | Type | Notes |
|---|---|---|
numeroTiers |
string |
nullable, Numéro de compte tiers (CT_Num). |
numeroReglement |
integer (int32) |
Numéro du mode de règlement (N_Reglement). |
condition |
integer (int32) |
Condition (ReglementConditionType : date facture, fin de mois…). |
nbJour |
integer (int32) |
Nombre de jours. |
jourTombee1 |
integer (int32) |
Jour de tombée 1 (RT_JourTb01 - COM JourTb[1..6], propriété indexée). |
jourTombee2 |
integer (int32) |
Jour de tombée 2 (RT_JourTb02). |
jourTombee3 |
integer (int32) |
Jour de tombée 3 (RT_JourTb03). |
jourTombee4 |
integer (int32) |
Jour de tombée 4 (RT_JourTb04). |
jourTombee5 |
integer (int32) |
Jour de tombée 5 (RT_JourTb05). |
jourTombee6 |
integer (int32) |
Jour de tombée 6 (RT_JourTb06). |
typeRepartition |
integer (int32) |
Type de répartition (ReglementRepartitionType). |
valeurRepartition |
number (double) |
Valeur de répartition (% ou montant selon le type). |