Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PUT \
--url https://api.example.com/v1/crm/inventories/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"car": {
"type": "CAR",
"number": "<string>",
"tech_passport": "<string>",
"serial": "<string>",
"vin": "<string>",
"brand": "<string>",
"model": "<string>",
"extra": null
},
"category": 123,
"rental_point": 123,
"unique_id": "<string>",
"type": 0,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sell_price": "<string>",
"sell_date": "2023-11-07T05:31:56Z",
"lifetime": -1,
"stock_price": "<string>",
"comment": "<string>",
"sublease_percent": "<string>",
"image": "<string>",
"prev_earning": "<string>",
"extra": "<unknown>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"group": 123,
"state": 123,
"sublease_user": 123
}
'{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"device_unique_id": "<string>",
"car": {
"type": "CAR",
"number": "<string>",
"tech_passport": "<string>",
"serial": "<string>",
"vin": "<string>",
"brand": "<string>",
"model": "<string>",
"extra": null
},
"category": 123,
"rental_point": 123,
"unique_id": "<string>",
"type": 0,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sell_price": "<string>",
"sell_date": "2023-11-07T05:31:56Z",
"lifetime": -1,
"stock_price": "<string>",
"comment": "<string>",
"sublease_percent": "<string>",
"image": "<string>",
"prev_earning": "<string>",
"extra": "<unknown>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"group": 123,
"state": 123,
"sublease_user": 123
}curl --request PUT \
--url https://api.example.com/v1/crm/inventories/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"car": {
"type": "CAR",
"number": "<string>",
"tech_passport": "<string>",
"serial": "<string>",
"vin": "<string>",
"brand": "<string>",
"model": "<string>",
"extra": null
},
"category": 123,
"rental_point": 123,
"unique_id": "<string>",
"type": 0,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sell_price": "<string>",
"sell_date": "2023-11-07T05:31:56Z",
"lifetime": -1,
"stock_price": "<string>",
"comment": "<string>",
"sublease_percent": "<string>",
"image": "<string>",
"prev_earning": "<string>",
"extra": "<unknown>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"group": 123,
"state": 123,
"sublease_user": 123
}
'{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"device_unique_id": "<string>",
"car": {
"type": "CAR",
"number": "<string>",
"tech_passport": "<string>",
"serial": "<string>",
"vin": "<string>",
"brand": "<string>",
"model": "<string>",
"extra": null
},
"category": 123,
"rental_point": 123,
"unique_id": "<string>",
"type": 0,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sell_price": "<string>",
"sell_date": "2023-11-07T05:31:56Z",
"lifetime": -1,
"stock_price": "<string>",
"comment": "<string>",
"sublease_percent": "<string>",
"image": "<string>",
"prev_earning": "<string>",
"extra": "<unknown>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"group": 123,
"state": 123,
"sublease_user": 123
}255Show child attributes
2550 - Аренда1 - Продажа0, 1 0 <= x <= 32767^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$-2147483648 <= x <= 2147483647^-?\d{0,14}(?:\.\d{0,2})?$1024^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$255Show child attributes
2550 - Аренда1 - Продажа0, 1 0 <= x <= 32767^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$-2147483648 <= x <= 2147483647^-?\d{0,14}(?:\.\d{0,2})?$1024^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$Была ли эта страница полезной?