_setMessStatus
(API version 2.0)int _setMessStatus ( string kodf , string username , string pass , int messId , int messType , int status , string actiontime )
Description
Function sends message (or driver's status) from vehicle to the portal.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int messId
- message ID, function _getMess returns WDS_MessItem.MessId
- int messType
- message type(1 - incoming, 2 - sent), function _getMess returns WDS_MessItem.MessType
- int status
- 0 - unread, 1 - seen, 2 - deleted
- string actiontime
- date and time (GMT), when status change has occured
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setMessStatus($kodf, $username, $pass, $messId, $messType, $status, $actiontime);
Test
To test the function, enter parameters in form below and press Try it out button.