Dossier Complet
Description
This API endpoint allows you to retrieve and update the SIREN and Forme Juridique details of an entity with the provided objectId.
Request Methods
GET: Retrieve the SIREN and Forme Juridique information of an entity.
PUT: Update the SIREN and/or Forme Juridique details of an entity.
GET/DossierComplet
Request URL:
GET https://api.cegid.com/loop-api-publiques/DossierComplet?codeDossier={codeDossier}
Request Parameters:
codeDossier (string, required): The code dossier of the entity you want to retrieve.
Example GET Request
GET https://api.cegid.com/loop-api-publiques/DossierComplet?codeDossier=DOSSIER_TEST
Example GET Response
Response body
{
"objectId": "e02a5703-ef8e-48da-8a21-699af50aae80",
"revisionId": "0x0000000000015F9A",
"siren": "732829320",
"formeJuridique": "SA"
}
PUT/DossierComplet
Request URL:
PUT https://api.cegid.com/loop-api-publiques/DossierComplet?codeDossier={codeDossier}
Request Parameters:
codeDossier (string, required): The code Dossier the entity you want to retrieve.
Request Body:
The request body for the PUT method should include the following fields:
| Field Name | Type | Description | Required |
|---|---|---|---|
objectId |
string | The unique identifier of the entity. | YES |
revisionId |
string | The revision ID of the entity. | YES |
siren |
string | The SIREN number of the entity should be valid | NO |
formeJuridique |
string | The Forme Juridique of the entity should be valid. | NO |
Example PUT Request:
PUT https://api.cegid.com/loop-api-publiques/DossierComplet?codeDossier=DOSSIER_TEST
Example PUT Request Body:
[{
"objectId": "e02a5703-ef8e-48da-8a21-699af50aae80",
"revisionId": "0x0000000000015F9A",
"siren": "732829320",
"formeJuridique": "SARL"
}]
Example PUT Response:
A successful PUT request should return a response with the code 200 and a body containing the values passed in the request body.
Response body
{
"success": [
{
"objectId": "012a3e7f-af71-4ca6-baaa-5e00ec2cb11e",
"revisionId": "0x0000000000019E12",
"siren": "732829320",
"formeJuridique": "SARL"
}
],
"errors": []
}
- must be a string made of digits only
- "" acccepted
- if not "", length should be 9
- should pass the Luhn algorithm
Validation rules for Forme Juridique
The following are the supported values for Forme Juridique (see attached table)
| Short Description | Long Description |
|---|---|
| Association | ASS |
| Commune | COM |
| Coopérative | COOP |
| Autre forme de société | DIV |
| Exploitation agricole à responsabilité limitée | EARL |
| Entreprise individuelle | EI |
| Entreprise individuelle à responsabilité limitée | EIRL |
| Etablissement public industriel et commercial | EPIC |
| Entreprise unipersonnelle à responsabilité limitée | EURL |
| Fondation | FOND |
| Groupement agricole d'exploitation en commun | GAEC |
| Groupement agricole foncier | GAF |
| Groupement européen d'intérêt économique | GEIE |
| Groupement foncier agricole | GFA |
| Groupement forestier | GFO |
| Groupement foncier rural | GFR |
| Groupement d'intérêt économique | GIE |
| Groupement d'intérêt public | GIP |
| Groupement pastoral | GP |
| Indivision | IND |
| Monsieur | M |
| Maître | ME |
| Mademoiselle | MLE |
| Messieurs | MM |
| Madame | MME |
| Société anonyme | SA |
| Société anonyme à directoire | SADI |
| Société à responsabilité limitée | SARL |
| Société par actions simplifiée | SAS |
| Société par actions simplifiée unipersonnelle | SASU |
| Société civile | SC |
| Société en commandite par actions | SCA |
| Société Civile Construction Vente | SCCV |
| Société civile d'exploitation agricole | SCEA |
| Société civile foncière | SCF |
| Société civile immobilière | SCI |
| Société civile de moyens | SCM |
| Société civile professionnelle | SCP |
| Société civile de placement collectif immobilier | SCPI |
| Société en commandite simple | SCS |
| Société créée de fait | SDF |
| Société d'exercice libéral par actions simplifiée | SELA |
| Société d'économie mixte | SEM |
| Société en participation | SEP |
| Société d'exercice libéral par actions simplifiée unipersonnelle | SESU |
| Société civile d'exploitation vinicole | SEV |
| Sociétés Interprofessionnelles de Soins Ambulatoires | SISA |
| Société d'exercice libéral à forme anonyme | SLA |
| Société d'exercice libéral en commandite par action | SLC |
| Société d'exercice libéral à responsabilité limitée | SLR |
| Société mixte d'intérêt agricole | SMI |
| Société en nom collectif | SNC |
| Société de Participations Financières de Profession Libérale | SPF |