_sendShellCmdToUnit

(API version 2.0)

int _sendShellCmdToUnit ( string kodf , string username , string pass , int foridcar , string text [ , string valid_to ] )

Description

The function sends a command to the unit

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int foridcar
vehicle ID
string text
text in ASCII
string valid_to
message valid (UTC)

Return value

int

0 - login failed
-1 - invalid command
-2 - vehicle not exist or you don´t have rights
-3 - error db

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle ID
text in ASCII
message valid (UTC)

* Required field