Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PUT \
--url https://api.example.com/v1/crm/requests/{request_id}/penalties/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"request": 123,
"amount": "<string>",
"amount_paid": "<string>",
"reason": "<string>",
"custom": true,
"tenant": 123,
"request_inventory": 123,
"penalty": 123
}
'{
"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
}curl --request PUT \
--url https://api.example.com/v1/crm/requests/{request_id}/penalties/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"request": 123,
"amount": "<string>",
"amount_paid": "<string>",
"reason": "<string>",
"custom": true,
"tenant": 123,
"request_inventory": 123,
"penalty": 123
}
'{
"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
}0 - AUTO1 - MANUAL0, 1 ^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$512Была ли эта страница полезной?