_getVoltage
(API version 2.0)WDS_VoltageItem[] _getVoltage ( string kodf , string username , string pass , int IdCar , string DateFrom , string DateTo )
Description
The function returns the battery voltage.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- int IdCar
- Vehicle Identifier
- string DateFrom
- Date from (local time)
- string DateTo
- Date to (local time)
Return value
-
WDS_VoltageItem
-
int
IdCar
unique vehicle identifier
-
string
DateT
voltage measurement date in UTC
-
float
U1
main source voltage
-
float
U2
backup source voltage
-
string
source
0x0b02 - basic measurement accuracy (device U61x,U72x)
0x0b0b - extended measurement accuracy (device U7xx,U8xx) -
int
isActive
An indication of whether the vehicle was started at the time of voltage measurement. For source 0x0b0b available only.
0 - The vehicle is inactive - the key is turned off.
1 - The vehicle is active - the key is turned on.
null - undefined
-
int
IdCar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getVoltage($kodf, $username, $pass, $IdCar, $DateFrom, $DateTo);
Test
To test the function, enter parameters in form below and press Try it out button.