Skip to main content
PUT
Update an unavailable period for a salesperson

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 salesperson identifier

periodId
integer
gerekli

The unavailable period identifier

Gövde

application/json
starts_at
string<date-time>
gerekli

The moment the unavailable period starts.

ends_at
string<date-time>
gerekli

The moment the unavailable period ends. Must be on or after starts_at.

reason
string | null

The reason the salesperson is unavailable.

Maximum string length: 255

Yanıt

success
string
gerekli
data
UnavailablePeriodResource · object
gerekli