Pular para o conteúdo principal
GET
Preview a bulk adoption

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

inventory_run_id
string<uuid>
obrigatório

Identifier of the inventory consumption.

Exemplo:

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

Parâmetros de consulta

productType
string

Only the divergent agreements of this product type at Núclea, two digits, as the beneficiary base carries it. Left out, every type.

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

"01"

group
enum<string>

Group of the page's items. Left out, ADOPTABLE. The counts always cover the three.

Opções disponíveis:
ADOPTABLE,
AMBIGUOUS_ACCOUNT,
NO_LEDGER_ACCOUNT
Exemplo:

"ADOPTABLE"

cursor
string

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

Maximum string length: 512
limit
integer<int64>
padrão:20

Most divergences per page.

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

20

Resposta

OK. The preview, with the group counts and one page of items.

adoptCount
integer<int64>
obrigatório

How many the confirmation takes now: eligibleCount up to 5,000, the oldest first.

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

1840

eligibleCount
integer<int64>
obrigatório

Adoptable divergences now, equal to groups.adoptable: the confirmation's expectedCount.

Intervalo obrigatório: x >= 0
Exemplo:

1840

group
enum<string>
obrigatório

Group of the page's items.

Opções disponíveis:
ADOPTABLE,
AMBIGUOUS_ACCOUNT,
NO_LEDGER_ACCOUNT
Exemplo:

"ADOPTABLE"

groups
object
obrigatório

Count of each of the three groups, whatever group the page shows.

inventoryRunId
string<uuid>
obrigatório

Identifier of the inventory consumption.

Exemplo:

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

items
object[]
obrigatório

The page's divergences, oldest first.

limit
integer<int64>
obrigatório

Most divergences the page holds.

Exemplo:

20

previewFingerprint
string
obrigatório

Fingerprint of the whole adoptable group of this preview, recomputed by the confirmation: SHA-256, in lower-case hex, of the UTF-8 text \n\n followed by one line :\n per adoptable divergence, in increasing divergenceId order. The confirmation's previewFingerprint.

Pattern: ^[0-9a-f]{64}$
Exemplo:

"9f2c4e1a7b3d5f60812a4c6e8b0d2f4a6c8e0a2b4d6f8091a3c5e7f9b1d3f5a7"

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
productType
string | null

Product type filter applied; null for every type.

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

"01"