Skip to main content
GET
Listar agendamentos (agenda)

Autorizações

Authorization
string
header
obrigatório

Chave de API enviada como token Bearer

Parâmetros de consulta

startFrom
string | null

ISO-8601 lower bound on start (inclusive).

startTo
string | null

ISO-8601 upper bound on start (inclusive).

status
enum<string>[] | null

Filter by one or more statuses (repeatable).

FHIR appointment status set (mirrors datalayer AppointmentStatus). Used to validate the agenda status filter, so a typo is a clean 400, not a 5xx.

Opções disponíveis:
proposed,
pending,
booked,
arrived,
checkedIn,
fulfilled,
cancelled,
noshow,
waitlist,
enteredInError
consultationInternalId
string | null

Filter to the booking that carries this consultation id.

page
integer
padrão:1

Page number (1-based).

Intervalo obrigatório: x >= 1
limit
integer
padrão:20

Number of items per page.

Intervalo obrigatório: 1 <= x <= 50

Resposta

Resposta bem-sucedida

Paginated list of appointments (the agenda).

items
AppointmentResponse · object[]
obrigatório

Page of appointments.

page
integer
obrigatório

Current page number (1-based).

limit
integer
obrigatório

Number of items per page.

hasMore
boolean
obrigatório

Whether another page likely exists (accurate on every page).

total
integer | null

Total appointments matching the filter (null on later pages).

totalPages
integer | null

Total number of pages (null when the total is unknown).