GET api/VehicleInspectionUploadDTO/GetByAccountAndRegistration?accountNo={accountNo}®istration={registration}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountNo | string |
Required |
|
| registration | string |
Required |
Body Parameters
None.
Response Information
Resource Description
VehicleUploadDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| OperaAccount | string |
None. |
|
| FleetId | integer |
None. |
|
| VehicleTypeId | integer |
None. |
|
| Make | string |
None. |
|
| Model | string |
None. |
|
| RegistrationOrTrailerNo | string |
None. |
|
| VIN | string |
None. |
|
| Mileage | decimal number |
None. |
|
| VehicleWheelsUpload | Collection of VehicleWheelUploadDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"OperaAccount": "sample string 1",
"FleetId": 2,
"VehicleTypeId": 3,
"Make": "sample string 4",
"Model": "sample string 5",
"RegistrationOrTrailerNo": "sample string 6",
"VIN": "sample string 7",
"Mileage": 1.0,
"VehicleWheelsUpload": [
{
"Id": 1,
"VehicleId": 1,
"Position": 2,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 3",
"TyreTreadDepth": 1.0
},
{
"Id": 1,
"VehicleId": 1,
"Position": 2,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 3",
"TyreTreadDepth": 1.0
}
]
}
application/xml, text/xml
Sample:
<VehicleUploadDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMH.DTO">
<FleetId>2</FleetId>
<Id>1</Id>
<Make>sample string 4</Make>
<Mileage>1</Mileage>
<Model>sample string 5</Model>
<OperaAccount>sample string 1</OperaAccount>
<RegistrationOrTrailerNo>sample string 6</RegistrationOrTrailerNo>
<VIN>sample string 7</VIN>
<VehicleTypeId>3</VehicleTypeId>
<VehicleWheelsUpload>
<VehicleWheelUploadDTO>
<Id>1</Id>
<Position>2</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 3</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>1</VehicleId>
</VehicleWheelUploadDTO>
<VehicleWheelUploadDTO>
<Id>1</Id>
<Position>2</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 3</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>1</VehicleId>
</VehicleWheelUploadDTO>
</VehicleWheelsUpload>
</VehicleUploadDTO>