_delCarCosts

(API version 2.0)

int _delCarCosts ( string kodf , string username , string pass , int IdCar , long IdCost )

Description

Function delete single item costs from the list of vehicle costs.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int IdCar
vehicle ID
long IdCost
Cost ID

Return value

int

1 ... successfully deleted
0 ... login failed
-1 ... user doesn't have permission to edit/delete costs
-2 ... cost doesn't exist
-3 ... log book is locked

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle ID
Cost ID

* Required field