GET v1/getDeviceEquipment?id={id}
Метод для отримання додаткового обладнання за його ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DeviceEquipment| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID |
integer |
None. |
| clientID |
ID клієнта |
integer |
None. |
| name |
Назва |
string |
None. |
| width |
Ширина агрегата |
decimal number |
None. |
| fuelNorms |
Норми пального |
Collection of DeviceEquipmentFuelNorm |
None. |
| nameFormatted |
Назва додаткового обладнання (розширена) |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"clientID": 2,
"name": "sample string 3",
"width": 4.1,
"fuelNorms": [
{
"id": 1,
"deviceEquipmentID": 2,
"value": 3.1,
"speedFrom": 64,
"speedTo": 64
},
{
"id": 1,
"deviceEquipmentID": 2,
"value": 3.1,
"speedFrom": 64,
"speedTo": 64
}
],
"nameFormatted": " sample string 3 (4,1м; 64-64км/год 3,1л/год)"
}