[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] columns | String array of the requested columns. For the full list of supported columns please refer to the Database API Documentation. If a non-existing column is requested then that column will appear in the returned XML and every entry in that column will be an empty string. |
[in] options | String parameter. This is currently unused and reserved for future versions of the API. Pass in an empty string. |
[in] fromDate | The date for and after which you would like to retrieve the data. Please make sure that you specify this in utc. |
[in] toDate | The date for and after which you would like to retrieve the data. Please make sure that you specify this in utc. |
[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:
<?xml version="1.0" encoding="utf-8"?>
Please note this.
<root> <EX_DriverPerformanceScores> <row DriverID="5"DriverName="Bill Johnson"EmployeeNumber="" StartTime="2025-01-01 00:00:00.000" EndTime="2025-02-01 00:00:00.000"TotalDurationMinutes="0" TotalEngineRunningDurationMinutes="0"FuelUsed="0"DistanceTravelled="150.0" FuelConsumption=""FuelConsumptionScore=""IdlingPercent="38.6"IdlingScore="9" PercentageTimeOverrevving="0.456"RPMBandScore="100"HarshBrakeCount="0"HarshBrakeScore="100" PercentageTimeOverspeeding="96.15"SpeedingScore="10"TotalScore="50" /> </EX_DriverPerformanceScores> </root> |
Please see this page.