Saltar al contenido principal
GET
Preview a bulk adoption

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

inventory_run_id
string<uuid>
requerido

Identifier of the inventory consumption.

Ejemplo:

"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}$
Ejemplo:

"01"

group
enum<string>

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

Opciones disponibles:
ADOPTABLE,
AMBIGUOUS_ACCOUNT,
NO_LEDGER_ACCOUNT
Ejemplo:

"ADOPTABLE"

cursor
string

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

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

Most divergences per page.

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

20

Respuesta

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

adoptCount
integer<int64>
requerido

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

Rango requerido: 0 <= x <= 5000
Ejemplo:

1840

eligibleCount
integer<int64>
requerido

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

Rango requerido: x >= 0
Ejemplo:

1840

group
enum<string>
requerido

Group of the page's items.

Opciones disponibles:
ADOPTABLE,
AMBIGUOUS_ACCOUNT,
NO_LEDGER_ACCOUNT
Ejemplo:

"ADOPTABLE"

groups
object
requerido

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

inventoryRunId
string<uuid>
requerido

Identifier of the inventory consumption.

Ejemplo:

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

items
object[]
requerido

The page's divergences, oldest first.

limit
integer<int64>
requerido

Most divergences the page holds.

Ejemplo:

20

previewFingerprint
string
requerido

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}$
Ejemplo:

"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}$
Ejemplo:

"01"