This method wraps the R:COM Database view EX_CurrentDataTerminalStatus. See R:COM Database API document.
[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. |
[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. |
[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 | Optional parameters seperated by semicolon: ("option1=value1;option2=value2"). Pass an empty string for no options; supported options: "UseMillisecondResolution=True" to return datetime values with millisecond resolution |
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-16"?>
Please note this.
<root> <EX_CurrentDataTerminalStatus> <row VehicleID="1" VehicleName="6345" DriverID="1" DriverName="John Smith" IgnitionOn="True" GPRSConnected="True" VehicleIsMoving="True" DataTerminalConnected="True" VehicleMovingDriverNotLoggedIn="False" /> </EX_CurrentDataTerminalStatus> </root> |
Please see this page.