Skip to main content
POST
Propose a config-only field-map/dialect mapping for a source sample

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Parâmetros de caminho

contextId
string<uuid>
obrigatório

Context ID

sourceId
string<uuid>
obrigatório

Source ID

Corpo

application/json
sample
string
obrigatório

Representative source-file sample

Minimum string length: 1
Exemplo:

"id;value;ccy;posted_at\nA1;10,50;BRL;2025-06-01\n"

format
enum<string>

Declared file format hint

Opções disponíveis:
csv,
json,
xml,
camt053
Exemplo:

"csv"

hints
object

Optional non-secret operator nudges (e.g. locale=pt-BR, has_header=true)

Resposta

OK

fields
object[] | null
obrigatório

Per-field breakdown backing the proposed mapping

dialect
object

Proposed source dialect; null when the advisor has no dialect suggestion

mapping
object

Proposed canonical field map (canonical key -> source column); null when the advisor could not propose a mapping