Skip to main content
POST
Activate a regulatory document

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json
documentId
string
obrigatório

Document to activate, as the catalog publishes it.

Exemplo:

"br.bcb.cadoc-4010"

institution
string

Institution that files the document. Omitted, the tenant's only institution files it; with none or several the request is refused. "all" is refused: a filing declares one institution.

Exemplo:

"00000000-0000-0000-0000-000000000000"

mapping
enum<string>

Where the mapping starts: reference is the catalog's mapping for the Lerian ecosystem (Midaz), homologated; blank leaves every field for the client to map from their own database. Omitted, reference. A document whose catalog publishes no reference starts blank either way.

Opções disponíveis:
reference,
blank
Exemplo:

"reference"

version
string

Document version to pin; omitted pins the newest the origin publishes.

Exemplo:

"1.0.0"

Resposta

Created

readiness
object
obrigatório
subscription
object
obrigatório