Skip to main content
PATCH
Patch weekday

Авторизации

Authorization
string
header
обязательно

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Заголовки

X-Tenant-Id
integer

Компания, в контексте которой выполняется запрос — её id из GET /v1/tenant/. Пользователь должен состоять в этой компании: чужой id доступа к данным не даёт. Без заголовка компания определяется по домену запроса.

Параметры пути

request_id
integer
обязательно

Тело

request
integer | null
request_inventory
integer | null
client
integer | null
work_days
integer
Требуемый диапазон: 1 <= x <= 32767
rest_days
integer
Требуемый диапазон: 0 <= x <= 32767
rest_weekdays
integer[]
custom
boolean
exclude_rest
boolean

Ответ

200 - application/json
id
integer
обязательно
read-only
request
integer | null
request_inventory
integer | null
client
integer | null
work_days
integer
Требуемый диапазон: 1 <= x <= 32767
rest_days
integer
Требуемый диапазон: 0 <= x <= 32767
rest_weekdays
integer[]
custom
boolean
exclude_rest
boolean