Pular para o conteúdo principal
GET
Get a batch's progress

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

batch_id
string<uuid>
obrigatório

Identifier of the batch.

Exemplo:

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

Resposta

OK. The batch and its counts.

adopted
integer<int64>
obrigatório

Items whose registration change was accepted and whose agreement became ACTIVE (BULK_ADOPTION; 0 in an enablement).

Intervalo obrigatório: x >= 0
Exemplo:

0

createdAt
string<date-time>
obrigatório

When the batch was accepted, RFC 3339 in UTC.

Exemplo:

"2026-11-11T10:00:00Z"

enabled
integer<int64>
obrigatório

Items whose holder was accepted (ENABLEMENT; 0 in a bulk adoption).

Intervalo obrigatório: x >= 0
Exemplo:

4900

failed
integer<int64>
obrigatório

Items that ended with an error.

Intervalo obrigatório: x >= 0
Exemplo:

20

id
string<uuid>
obrigatório

Identifier of the batch.

Exemplo:

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

kind
enum<string>
obrigatório

ENABLEMENT: an enablement of accounts (createEnablementBatch). BULK_ADOPTION: a bulk adoption of the MISSING_LOCALLY divergences of an inventory.

Opções disponíveis:
ENABLEMENT,
BULK_ADOPTION
Exemplo:

"ENABLEMENT"

pending
integer<int64>
obrigatório

Items still in progress, including those HELD_BY_ALERT and the adoptions waiting for the Núclea to accept the registration change (DDA0502).

Intervalo obrigatório: x >= 0
Exemplo:

80

state
enum<string>
obrigatório

PROCESSING while an item is in progress; then COMPLETED when every item succeeded, or COMPLETED_WITH_ERRORS when some item failed.

Opções disponíveis:
PROCESSING,
COMPLETED,
COMPLETED_WITH_ERRORS
Exemplo:

"PROCESSING"

totalItems
integer<int64>
obrigatório

Items of the batch.

Intervalo obrigatório: 1 <= x <= 5000
Exemplo:

5000

completedAt
string<date-time> | null

When the last item ended, RFC 3339 in UTC; null while the batch is PROCESSING.

Exemplo:

"2026-11-11T10:30:00Z"

inventoryRunId
string<uuid> | null

Inventory the bulk adoption adopts from; null for an enablement.

Exemplo:

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

productTypeFilter
string | null

Product type the bulk adoption is limited to; null for every product type, and for an enablement.

Pattern: ^[0-9]{2}$
Exemplo:

"01"