Skip to main content
POST
Attach treatments to a doctor

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.

Yol Parametreleri

id
integer
gerekli

The doctor identifier

Gövde

application/json
treatment_ids
integer[]
gerekli

The treatment IDs to attach to or detach from the doctor. Each must belong to the current tenant.

Minimum array length: 1

A treatment ID.

Gerekli aralık: x >= 1

Yanıt

success
string
gerekli
data
DoctorResource · object
gerekli