Référencer un intervenant — la société de gestion, le dépositaire.
POST
/tenants/{tenant}/intervenants
const url = 'https://example.com/tenants/example/intervenants';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"intervenant":"example","libelle":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/tenants/example/intervenants \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "intervenant": "example", "libelle": "example" }'L’intervenant émet les documents de référence (le versement l’exige). Un identifiant déjà référencé chez ce tenant est refusé.
Autorisations
Section intitulée « Autorisations »Paramètres
Section intitulée « Paramètres »Paramètres (path)
Section intitulée « Paramètres (path) »tenant
required
string
Le teneur de compte — la muraille, aucun geste ne la franchit.
Corps de la requêterequired
Section intitulée « Corps de la requêterequired »Media typeapplication/json
object
intervenant
required
L’identifiant publié de l’intervenant — unique chez ce tenant.
string
libelle
required
string
Examplegenerated
{ "intervenant": "example", "libelle": "example"}Réponses
Section intitulée « Réponses »L’intervenant est référencé.
La demande est irrecevable — le motif nomme le champ.
Media typeapplication/json
object
motif
required
Le motif, qui nomme le champ, l’identifiant ou l’invariant en cause.
string
Examplegenerated
{ "motif": "example"}Aucune identité présentée.
L’identité présentée n’a pas la famille d’accès administration.
Le référentiel refuse (identifiant déjà référencé) — motivé.
Media typeapplication/json
object
motif
required
Le motif, qui nomme le champ, l’identifiant ou l’invariant en cause.
string
Examplegenerated
{ "motif": "example"}