organizations
Récupérer une organisation spécifique par ID
Changed onCe endpoint permet de récupérer les détails complets d'une organisation en fonction de son identifiant unique.
get/api/v2/organizations/{id}
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (authorization code, authorization URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/auth, token URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/token)
- API key in header x-refapp-token
Path parameters
idstring required
Response
Organisation trouvée
Example response
{
"id": "f09ed26a-8415-476a-be3b-ada479291c34",
"path": "Direction de la transformation numérique",
"sigle": "dtnum",
"parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
"businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34",
"businessDivision": {
"label": "farm"
},
"maiaReferences": [
{
"id": "f09ed26a-8415-476a-be3b-ada479291c34",
"maiaRef": "MI/DNUM/SDID",
"organizationId": "f09ed26a-8415-476a-be3b-ada479291c34"
}
]
}Changes
- info
added the optional property
to the response with the status
- info