Ana içeriğe atla
POST
Generate a treatment description with AI

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
name
string | null

Treatment name.

Maximum string length: 255
price
number | null

Treatment price.

Gerekli aralık: x >= 0
currency_id
integer | null

Currency of the price. Leave empty for the clinic's base currency.

tax_rate
enum<integer> | null

Tax rate percentage.

Mevcut seçenekler:
0,
1,
10,
20,
null
extra_info
object

Extra information as associative key-value pairs.

sessions
object[] | null

Treatment sessions plan, in the same shape as when creating a treatment.

Maximum array length: 100

Yanıt

success
boolean
gerekli
data
object
gerekli