Pular para o conteúdo principal
GET
List beneficiaries

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de consulta

organizationId
string<uuid>

Only the beneficiaries enabled from accounts of this Midaz organization. It only filters: the permission covers all the tenant's beneficiaries.

holderId
string<uuid>

Only the beneficiary of this holder, the person in the platform's people registry.

accountId
string<uuid>

Only the beneficiaries with an agreement of this Midaz account, in any state.

enablementState
enum<string>

Only the beneficiaries whose enablement is in this state.

Opções disponíveis:
REQUESTED,
CONSULTED,
HELD_BY_ALERT,
SUBMITTED,
ACCEPTED,
REJECTED,
DISABLED
baseSituation
enum<string>

Only the beneficiaries with this situation in the beneficiary base.

Opções disponíveis:
FIT,
UNDER_REVIEW,
UNFIT
page
integer<int64>
padrão:1

Page number, from 1. A page past the last answers no beneficiary.

Intervalo obrigatório: x >= 1
Exemplo:

1

limit
integer<int64>
padrão:20

Most beneficiaries per page, 1 to 100.

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

20

Resposta

OK. A page of beneficiaries.

items
object[]
obrigatório

The page's beneficiaries, oldest first.

limit
integer<int64>
obrigatório

Most beneficiaries the page holds.

Exemplo:

20

page
integer<int64>
obrigatório

The page, from 1.

Exemplo:

1

total
integer<int64>
obrigatório

How many beneficiaries the filters match, in every page.

Exemplo:

3