_getTankRules
(API version 2.0)WDS_TankRulesItem[] _getTankRules ( string kodf , string username , string pass , string casod , string casdo , int typSmernice )
Description
The function returns a company-specific fueling/charging directive and a time window.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- string casod
- the beginning of the time window
- string casdo
- the end of the time window
- int typSmernice
- 0 - Tank rules. 1 - Charging rules.
Return value
WDS_TankRulesItem[]
-
WDS_TankRulesItem
- int IdRule
- string Loc_state
- string Loc_name
- int Status
- string StatusText
- string Valid_from
- string Note
- float Ew
- float El
-
string
Loc_Street
Street
-
string
Loc_City
City
-
string
Loc_ZIP
ZIP
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getTankRules($kodf, $username, $pass, $casod, $casdo, $typSmernice);
Test
To test the function, enter parameters in form below and press Try it out button.