Skip to main content
POST
/
v1
/
exceptions
/
bulk
/
assign
Bulk assign exceptions
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/exceptions/bulk/assign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "exception_ids": [
    "019c96a0-2a10-7dfe-b5c1-8a1b2c3d4e5f",
    "019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b"
  ],
  "assignee": "john.doe@company.com"
}
'
{
  "succeeded": [
    "<string>"
  ],
  "failed": [
    {
      "exception_id": "<string>",
      "error": "<string>"
    }
  ],
  "total": 10
}

Authorizations

Authorization
string
header
required

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

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency-Key
string

A unique key to ensure safe retries of the request.

Body

application/json

Bulk assign payload

Request payload for bulk assigning exceptions

exception_ids
string[]
required

List of exception IDs to assign (maximum 100)

Required array length: 1 - 100 elements
Example:
[
"019c96a0-2a10-7dfe-b5c1-8a1b2c3d4e5f",
"019c96a0-2b20-7123-9a1b-2c3d4e5f6a7b"
]
assignee
string
required

The team member to assign the exceptions to

Maximum string length: 255
Example:

"john.doe@company.com"

Response

Bulk operation completed (check response for partial failures)

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

Example:

10