_setFuelCard

(API version 2.0)

int _setFuelCard ( string kodf , string username , string pass , WDS_FuelCardItem fuelcard )

Description

The function updates or inserts the fuel card record

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
WDS_FuelCardItem fuelcard

Return value

int

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_setFuelCard($kodf, $username, $pass, $fuelcard);

Test

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

Company code
Login username
Login password
WDS_FuelCardItem fuelcard
Identifier
Card Number
PIN
Type
Vehicle ... 1 / driver ... 2
Vehicle / driver identifier
Status (inactive ... 1 / active ... 0)
Expiration date
Note

* Required field