organizations
Mettre à jour une organisation
Changed onpatch/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
Request body
Example request
{
"path": "Direction de la transformation numérique",
"sigle": "dtnum",
"parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
"businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34"
}Response
Organisation mise à jour
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
- breaking
added the pattern
\Sto the request property - info
added the non-success response with the status
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info