Saltar al contenido principal
GET
List a batch's item outcomes

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

batch_id
string<uuid>
requerido

Identifier of the batch.

Ejemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a21"

Parámetros de consulta

organizationId
string<uuid>

Only the items of accounts of this Midaz organization. It only filters: the permission covers all the tenant's batches.

state
enum<string>

Only the items with this outcome.

Opciones disponibles:
PENDING,
ENABLED,
ADOPTED,
HELD_BY_ALERT,
FAILED
cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
predeterminado:20

Most items per page.

Rango requerido: 1 <= x <= 100
Ejemplo:

20

Respuesta

OK. A page of batch items.

items
object[]
requerido

The page's items, oldest first.

limit
integer<int64>
requerido

Most items the page holds.

Ejemplo:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512