Pular para o conteúdo principal
GET
Get a beneficiary inventory consumption

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

Exemplo:

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

Resposta

OK. The consumption.

consumedAt
string<date-time>
obrigatório

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

Exemplo:

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

id
string<uuid>
obrigatório

Identifier of the consumption.

Exemplo:

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

pcrInventoryRunId
string<uuid>
obrigatório

Identifier of the inventory at the PCR.

Exemplo:

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

pcrRanAt
string<date-time>
obrigatório

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

Exemplo:

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

state
enum<string>
obrigatório

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.

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

"COMPLETED"

completedAt
string<date-time> | null

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

Exemplo:

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

divergences
integer<int64>

Divergences the consumption opened.

Intervalo obrigatório: x >= 0
Exemplo:

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.

Intervalo obrigatório: x >= 0
Exemplo:

12