Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PUT \
--url https://api.example.com/v1/crm/groups/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"comment": "<string>",
"category": 123,
"unique_id": "<string>",
"barcode": "<string>",
"image": "<string>",
"extra": "<unknown>",
"published": true,
"type": 0,
"price": "<string>",
"discount": 123,
"tarif_form": [
{
"name": "<string>",
"price": "<string>",
"id": 123,
"weekdays": [
123
],
"start": "<string>",
"end": "<string>",
"order": 123,
"time_period": 123
}
],
"unit_type": "litre",
"unit_price": "<string>",
"unit_count": "<string>",
"unit_sum": "<string>",
"points": [
-1
],
"lifetime": -1
}
'{
"id": 123,
"name": "<string>",
"comment": "<string>",
"category": 123,
"unique_id": "<string>",
"barcode": "<string>",
"image": "<string>",
"extra": "<unknown>",
"published": true,
"type": 0,
"price": "<string>",
"discount": 123,
"tarif_form": [
{
"name": "<string>",
"price": "<string>",
"id": 123,
"weekdays": [
123
],
"start": "<string>",
"end": "<string>",
"order": 123,
"time_period": 123
}
],
"inventory_form": {
"count": 123,
"rental_point": 123,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sublease_user": 123,
"sublease_percent": "<string>",
"extra": "<unknown>"
},
"unit_type": "litre",
"unit_price": "<string>",
"unit_count": "<string>",
"unit_sum": "<string>",
"points": [
-1
],
"lifetime": -1
}curl --request PUT \
--url https://api.example.com/v1/crm/groups/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"comment": "<string>",
"category": 123,
"unique_id": "<string>",
"barcode": "<string>",
"image": "<string>",
"extra": "<unknown>",
"published": true,
"type": 0,
"price": "<string>",
"discount": 123,
"tarif_form": [
{
"name": "<string>",
"price": "<string>",
"id": 123,
"weekdays": [
123
],
"start": "<string>",
"end": "<string>",
"order": 123,
"time_period": 123
}
],
"unit_type": "litre",
"unit_price": "<string>",
"unit_count": "<string>",
"unit_sum": "<string>",
"points": [
-1
],
"lifetime": -1
}
'{
"id": 123,
"name": "<string>",
"comment": "<string>",
"category": 123,
"unique_id": "<string>",
"barcode": "<string>",
"image": "<string>",
"extra": "<unknown>",
"published": true,
"type": 0,
"price": "<string>",
"discount": 123,
"tarif_form": [
{
"name": "<string>",
"price": "<string>",
"id": 123,
"weekdays": [
123
],
"start": "<string>",
"end": "<string>",
"order": 123,
"time_period": 123
}
],
"inventory_form": {
"count": 123,
"rental_point": 123,
"buy_price": "<string>",
"buy_date": "2023-12-25",
"sublease_user": 123,
"sublease_percent": "<string>",
"extra": "<unknown>"
},
"unit_type": "litre",
"unit_price": "<string>",
"unit_count": "<string>",
"unit_sum": "<string>",
"points": [
-1
],
"lifetime": -1
}5125122552550 - Аренда1 - Продажа0, 1 0 <= x <= 32767^-?\d{0,14}(?:\.\d{0,2})?$Show child attributes
Show child attributes
litre - Litrekg - Kilogramg - Gramml - Millilitrepiece - Piecem3 - Cubic Meterlitre, kg, g, ml, piece, m3 ^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$-2147483648 <= x <= 2147483647-2147483648 <= x <= 21474836475125122552550 - Аренда1 - Продажа0, 1 0 <= x <= 32767^-?\d{0,14}(?:\.\d{0,2})?$Show child attributes
Show child attributes
litre - Litrekg - Kilogramg - Gramml - Millilitrepiece - Piecem3 - Cubic Meterlitre, kg, g, ml, piece, m3 ^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$-2147483648 <= x <= 2147483647-2147483648 <= x <= 2147483647Была ли эта страница полезной?