Aller au contenu

Parametres.General.Dossier

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

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

POST /v2/dossier

Créer l'enregistrement.

Corps de la requête (application/json)

Schéma DossierDto — 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/dossier" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"raisonSociale": "…", "profession": "…", "adresse": "…"}'

PUT /v2/dossier

Mettre à jour l'enregistrement.

Corps de la requête (application/json)

Schéma DossierDto — 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/dossier" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"raisonSociale": "…", "profession": "…", "adresse": "…"}'

DELETE /v2/dossier

Supprimer l'enregistrement.

Corps de la requête (application/json)

Schéma DossierDto — 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/dossier" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"raisonSociale": "…", "profession": "…", "adresse": "…"}'

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

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

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

POST /v2/dossier/save

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

Corps de la requête (application/json)

Schéma DossierDto — 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/dossier/save" \
  -H "Authorization: Bearer <jeton>" \
  -H "Content-Type: application/json" \
  -d '{"raisonSociale": "…", "profession": "…", "adresse": "…"}'

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.

DossierDto

DossierDto — 40 propriétés
Propriété Type Notes
raisonSociale string nullable
profession string nullable
adresse string nullable
complement string nullable
codePostal string nullable
ville string nullable
pays string nullable
siret string nullable
ape string nullable
identifiant string nullable
telephone string nullable
email string nullable
longueurCompteGeneral integer (int32)
longueurSectionAnalytique integer (int32)
formatQuantites string nullable
dateDebutExercice string (date-time)
dateFinExercice string (date-time)
dateDebutExercicePrecedent string (date-time)
dateFinExercicePrecedent string (date-time)
dateCloture string (date-time)
commentaire string nullable
codeRegion string nullable
telecopie string nullable
emailSociete string nullable
site string nullable
expert string nullable
emailExpert string nullable
numeroDossier string nullable
capital string nullable
formeJuridique string nullable
facebook string nullable
linkedIn string nullable
derniereCloturePeriode string (date-time) nullable
idDeviseCompte integer (int32)
idDeviseEquivalence integer (int32)
codeJournalAN string nullable
compteANOuverture string nullable
compteANBenefice string nullable
compteANPerte string nullable
idPlanAnalytiqueDefaut integer (int32)

Voir aussi