Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PUT \
--url https://api.example.com/v1/crm/maintenances/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"inventory": 123,
"type": 0,
"responsible": 123,
"description": "<string>",
"state": 123,
"interval": "<string>",
"period_type": 0,
"maintenance_date": "2023-11-07T05:31:56Z",
"distance_threshold": -1,
"time_threshold": "<string>",
"total_distance": 0,
"distance": 0
}
'{
"id": 123,
"name": "<string>",
"inventory": 123,
"type": 0,
"responsible": 123,
"comment": "<string>",
"fact_maintenance_date": "2023-11-07T05:31:56Z",
"end_total_distance": 123,
"description": "<string>",
"state": 123,
"interval": "<string>",
"period_type": 0,
"maintenance_date": "2023-11-07T05:31:56Z",
"distance_threshold": -1,
"time_threshold": "<string>",
"total_distance": 0,
"distance": 0
}curl --request PUT \
--url https://api.example.com/v1/crm/maintenances/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"inventory": 123,
"type": 0,
"responsible": 123,
"description": "<string>",
"state": 123,
"interval": "<string>",
"period_type": 0,
"maintenance_date": "2023-11-07T05:31:56Z",
"distance_threshold": -1,
"time_threshold": "<string>",
"total_distance": 0,
"distance": 0
}
'{
"id": 123,
"name": "<string>",
"inventory": 123,
"type": 0,
"responsible": 123,
"comment": "<string>",
"fact_maintenance_date": "2023-11-07T05:31:56Z",
"end_total_distance": 123,
"description": "<string>",
"state": 123,
"interval": "<string>",
"period_type": 0,
"maintenance_date": "2023-11-07T05:31:56Z",
"distance_threshold": -1,
"time_threshold": "<string>",
"total_distance": 0,
"distance": 0
}2550 - one time1 - periodic0, 1 -32768 <= x <= 327670 - interval1 - distance0, 1 -32768 <= x <= 32767-2147483648 <= x <= 2147483647-9223372036854776000 <= x <= 9223372036854776000-9223372036854776000 <= x <= 92233720368547760002550 - one time1 - periodic0, 1 -32768 <= x <= 327670 - interval1 - distance0, 1 -32768 <= x <= 32767-2147483648 <= x <= 2147483647-9223372036854776000 <= x <= 9223372036854776000-9223372036854776000 <= x <= 9223372036854776000Была ли эта страница полезной?