---
title: "Patients not rebooked after completed appointment"
method: POST
path: "/api/analytics/finance/appointments/non-rebooked"
tags: ["analytics"]
---

# Patients not rebooked after completed appointment

`POST /api/analytics/finance/appointments/non-rebooked`

Returns patients with whom the operator did not rebook after a completed appointment since from_timestamp.

## Request body

- NonRebookedRequest — Non rebooked patients request model.
  - `from_timestamp` string, required — Start timestamp (YYYY-MM-DD HH:mm)

## Response `200`

Successful Response

- NonRebookedResponse — Non rebooked patients response model.
  - `data` NonRebookedPatientRow[] — Rows from trova_pazienti_non_riprenotati
    - `operator_first_name` string, nullable — Operator first name
    - `operator_last_name` string, nullable — Operator last name
    - `patient_first_name` string, nullable — Patient first name
    - `patient_last_name` string, nullable — Patient last name
    - `patient_status` object, nullable — Patient status flags (JSON object)
    - `appointment_type_name` string, nullable — Appointment type display name
    - `appointment_datetime` string, date-time, nullable — Appointment date and time
    - `total_per_operator` integer, nullable — Total non-rebooked count for this operator

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
