I can’t return response, it gives me an error in the code.
But the entire JSON is this one :
{
“header”: {
“statut”: 200,
“message”: “OK”
},
“uniteLegale”: {
“siren”: “908268709”,
“statutDiffusionUniteLegale”: “O”,
“dateCreationUniteLegale”: “2021-12-10”,
“sigleUniteLegale”: null,
“sexeUniteLegale”: null,
“prenom1UniteLegale”: null,
“prenom2UniteLegale”: null,
“prenom3UniteLegale”: null,
“prenom4UniteLegale”: null,
“prenomUsuelUniteLegale”: null,
“pseudonymeUniteLegale”: null,
“identifiantAssociationUniteLegale”: null,
“trancheEffectifsUniteLegale”: null,
“anneeEffectifsUniteLegale”: null,
“dateDernierTraitementUniteLegale”: “2024-03-22T14:26:06.000”,
“nombrePeriodesUniteLegale”: 1,
“categorieEntreprise”: “PME”,
“anneeCategorieEntreprise”: “2021”,
“periodesUniteLegale”: [
{
“dateFin”: null,
“dateDebut”: “2021-12-10”,
“etatAdministratifUniteLegale”: “A”,
“changementEtatAdministratifUniteLegale”: false,
“nomUniteLegale”: null,
“changementNomUniteLegale”: false,
“nomUsageUniteLegale”: null,
“changementNomUsageUniteLegale”: false,
“denominationUniteLegale”: “OPTIMIZIO”,
“changementDenominationUniteLegale”: false,
“denominationUsuelle1UniteLegale”: null,
“denominationUsuelle2UniteLegale”: null,
“denominationUsuelle3UniteLegale”: null,
“changementDenominationUsuelleUniteLegale”: false,
“categorieJuridiqueUniteLegale”: “5710”,
“changementCategorieJuridiqueUniteLegale”: false,
“activitePrincipaleUniteLegale”: “70.22Z”,
“nomenclatureActivitePrincipaleUniteLegale”: “NAFRev2”,
“changementActivitePrincipaleUniteLegale”: false,
“nicSiegeUniteLegale”: “00015”,
“changementNicSiegeUniteLegale”: false,
“economieSocialeSolidaireUniteLegale”: “N”,
“changementEconomieSocialeSolidaireUniteLegale”: false,
“societeMissionUniteLegale”: null,
“changementSocieteMissionUniteLegale”: false,
“caractereEmployeurUniteLegale”: null,
“changementCaractereEmployeurUniteLegale”: false
}
]
}
}