_getCarsListGeneral

(API version 2.0)

WDS_CarGeneralItem[] _getCarsListGeneral ( string kodf , string username , string pass , int IdCar )

Description

The function returns vehicle information.

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
int IdCar
Unique vehicle identifier, -1 for all

Return value

WDS_CarGeneralItem[]
  • WDS_CarGeneralItem
    • int CarId

      Vehicle ID

    • int Cargroupid

      Group ID

    • int Iddriver

      default driver

    • string Identifikator

      vehicle registration plate

    • string Popis

      short description

    • string Divize

      division

    • string Stredisko

      center

    • string Osobni_cislo

      personal number

    • string Cislo_objektu

      Object number

    • string Cislo_TP

      The ID card number

    • string VIN

      VIN

    • string Tovarni_znacka

      Factory brand

    • string Model_vozu

      Car model

    • string Typ_PHM

      Fuel type

    • string Stanoviste

      Location

    • float Amort

      amortization / km

    • int DomovPraceDomov

      Home - Work - Home

    • int Mesic_km

      Monthly mileage [km]

    • int Nadrz

      Tank size [l]

    • float CenaBezDPH

      Purchase price excluding VAT

    • float CenaDPH

      Purchase price

    • float CenasDPH

      Purchase price with VAT

    • float Spotreba_TP

      Consumption according to the technical card combined

    • float Spotreba_TP_mesto

      Consumption according to city card

    • float Spotreba_TP_mimo

      Consumption according to the technical card outside the city

    • int Responsible_user

      Responsible user / driver

    • int Supervising_user

      Supervising user / driver

    • int Accounting_office

      Accounting office

    • string Currency

      Vehicle currency

    • int LandToolDef

      Agriculture - starting tools

    • int LandWorkDef

      Agriculture - baseline activity

    • float LandWorkWidth

      Agriculture - Soil work width

    • int LandOverlay

      Agriculture - Soil overlay work

    • int IdTemplate

      Id templates for the appearance of vehicles

    • int Vlastnik

      Owner -
      0 - not entered
      1 - corporate
      2 - private
      3 - Private-PHM
      4 - corporate - financial leasing
      5 - corporate - operative leasing
      6 - vehicle rental

    • int Druh

      Type of vehicle
      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

    • string Ucel

      Default account

    • int NadrzCNG

      CNG tank size [kg]

    • int MinCasCD

      Copy the last logged in driver for MinCasCD minutes

    • float SpotrCNG

      Average consumption of CNG according to the technical card

    • int PovolitSJ

      Enable private escape (can only be set for a company that is not globally off)

Examples

API version 2.0

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

Test

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

Company code
Login username
Login password
Unique vehicle identifier, -1 for all

* Required field