Перейти к основному содержанию
GET
/
v1
/
crm
/
requests
/
{request_id}
/
weekday
cURL
curl --request GET \
  --url https://api.example.com/v1/crm/requests/{request_id}/weekday/
{
  "id": 123,
  "request": 123,
  "request_inventory": 123,
  "client": 123,
  "work_days": 16383,
  "rest_days": 16383,
  "rest_weekdays": [
    123
  ],
  "custom": true,
  "exclude_rest": true
}

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

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

Ответ

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