_getMess2
(API version 2.0)WDS_MessItem[] _getMess2 ( string kodf , string username , string pass , int idcar , string datefrom , string dateto , int type , string updatedate )
Description
Function returns sent or received messages.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int idcar
- vehicle ID
- string datefrom
- date from
- string dateto
- date to
- int type
- type of message (1 - incoming, 2-sent, 0 - all, 10 - all filter by orig_datetime, 11 - incoming filter by orig_datetime ) "incoming" = to the portal, "sent" = from the portal
- string updatedate
- update date
Return value
-
WDS_MessItem
-
int
Idcar
vehicle ID
-
int
Dev
device
-
string
MessStatus
message status
-
string
MessFrom
message from
-
string
MessTime
time of receiving message to the portal (in local time)
-
string
MessBody
message body
-
int
MessType
type of message
-
long
MessId
message ID
-
float
Ew
latitude
-
float
El
longitude
-
string
MessOrigTime
only in messages from vehicle, contain original time sent message at the time of the terminal
-
float
EwSend
latitude sent
-
float
ElSend
longitude sent
-
string
PlaceSend
location sent
-
string
DeliverTime
vehicle message delivery time to portal - local time / terminal time
-
string
ReadTime
time of reading message / time from vehicle is in local time / time from WD Fleet or terminal is in GMT
-
string
DeleteTime
time of deleting message / vehicle - local time / terminal time
-
string
UpdateTime
time of last status update e.g. read - unread, received - deleted in local time
-
int
Idcar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getMess2($kodf, $username, $pass, $idcar, $datefrom, $dateto, $type, $updatedate);
Test
To test the function, enter parameters in form below and press Try it out button.