Pular para o conteúdo principal
POST
Fazer a ingestão de um arquivo ASLC

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json
content
string
obrigatório

Received file bytes, base64-encoded (standard encoding).

Exemplo:

"PEFTTENET0M+PC9BU0xDRE9DPg=="

intakeMode
string
obrigatório

Intake mode: aslc_passthrough (opaque already-signed artifact) or aslc_xml (not implemented this phase, 501).

Exemplo:

"aslc_passthrough"

participantId
string
obrigatório

Uploading participant id (UUID); validated to exist, tenant-scoped. Never tenant identity.

Exemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

numCtrlEmis
string

Optional client correlation/reference value; written verbatim to files.control_number (max 100 chars). Not an idempotency key.

Exemplo:

"CTRL-20260615-0001"

reasonForPassthrough
string

Optional free-text reason the artifact took the opaque passthrough path.

Exemplo:

"client pre-signed artifact"

receivedFilename
string

Optional original filename the participant sent; recorded for audit (max 255 chars).

Exemplo:

"ASLC027.xml"

Resposta

Accepted

createdAt
string
obrigatório

Timestamp the file row was created (RFC3339).

Exemplo:

"2026-06-15T07:50:00Z"

id
string
obrigatório

File id (UUID).

Exemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

intakeMode
string
obrigatório

Intake mode the file was received under.

Exemplo:

"aslc_passthrough"

operationIds
string[] | null
obrigatório

Operation ids (UUIDs) linked to this file; always a non-nil array (empty when none).

status
string
obrigatório

File lifecycle status.

Exemplo:

"RECEIVED"