Pular para o conteúdo principal
POST
Clone a reconciliation context

Autorizações

Authorization
string
header
obrigatório

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

Cabeçalhos

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency
string

Optional idempotency key for safe retries. Matcher reads the key only from this header, and only when you send one. A request that carries a key only in X-Idempotency-Key or Idempotency-Key is refused with 400 (MTCH-0015), and nothing is processed. If the same key is sent again and the original request was already processed, the stored response is returned with X-Idempotency-Replayed: true. A malformed key returns 400, a key whose first request is still in progress returns 409, and an idempotency storage failure returns 500. These refusals are problem documents.

Parâmetros de caminho

contextId
string<uuid>
obrigatório

The unique identifier of the reconciliation context to clone. Context ID

Corpo

application/json

Clone context payload

name
string
obrigatório

Name for the newly cloned context.

Required string length: 1 - 100
Exemplo:

"Bank Reconciliation Q1 (Copy)"

includeRules
boolean

Whether to clone match rules and fee rules. Defaults to true when omitted.

Exemplo:

true

includeSources
boolean

Whether to clone sources and their field maps. Defaults to true when omitted.

Exemplo:

true

Resposta

Successfully cloned context.

context
object
obrigatório

The newly created context.

feeRulesCloned
integer<int64>
obrigatório

Number of fee rules cloned into the new context.

Exemplo:

2

fieldMapsCloned
integer<int64>
obrigatório

Number of field maps cloned into the new context.

Exemplo:

3

rulesCloned
integer<int64>
obrigatório

Number of match rules cloned into the new context.

Exemplo:

5

sourcesCloned
integer<int64>
obrigatório

Number of sources cloned into the new context.

Exemplo:

3