_setSWAlarms

(API version 2.0)

int _setSWAlarms ( string kodf , string username , string pass , int carid , int key , int value )

Description

The function sets the software alarm for each bit.

Categories

Parameters

string kodf
company code
string username
username
string pass
password
int carid
Vehicle ID in the system
int key
bit setting
key = -1 sett all bitwise conjunction
int value
value setting of bit : 0 / 1

Return value

int

1 - OK, the change was made
0 - it was not necessary to make a change, the settings did not change

-1 - user not logged in
-2 - user does not have admin rights

Examples

API version 2.0

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

Test

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

company code
username
password
Vehicle ID in the system
bit setting
key = -1 sett all bitwise conjunction
value setting of bit : 0 / 1

* Required field