_getCarsPosition5

(API version 2.0)

WDS_Position5[] _getCarsPosition5 ( string kodf , string username , string pass , int carid , string gmdatetime )

Description

Function returns information about current vehicle's position.
Returned position (Zs, Zd, 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_Position5[]
  • WDS_Position5
    • int carid

      vehicle ID

    • float Zs

      latitude

    • float Zd

      longitude

    • string positiontime

      pocition time ( GMT)

    • string localpostime

      pocition time (local time)

    • int speed

      speed

    • string Location

      location

    • string Location_state

      country

    • string Location_city

      city

    • string Location_street

      street

    • string input1

      input 1

    • string input2

      input 2

    • string input3

      input 3

    • string input4

      input 4

    • string ac_dallas

      dallas chip

    • float km

      odometer

    • float usedfuel

      used fuel

    • int mh

      moto odometer status (In Beta version only returns the last moto odometer status from previous route, current moto odometer status will be added later)

    • float fuel

      fuel status

    • float kmFms
    • string kmFmsPostime

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getCarsPosition5($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