_getCarCosumption
(API version 2.0)WDS_CarCosumptionItem _getCarCosumption ( string kodf , string username , string pass , int idcar , int term )
Description
The function returns vehicle consumption.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- int idcar
- Vehicle Identifier
- int term
- time period
1 - today
2 - Yesterday
3 - last 7 days
4 - this week
5 - last week
6 - this month
7 - last month
Return value
WDS_CarCosumptionItem
- int IdCar
- int Status
- float Tank1
- float Flow
- float Tank2
- float FMS
- float TP
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarCosumption($kodf, $username, $pass, $idcar, $term);
Test
To test the function, enter parameters in form below and press Try it out button.