_getMess

(API version 2.0)

WDS_MessItem[] _getMess ( string kodf , string username , string pass , int idcar , string datefrom , string dateto , int type )

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

Return value

WDS_MessItem[]
  • WDS_MessItem
    • int Idcar

      vehicle ID

    • int Dev
    • 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
    • float ElSend
    • string PlaceSend
    • 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

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle ID
date from
date to
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

* Required field