_getCarsPosition2

(API version 2.0)

WDS_Position[] _getCarsPosition2 ( string kodf , string username , string pass , int carid , string gmdatetime )

Description

Function returns information about current vehicle position.
Returned position (Zs, Zd, latitude, longitude, etc.) comes from car log book.
Parameters Zs, Zd, latidude, longitude, location, location_state, location_city, location_street aren't filled if it is private ride and a user doesn't have a permission to show private rides.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int carid
vehicle ID
string gmdatetime
date and time (GMT - YYYY-MM-DD hh:mm:ss)

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->_getCarsPosition2($kodf, $username, $pass, $carid, $gmdatetime);

Test

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

company code
user name
password
vehicle ID
date and time (GMT - YYYY-MM-DD hh:mm:ss)

* Required field