Saltar al contenido principal
GET
Get a beneficiary inventory consumption

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 consumption.

Ejemplo:

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

Respuesta

OK. The consumption.

consumedAt
string<date-time>
requerido

When collections started consuming the inventory, RFC 3339 in UTC.

Ejemplo:

"2026-11-10T12:00:00Z"

id
string<uuid>
requerido

Identifier of the consumption.

Ejemplo:

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

pcrInventoryRunId
string<uuid>
requerido

Identifier of the inventory at the PCR.

Ejemplo:

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

pcrRanAt
string<date-time>
requerido

When the PCR ran the inventory, RFC 3339 in UTC.

Ejemplo:

"2026-11-10T11:00:00Z"

state
enum<string>
requerido

Where the consumption is. PROCESSING: comparing the inventory with the agreements. COMPLETED: finished, with its divergences opened. FAILED: the read or the comparison failed; it is tried again.

Opciones disponibles:
PROCESSING,
COMPLETED,
FAILED
Ejemplo:

"COMPLETED"

completedAt
string<date-time> | null

When the consumption completed, RFC 3339 in UTC; null while it has not.

Ejemplo:

"2026-11-10T12:01:00Z"

divergences
integer<int64>

Divergences the consumption opened.

Rango requerido: x >= 0
Ejemplo:

3

imported
integer<int64>

Beneficiaries of the base adopted on their own because they matched an enablement in progress. Every other registration made outside collections becomes a MISSING_LOCALLY divergence.

Rango requerido: x >= 0
Ejemplo:

12