GET api/Dashboard/GetFleetIdleStatistics/{CompanyId}/{DispatcherId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
Required |
|
| DispatcherId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
FleetStatistics| Name | Description | Type | Additional information |
|---|---|---|---|
| FleetManager | string |
None. |
|
| UnitCount | integer |
None. |
|
| FleetMPG | decimal number |
None. |
|
| FleetIdle | decimal number |
None. |
|
| FleetReportURL | string |
None. |
|
| FleetMPGString | string |
None. |
|
| FleetIdleString | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FleetManager": "sample string 1",
"UnitCount": 2,
"FleetMPG": 3.1,
"FleetIdle": 4.1,
"FleetReportURL": "sample string 5",
"FleetMPGString": "sample string 6",
"FleetIdleString": "sample string 7"
}
text/html
Sample:
{"FleetManager":"sample string 1","UnitCount":2,"FleetMPG":3.1,"FleetIdle":4.1,"FleetReportURL":"sample string 5","FleetMPGString":"sample string 6","FleetIdleString":"sample string 7"}
application/xml, text/xml
Sample:
<FleetStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGEAPI.Models.DashboardModels"> <FleetIdle>4.1</FleetIdle> <FleetIdleString>sample string 7</FleetIdleString> <FleetMPG>3.1</FleetMPG> <FleetMPGString>sample string 6</FleetMPGString> <FleetManager>sample string 1</FleetManager> <FleetReportURL>sample string 5</FleetReportURL> <UnitCount>2</UnitCount> </FleetStatistics>