Saltar al contenido principal
GET
/
v1
/
matching
/
contexts
/
{contextId}
/
open-items
Listar ítems abiertos
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/matching/contexts/{contextId}/open-items \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "items": [
    {
      "ageDays": 1,
      "contextId": "<string>",
      "createdAt": "<string>",
      "currency": "<string>",
      "expectedBalance": "<string>",
      "firstSeenAt": "<string>",
      "id": "<string>",
      "identityKey": "<string>",
      "lastActivityAt": "<string>",
      "runningBalance": "<string>",
      "status": "<string>",
      "updatedAt": "<string>",
      "obligationDate": "<string>",
      "runId": "<string>",
      "transactionId": "<string>"
    }
  ],
  "limit": 100,
  "nextCursor": "<string>",
  "prevCursor": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Autenticación con token Bearer (formato: "Bearer {token}")

Parámetros de ruta

contextId
string<uuid>
requerido

Reconciliation context ID ID del contexto de reconciliación

Parámetros de consulta

status
enum<string>

Filter by open-item lifecycle status Filtrar por estado del ciclo de vida del ítem abierto

Opciones disponibles:
OPEN,
PARTIALLY_CLEARED,
CLEARED,
AGED
limit
integer<int64>
predeterminado:20

Maximum number of records to return Número máximo de registros a devolver

Rango requerido: 1 <= x <= 200
cursor
string

Opaque pagination cursor Cursor de paginación opaco

sort_by
enum<string>

Field to sort by. Defaults to id (stable insertion order). ageDays sorts by aging anchor (oldest residuals first when descending) Campo por el que ordenar. Por defecto id (orden de inserción estable). ageDays ordena por ancla de antigüedad (residuales más antiguos primero en descendente)

Opciones disponibles:
ageDays,
runningBalance,
obligationDate
sort_order
enum<string>

Sort order Orden de clasificación

Opciones disponibles:
asc,
desc

Respuesta

OK

hasMore
boolean
requerido
Ejemplo:

true

items
object[] | null
requerido

Página de ítems abiertos

Maximum array length: 200
limit
integer<int64>
requerido
Rango requerido: 1 <= x <= 200
Ejemplo:

20

nextCursor
string
Ejemplo:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Ejemplo:

"eyJpZCI6IjEyMiJ9"