GET api/Report/TruckUtilization/{Year}/{Month}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Year | integer |
Required |
|
Month | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TruckUtilizationReportRowName | Description | Type | Additional information |
---|---|---|---|
UnitID | string |
None. |
|
TotalMiles | integer |
None. |
|
WorkingDays | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UnitID": "sample string 1", "TotalMiles": 2, "WorkingDays": 3 }, { "UnitID": "sample string 1", "TotalMiles": 2, "WorkingDays": 3 } ]
text/html
Sample:
[{"UnitID":"sample string 1","TotalMiles":2,"WorkingDays":3},{"UnitID":"sample string 1","TotalMiles":2,"WorkingDays":3}]
application/xml, text/xml
Sample:
<ArrayOfTruckUtilizationReportRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIObjectClasses.ReportModels"> <TruckUtilizationReportRow> <TotalMiles>2</TotalMiles> <UnitID>sample string 1</UnitID> <WorkingDays>3</WorkingDays> </TruckUtilizationReportRow> <TruckUtilizationReportRow> <TotalMiles>2</TotalMiles> <UnitID>sample string 1</UnitID> <WorkingDays>3</WorkingDays> </TruckUtilizationReportRow> </ArrayOfTruckUtilizationReportRow>