_getWarningLightsHistory

(API version 2.0)

WDS_WarningLightsHistoryItem[] _getWarningLightsHistory ( string kodf , string username , string pass , string historyFrom , string historyTo [ , int[] caridList ] [ , string[] codeList ] [ , int severity ] )

Description

Returns Diagnostics fault history.
Maximum date range filter is 7 days (if only one car is selected, the filter is not applied).

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
string historyFrom
Date from (YYYY-MM-DD HH:MM:SS) (UTC)
string historyTo
Date to (YYYY-MM-DD HH:MM:SS) (UTC)
int[] caridList
List of vehicle identifiers, if not filled in then return all vehicles
string[] codeList
List of required codes according to the Princip numbering book, if not filled in, then returns all codes
int severity
Severity
1 - warning
2 - error

Return value

WDS_WarningLightsHistoryItem[]
  • WDS_WarningLightsHistoryItem
    • int id
    • string code
    • string from
    • string to
    • int carid
    • int isClosed
    • int odometerStart

      the state of the odometer when the error first occurs.

    • int odometerEnd

      the odometer state at the last occurrence of the error.

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getWarningLightsHistory($kodf, $username, $pass, $historyFrom, $historyTo, $caridList, $codeList, $severity);

Test

To test the function, enter parameters in form below and press Try it out button.

Company code
Login username
Login password
Date from (YYYY-MM-DD HH:MM:SS) (UTC)
Date to (YYYY-MM-DD HH:MM:SS) (UTC)
int[] caridList
List of vehicle identifiers, if not filled in then return all vehicles
string[] codeList
List of required codes according to the Princip numbering book, if not filled in, then returns all codes
Severity
1 - warning
2 - error

* Required field