_getTemperature
(API version 2.0)WDS_TemperatureItem[] _getTemperature ( string kodf , string username , string pass , int IdCar , string DateFrom , string DateTo )
Description
The function returns the temperature.
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) - max. length of the time window is 1 month
Return value
-
WDS_TemperatureItem
-
string
DateT
recording time in GMT
-
float
T1
thermometer 1 - value in degrees Celsius
-
float
T2
thermometer 2 - value in degrees Celsius
-
float
T3
thermometer 3 - value in degrees Celsius
-
float
T4
thermometer 4 - value in degrees Celsius
-
float
T5
thermometer 5 - value in degrees Celsius
-
float
T6
thermometer 6 - value in degrees Celsius
-
int
T1isConnected
thermometer 1 status:
0 - disconnected
1 - connected -
int
T2isConnected
thermometer 2 status:
0 - disconnected
1 - connected -
int
T3isConnected
thermometer 3 status:
0 - disconnected
1 - connected -
int
T4isConnected
thermometer 4 status:
0 - disconnected
1 - connected -
int
T5isConnected
thermometer 5 status:
0 - disconnected
1 - connected -
int
T6isConnected
thermometer 6 status:
0 - disconnected
1 - connected
-
string
DateT
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getTemperature($kodf, $username, $pass, $IdCar, $DateFrom, $DateTo);
Test
To test the function, enter parameters in form below and press Try it out button.