---
title: "GET /api/services/app/TenantDashboard/GetMaxPatientCount"
method: GET
path: "/api/services/app/TenantDashboard/GetMaxPatientCount"
tags: ["TenantDashboard"]
---

# GET /api/services/app/TenantDashboard/GetMaxPatientCount

`GET /api/services/app/TenantDashboard/GetMaxPatientCount`

## Query parameters

- `Date` string, date-time
- `PeriodType` 1 | 2 | 3
- `MaxRecords` integer

## Response `200`

Success

- GetMaxPatientCountOutput
  - `maxTotalPatient` integer
  - `maxPatientCounts` MaxPatientCountData[], nullable
    - `date` string, nullable
    - `dayOfWeek` string, nullable
    - `total` integer
    - `totalOnline` integer
    - `totalOffline` integer
    - `totalPatient` integer
    - `totalPatientOnline` integer
    - `totalPatientOffline` integer
    - `totalPayment` integer
    - `totalPaymentOnline` integer
    - `totalPaymentPortal` integer
    - `totalPaymentOffline` integer
    - `totalCancel` integer
    - `totalCancelOnline` integer
    - `totalCancelPortal` integer
    - `totalCancelOffline` integer

---

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