Перейти к основному содержанию
GET
/
v1
/
crm
/
requests
/
penalties
cURL
curl --request GET \
  --url https://api.example.com/v1/crm/requests/penalties/
[
  {
    "id": 123,
    "request_status": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "type": 0,
    "created_by": 123,
    "request": 123,
    "amount": "<string>",
    "amount_paid": "<string>",
    "reason": "<string>",
    "custom": true,
    "tenant": 123,
    "request_inventory": 123,
    "penalty": 123
  }
]

Ответ

200 - application/json
id
integer
обязательно
request_status
integer
обязательно
created_at
string<date-time>
обязательно
updated_at
string<date-time>
обязательно
type
enum<integer>
обязательно
  • 0 - AUTO
  • 1 - MANUAL
Доступные опции:
0,
1
created_by
integer | null
обязательно
request
integer | null
amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
amount_paid
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
reason
string | null
Maximum string length: 512
custom
boolean
tenant
integer
request_inventory
integer | null
penalty
integer | null