API version v1
Method reference
POST /equipment/check-availability
Equipment availability for a date window
Scope: equipment:read
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl -X POST "https://api.rentevio.ru/api/public/v1/equipment/check-availability" \
-H "Authorization: Bearer rv_live_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: …" \
-d '{
"equipment_ids": [
"00000000-0000-0000-0000-000000000000"
],
"quantities": [
0
],
"start_date": "2026-09-25",
"end_date": "2026-09-27",
"exclude_holder_type": "string",
"exclude_holder_id": "string"
}'
Request body
| Field | Type | Required | Description |
|---|---|---|---|
equipment_ids | array | yes | — |
quantities | array | no | — |
start_date | string | yes | — |
end_date | string | yes | — |
exclude_holder_type | string | no | — |
exclude_holder_id | string | no | — |
{
"equipment_ids": [
"00000000-0000-0000-0000-000000000000"
],
"quantities": [
0
],
"start_date": "2026-09-25",
"end_date": "2026-09-27",
"exclude_holder_type": "string",
"exclude_holder_id": "string"
}
Response
{
"success": true,
"data": [
{
"equipment_id": "00000000-0000-0000-0000-000000000000",
"accounting_type": "string",
"quantity_total": 0,
"reserved_overlapping": 0,
"available": 0,
"requested": 0,
"shortage": 0
}
]
}
Errors
| Code | HTTP | When |
|---|---|---|
VALIDATION | 400 | Invalid request parameters |
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
Was this helpful?