GET api/DownloadDTO/Account?account={account}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| account | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| OperaAccount | string |
None. |
|
| Name | string |
None. |
|
| Active | boolean |
None. |
|
| ActiveServiceContract | boolean |
None. |
|
| CashSalesAccount | boolean |
None. |
|
| SLA | string |
None. |
|
| Fleets | Collection of Fleet |
None. |
Response Formats
application/json, text/json
Sample:
{
"OperaAccount": "sample string 1",
"Name": "sample string 2",
"Active": true,
"ActiveServiceContract": true,
"CashSalesAccount": true,
"SLA": "sample string 6",
"Fleets": [
{
"Id": 1,
"Name": "sample string 2",
"OperaAccount": "sample string 3",
"Vehicles": [
{
"Id": 1,
"OperaAccount": "sample string 2",
"FleetId": 3,
"VehicleTypeId": 4,
"Make": "sample string 5",
"Model": "sample string 6",
"RegistrationOrTrailerNo": "sample string 7",
"VIN": "sample string 8",
"Mileage": 1.0,
"Active": true,
"Wheels": [
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
},
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
}
],
"Axles": [
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
},
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
}
]
},
{
"Id": 1,
"OperaAccount": "sample string 2",
"FleetId": 3,
"VehicleTypeId": 4,
"Make": "sample string 5",
"Model": "sample string 6",
"RegistrationOrTrailerNo": "sample string 7",
"VIN": "sample string 8",
"Mileage": 1.0,
"Active": true,
"Wheels": [
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
},
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
}
],
"Axles": [
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
},
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
}
]
}
]
},
{
"Id": 1,
"Name": "sample string 2",
"OperaAccount": "sample string 3",
"Vehicles": [
{
"Id": 1,
"OperaAccount": "sample string 2",
"FleetId": 3,
"VehicleTypeId": 4,
"Make": "sample string 5",
"Model": "sample string 6",
"RegistrationOrTrailerNo": "sample string 7",
"VIN": "sample string 8",
"Mileage": 1.0,
"Active": true,
"Wheels": [
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
},
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
}
],
"Axles": [
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
},
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
}
]
},
{
"Id": 1,
"OperaAccount": "sample string 2",
"FleetId": 3,
"VehicleTypeId": 4,
"Make": "sample string 5",
"Model": "sample string 6",
"RegistrationOrTrailerNo": "sample string 7",
"VIN": "sample string 8",
"Mileage": 1.0,
"Active": true,
"Wheels": [
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
},
{
"Id": 1,
"VehicleId": 2,
"Position": 3,
"TyreMakeId": 1,
"TyrePressure": 1,
"TyrePattern": "sample string 4",
"TyreTreadDepth": 1.0
}
],
"Axles": [
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
},
{
"Id": 1,
"VehicleId": 2,
"AxlePosition": 3,
"AxleDescription": "sample string 4"
}
]
}
]
}
]
}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMH.DTO.Download">
<Active>true</Active>
<ActiveServiceContract>true</ActiveServiceContract>
<CashSalesAccount>true</CashSalesAccount>
<Fleets>
<Fleet>
<Id>1</Id>
<Name>sample string 2</Name>
<OperaAccount>sample string 3</OperaAccount>
<Vehicles>
<Vehicle>
<Active>true</Active>
<Axles>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
</Axles>
<FleetId>3</FleetId>
<Id>1</Id>
<Make>sample string 5</Make>
<Mileage>1</Mileage>
<Model>sample string 6</Model>
<OperaAccount>sample string 2</OperaAccount>
<RegistrationOrTrailerNo>sample string 7</RegistrationOrTrailerNo>
<VIN>sample string 8</VIN>
<VehicleTypeId>4</VehicleTypeId>
<Wheels>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
</Wheels>
</Vehicle>
<Vehicle>
<Active>true</Active>
<Axles>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
</Axles>
<FleetId>3</FleetId>
<Id>1</Id>
<Make>sample string 5</Make>
<Mileage>1</Mileage>
<Model>sample string 6</Model>
<OperaAccount>sample string 2</OperaAccount>
<RegistrationOrTrailerNo>sample string 7</RegistrationOrTrailerNo>
<VIN>sample string 8</VIN>
<VehicleTypeId>4</VehicleTypeId>
<Wheels>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
</Wheels>
</Vehicle>
</Vehicles>
</Fleet>
<Fleet>
<Id>1</Id>
<Name>sample string 2</Name>
<OperaAccount>sample string 3</OperaAccount>
<Vehicles>
<Vehicle>
<Active>true</Active>
<Axles>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
</Axles>
<FleetId>3</FleetId>
<Id>1</Id>
<Make>sample string 5</Make>
<Mileage>1</Mileage>
<Model>sample string 6</Model>
<OperaAccount>sample string 2</OperaAccount>
<RegistrationOrTrailerNo>sample string 7</RegistrationOrTrailerNo>
<VIN>sample string 8</VIN>
<VehicleTypeId>4</VehicleTypeId>
<Wheels>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
</Wheels>
</Vehicle>
<Vehicle>
<Active>true</Active>
<Axles>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
<VehicleAxleDTO>
<AxleDescription>sample string 4</AxleDescription>
<AxlePosition>3</AxlePosition>
<Id>1</Id>
<VehicleId>2</VehicleId>
</VehicleAxleDTO>
</Axles>
<FleetId>3</FleetId>
<Id>1</Id>
<Make>sample string 5</Make>
<Mileage>1</Mileage>
<Model>sample string 6</Model>
<OperaAccount>sample string 2</OperaAccount>
<RegistrationOrTrailerNo>sample string 7</RegistrationOrTrailerNo>
<VIN>sample string 8</VIN>
<VehicleTypeId>4</VehicleTypeId>
<Wheels>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
<VehicleWheel>
<Id>1</Id>
<Position>3</Position>
<TyreMakeId>1</TyreMakeId>
<TyrePattern>sample string 4</TyrePattern>
<TyrePressure>1</TyrePressure>
<TyreTreadDepth>1</TyreTreadDepth>
<VehicleId>2</VehicleId>
</VehicleWheel>
</Wheels>
</Vehicle>
</Vehicles>
</Fleet>
</Fleets>
<Name>sample string 2</Name>
<OperaAccount>sample string 1</OperaAccount>
<SLA>sample string 6</SLA>
</Account>