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

Параметры запроса

client
integer
client__isnull
boolean
request
integer
request__isnull
boolean
request_inventory
integer
request_inventory__isnull
boolean

Ответ

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