_delFuelPrice

(API version 2.0)

int _delFuelPrice ( string kodf , string username , string pass , int Id )

Description

Function clears Average cost of fuel
  (required admin rights)

Categories

Tags

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int Id
ID record for deleting WDS_FuelPriceItem -> Id

Return value

int

-1 - User not logged in
-2 - user does not have admin rights
-3 - User does not have the rights to record
-4 - deletion failed
> 0 - OK / id of the deleted record

Examples

API version 2.0

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

Test

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

Company login code
Login username
Login password
ID record for deleting WDS_FuelPriceItem -> Id

* Required field