Aller au contenu

Déclencher un contrôle autorisé

POST
/relation-tiers/v1/reconciliation-runs
curl --request POST \
--url https://example.com/relation-tiers/v1/reconciliation-runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: example' \
--data '{ "level": "example", "scope": {} }'
X-Tenant-Id
string

Facultatif — le tenant fait foi dans le jeton ; s’il est fourni, il doit être identique.

X-Correlation-Id
string
Idempotency-Key
required
string
Media typeapplication/json
object
level
required

TRANSPORT, POPULATION, IDENTITE, VERSION, CONTENU ou SEMANTIQUE.

string
scope
object
Examplegenerated
{
"level": "example",
"scope": {}
}

Le contrôle est accepté et s’exécutera.

Media typeapplication/json
object
id
required
string
aggregateVersion
integer
status
required
string
Examplegenerated
{
"id": "example",
"aggregateVersion": 1,
"status": "example"
}

Aucune identité présentée (401).

L’identité présentée n’a pas la famille d’accès relation-tiers:administration (403).

Donnée comprise mais non admissible — règle identifiée.

Media typeapplication/json
object
type
required
string
title
required
string
status
required
integer
code
required
string
detail
string
instance
string
correlationId
required
string
retryable
boolean
violations
Array<object>
object
field
string
reason
string
ruleId
string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"code": "example",
"detail": "example",
"instance": "example",
"correlationId": "example",
"retryable": true,
"violations": [
{
"field": "example",
"reason": "example",
"ruleId": "example"
}
]
}