Перейти к основному содержанию
GET
/
v1
/
crm
/
requests
/
conditions
cURL
curl --request GET \
  --url https://api.example.com/v1/crm/requests/conditions/
[
  {
    "id": 123,
    "request": 123,
    "request_inventory": 123,
    "client": 123,
    "condition": 0,
    "value": "<string>",
    "split_client": 50,
    "split_company": 50
  }
]

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

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
condition
enum<integer>
  • 0 - PERCENT
  • 1 - FIXED
  • 2 - SPLIT
Доступные опции:
0,
1,
2
Требуемый диапазон: 0 <= x <= 32767
value
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
split_client
integer
Требуемый диапазон: 0 <= x <= 100
split_company
integer
Требуемый диапазон: 0 <= x <= 100