Skip to main content
POST
Queue an AI report

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
systems
enum<string>[]
gerekli

The modules included in the report.

Minimum array length: 1

The report module.

Mevcut seçenekler:
appointment,
treatment,
room,
customer,
demographics,
customer_form,
revenue,
collections,
sale_items,
installments,
payment_methods,
lead,
pipeline,
offer,
lead_source,
chat,
channel,
blacklist,
ai_suggestion,
ticket,
low_stock,
stock_movement,
staff,
doctor_workload,
storage,
credits,
all
period_label
enum<string>
gerekli

The report period.

Mevcut seçenekler:
yesterday,
last_7_days,
last_30_days,
this_week,
this_month,
last_month,
this_year,
custom_date_range
title
string | null

The optional report title.

Maximum string length: 255
period_start_date
string<date-time> | null

The custom period start date.

period_end_date
string<date-time> | null

The custom period end date.

Yanıt

success
string
gerekli
data
AIReportResource · object
gerekli