Back to index

GetVehicleWorkingSummary_v1

This method wraps the R:Com Database table function EX_GetVehicleWorkingSummary. See R:COM Database API document.

Parameters:

[in] usn The user-name that you need to use to authenticate on this interface.
[in] pwd The password that you need to use to authenticate on this interface.
[in] options String parameter. This is currently unused and reserved for future versions of the API. Pass in an empty string.
[in] startDate The start date and time of the period for which the function should be run.
[in] endDate The end date and time of the period for which the function should be run.
[out] errorMsg If an error happpens this string contains the error message. In case an error has happened (this variable contains a valid non-empty string) then the return value will not contain any usable data, do not try to parse it as an xml.
return value If the errorMsg variable is null or empty then the returned string contains the requested data in xml format. The xml has the following structure (Note StartOdometer and EndOdometer may be null until schema is upgraded to 0.1577):
<?xml version="1.0" encoding="utf-16"?>
<root>
  <EX_GetVehicleWorkingSummary>
  <row DrivingDurationMinutes="8700" WorkingDurationMinutes="1000" RestDurationMinutes="480"
     POADurationMinutes="0"
     DistanceTravelled="240"
     FuelUsed="30"
     StartOdometer="100"
     EndOdometer="150" />
</root>
Please note this.

Remarks

Minimum R-COM Database version

0.1476

Error messages

Please see this page.