_getSWAlarms2User

(API version 2.0)

int _getSWAlarms2User ( string kodf , string username , string pass , int carid )

Description

The function returns the alarm SW settings - the entire bit product for the vehicle and the logged-in user

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
int carid
A unique vehicle identifier

Return value

int

> = 0 bit product

-1 - User not logged in
-2 - User does not have admin rights
-3 - The user has no rights to the vehicle
-4 - carid unassign

Examples

API version 2.0

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

Test

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

Company code
Login username
Login password
A unique vehicle identifier

* Required field