_getWarningLightsActive
(API version 2.0)WDS_WarningLightsActiveItem _getWarningLightsActive ( string kodf , string username , string pass [ , int[] caridList ] [ , int[] codeList ] [ , int severity ] )
Description
Returns a list of active errors
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
-
int[] caridList
- int item
- list of vehicle identifiers, if not filled in then return all vehicles
-
int[] codeList
- int item
- list of required codes according to the Princip numbering book, if not filled in, then returns all codes
- int severity
- everity
1 - warning
2 - error
Return value
WDS_WarningLightsActiveItem
-
int
id
record id
-
string
code
warning light code
-
string
from
event start date in format yyyy-mm-dd hh:mm:ss (UTC)
-
int
carid
Vehicle ID in system
-
int
odometerStart
state of the odometer when the error first occurs
-
int
odometerEnd
odometer state at last obd message
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getWarningLightsActive($kodf, $username, $pass, $caridList, $codeList, $severity);
Test
To test the function, enter parameters in form below and press Try it out button.