_getAllCarsPosition

(API version 2.0)

WDS_Position[] _getAllCarsPosition ( string kodf , string username , string pass , int geocode )

Description

Function returns information about all current vehicle positions.
Returned positions (Zs, Zd, latitude, longitude, etc.) are independent of car log book. This positions are incoming from vehicle periodically as part of state message of the vehicle (STA message).

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int geocode
geocoding (names of position in Location* fields), 0 = disabled, 1 = enabled; please use only if needed, calls without geocoding get processed faster

Return value

WDS_Position[]
  • WDS_Position
    • int carid

      vehicle ID

    • float Zs

      latitude

    • float Zd

      longitude

    • float latitude

      latitude

    • float longitude

      longitude

    • string positiontime

      time position (GMT)

    • string localpostime

      time position ( local time)

    • int speed

      speed

    • string Location

      Location (value could be empty)

    • string Location_state

      Location, country (value could be empty)

    • string Location_city

      Location, city (value could be empty)

    • string Location_street

      Location, street (value could be empty)

    • string input1

      input 1

    • string input2

      input 2

    • string input3

      input 3

    • string input4

      input 4

    • string ac_dallas

      Dallas logged in

    • float km

      odometer

    • float usedfuel

      consumed fuel

    • float fueltank

      the state of the fuel in the tank (from the end of the last ride)

Examples

API version 2.0

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

Test

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

company code
user name
password
geocoding (names of position in Location* fields), 0 = disabled, 1 = enabled; please use only if needed, calls without geocoding get processed faster

* Required field