Saltar al contenido principal
GET
/
v1
/
contexts
/
{contextId}
Get a reconciliation context
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/contexts/{contextId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "019c96a0-10a0-72d2-9fb0-2b7de8093182",
  "tenantId": "019c96a0-0a98-7287-9a31-786e0809c769",
  "name": "Bank Reconciliation Q1",
  "type": "1:1",
  "interval": "daily",
  "status": "ACTIVE",
  "feeToleranceAbs": "0.50",
  "feeTolerancePct": "0.01",
  "feeNormalization": "NET",
  "autoMatchOnUpload": false,
  "createdAt": "2025-01-15T10:30:00.000Z",
  "updatedAt": "2025-01-15T10:30:00.000Z"
}

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-Request-Id
string

A unique identifier for tracing the request across services.

Parámetros de ruta

contextId
string
requerido

The unique identifier of the reconciliation context.

Respuesta

Successfully retrieved context

Configuration context for matching rules

id
string

Unique identifier for the context

Ejemplo:

"019c96a0-10a0-72d2-9fb0-2b7de8093182"

tenantId
string

Tenant ID this context belongs to

Ejemplo:

"019c96a0-0a98-7287-9a31-786e0809c769"

name
string

Name of the reconciliation context

Ejemplo:

"Bank Reconciliation Q1"

type
enum<string>

Reconciliation topology type

Opciones disponibles:
1:1,
1:N,
N:M
Ejemplo:

"1:1"

interval
string

Execution interval

Ejemplo:

"daily"

status
enum<string>

Current status of the context

Opciones disponibles:
DRAFT,
ACTIVE,
PAUSED,
ARCHIVED
Ejemplo:

"ACTIVE"

feeToleranceAbs
string

Absolute fee tolerance amount

Ejemplo:

"0.50"

feeTolerancePct
string

Percentage fee tolerance

Ejemplo:

"0.01"

feeNormalization
enum<string>

Fee normalization mode

Opciones disponibles:
NET,
GROSS
Ejemplo:

"NET"

autoMatchOnUpload
boolean

Whether matching triggers automatically after file upload

Ejemplo:

false

createdAt
string

Creation timestamp in RFC3339 format

Ejemplo:

"2025-01-15T10:30:00.000Z"

updatedAt
string

Last update timestamp in RFC3339 format

Ejemplo:

"2025-01-15T10:30:00.000Z"