API version v1
Method reference
GET /equipment/{id}/units
Serial equipment units
Scope: equipment:read
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl "https://api.rentevio.ru/api/public/v1/equipment/00000000-0000-0000-0000-000000000000/units?search=value" \
-H "Authorization: Bearer rv_live_…"
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | — |
search | string | no | — |
page | integer | no | — |
limit | integer | no | — |
Response
{
"success": true,
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"equipment_id": "00000000-0000-0000-0000-000000000000",
"code": "string",
"serial_number": "string",
"barcode": "string",
"status": "string",
"location": "string"
}
]
}
Errors
| Code | HTTP | When |
|---|---|---|
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
NOT_FOUND | 404 | Resource not found or does not belong to the key’s company |
Was this helpful?