Saltar al contenido principal
POST
/
v1
/
exceptions
/
bulk
/
resolve
Bulk resolve exceptions
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/exceptions/bulk/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "exception_ids": [
    "<string>"
  ],
  "resolution": "ACCEPTED",
  "reason": "<string>"
}
'
{
  "succeeded": [
    "<string>"
  ],
  "failed": [
    {
      "exception_id": "<string>",
      "error": "<string>"
    }
  ],
  "total": 10
}

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.

X-Idempotency-Key
string

Optional idempotency key for safe retries. Also accepts Idempotency-Key as an alternative header name. If the same key is sent again and the original request was already processed, the cached response is returned with X-Idempotency-Replayed: true.

See Retries and idempotency for details.

Cuerpo

application/json

Bulk resolve payload

Request payload for bulk resolving exceptions

exception_ids
string[]
requerido

List of exception IDs to resolve (maximum 100)

Required array length: 1 - 100 elements
resolution
string
requerido

Resolution status for all exceptions

Maximum string length: 255
Ejemplo:

"ACCEPTED"

reason
string

Shared resolution reason

Maximum string length: 1000

Respuesta

Bulk operation completed (check response for partial failures).

The response includes the X-Idempotency-Replayed header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See Retries and idempotency for more details.

Response from a bulk operation with success and failure details

succeeded
string[]

List of exception IDs that were processed successfully

failed
object[]

List of failures with exception IDs and error messages

total
integer

Total number of exceptions in the request

Ejemplo:

10