GET api/v{version}/Assets/GetByID/{id}?key={key}
Gets the asset by the specified id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
api key |
string |
Required |
| id |
asset id |
integer |
Required |
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
an asset
AssetDetailOutDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Fields | Collection of MetaDataFieldOutDTO |
None. |
|
| Active | boolean |
None. |
|
| AssetID | integer |
None. |
|
| Brand | string |
None. |
|
| Code | string |
None. |
|
| Colour | string |
None. |
|
| ConstructionDate | date |
None. |
|
| CylinderCapacity | integer |
None. |
|
| EngineCode | string |
None. |
|
| EuroNorm | string |
None. |
|
| ExternalID | string |
None. |
|
| FirstRegistration | date |
None. |
|
| Fuel | string |
None. |
|
| Header1 | string |
None. |
|
| Header2 | string |
None. |
|
| Header3 | string |
None. |
|
| Kilowatt | integer |
None. |
|
| LastModified | date |
None. |
|
| Mileage | decimal number |
None. |
|
| Model | string |
None. |
|
| ModelType | string |
None. |
|
| Name | string |
None. |
|
| NextTechnicalControl | date |
None. |
|
| Notes | string |
None. |
|
| OwnerID | integer |
None. |
|
| DriverId | integer |
None. |
|
| CustomerID | integer |
None. |
|
| PriceAgreementWith | integer |
None. |
|
| InvoiceTo | integer |
None. |
|
| Leasing | integer |
None. |
|
| Insurance | integer |
None. |
|
| PriceCategory | string |
None. |
|
| PriceCategoryId | integer |
None. |
|
| PrimaryImage | string |
None. |
|
| Transmission | string |
None. |
|
| Type | string |
None. |
|
| TypeId | integer |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Fields": [
{
"BooleanValue": true,
"DateValue": "2025-12-19T17:15:37.5108511+01:00",
"DecimalValue": 1.0,
"Name": "sample string 1",
"StringValue": "sample string 2",
"Type": "String"
},
{
"BooleanValue": true,
"DateValue": "2025-12-19T17:15:37.5108511+01:00",
"DecimalValue": 1.0,
"Name": "sample string 1",
"StringValue": "sample string 2",
"Type": "String"
}
],
"Active": true,
"AssetID": 2,
"Brand": "sample string 3",
"Code": "sample string 4",
"Colour": "sample string 5",
"ConstructionDate": "2025-12-19T17:15:37.5108511+01:00",
"CylinderCapacity": 1,
"EngineCode": "sample string 6",
"EuroNorm": "sample string 7",
"ExternalID": "sample string 8",
"FirstRegistration": "2025-12-19T17:15:37.5108511+01:00",
"Fuel": "sample string 9",
"Header1": "sample string 10",
"Header2": "sample string 11",
"Header3": "sample string 12",
"Kilowatt": 1,
"LastModified": "2025-12-19T17:15:37.5108511+01:00",
"Mileage": 0.0,
"Model": "sample string 13",
"ModelType": "sample string 14",
"Name": "sample string 15",
"NextTechnicalControl": "2025-12-19T17:15:37.5108511+01:00",
"Notes": "sample string 16",
"OwnerID": 1,
"DriverId": 1,
"CustomerID": 1,
"PriceAgreementWith": 1,
"InvoiceTo": 1,
"Leasing": 1,
"Insurance": 1,
"PriceCategory": "sample string 17",
"PriceCategoryId": 1,
"PrimaryImage": "sample string 18",
"Transmission": "sample string 19",
"Type": "sample string 20",
"TypeId": 21,
"Longitude": 1.0,
"Latitude": 1.0
}