_getCarsList

(API version 2.0)

WDS_CarItem[] _getCarsList ( string kodf , string username , string pass )

Description

The function returns a list of all vehicles that corresponds to the rights of the logged-on user.

Categories

Parameters

string kodf
company code
string username
username
string pass
password

Return value

WDS_CarItem[]
  • WDS_CarItem
    • int cargroupid

      Group ID in the system. The vehicle may be included into group.

    • int carid

      Vehicle ID in the system

    • string identifikator

      Vehicle registration number

    • string driver

      Default driver. If not filled in, the value is empty.

    • string mobil

      Telephone number to communicate with the vehicle. This value is used if the vehicle is equipped with a telephone for SMS communication.

    • int userrights

      user rights

    • int type

      1 .. bus
      2 .. electromobile
      3 .. motorcycle
      4 .. lorry
      5 .. semi-trailer
      6 .. passanger
      7 .. trailer
      8 .. crop production
      9 .. tractor unit
      10 .. special vehicle
      11 .. building machine
      12.. inert sprayer
      13 .. chemical spreyer
      14 .. technological vehicle
      15 .. tractor
      16 .. special vehicle
      17 .. forklift
      18 .. delivery van
      19 .. ambulance
      20 .. x
      21 .. passanger medium
      22 .. passanger large
      23 .. cargo truck small
      24 .. cargo truck medium
      25 .. cargo truck big
      26 .. hybrid
      27 .. plug-in hybrid

    • int online

      Activity status of the vehicle:
      0 .. the vehicle is inactive
      1 .. the vehicle is active

    • int disabled

      Evidence status of the vehicle
      0 .. the vehicle is not disabled
      1 .. the vehicle is disabled

    • string alarmsms

      Phone number for sending alarms.

    • int iddriver

      Default driver ID. If is not filled default driver, the value is empty.

Examples

API version 2.0

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

Test

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

company code
username
password

* Required field