_getCarCosts

(API version 2.0)

WDS_CarCostsItem[] _getCarCosts ( string kodf , string username , string pass , int carid , string casod , string casdo )

Description

Function returns list of costs of specific time period for the vehicle.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int carid
vehicle ID
string casod
beginning of the time period dd.mm.YYYY hh:mm (local time)
string casdo
end of the time period dd.mm.YYYY hh:mm (local time)

Return value

WDS_CarCostsItem[]
  • WDS_CarCostsItem
    • string Datum

      date (local time)

    • string Cislo

      number

    • string Zdroj

      source

    • string Typ

      Type

    • string Popis

      description

    • string Misto

      place

    • float km

      kilometres

    • int mh

      moto hours odometer

    • float Mnozstvi

      amount

    • float Cenamj

      price per unit without VAT

    • float Cenabezdph

      total price without VAT

    • float Dph_procent

      percentage VAT rate

    • float Dph

      total price amount of VAT

    • float Cenacelkem

      total price including VAT

    • string Mena

      currency

    • int carid

      vehicle's ID

    • int IsFuel

      1 - fuel
      2 - CNG
      3 - electricity
      0 - other

    • int PaidDriver

      Paid by driver 0/1

    • long IdCost

      cost's ID

    • string Note

      note

    • string User

      user name

    • string Driver

      driver

    • string Supplier

      supplier

    • int IsFull

      tanked to the full 0/1

    • int TankId

      petrol station's ID - from own places

    • string TankSt

      petrol station

    • int TankR

      refuel direction:
      0 - not specified
      1 - ban
      4 - only small amount of petrol to drive to allowed petrol station
      8 - tank to the full

    • int IdDriver

      driver's ID

    • int druh_stanice

      0 .. public
      1 .. corporate
      2 .. homemade
      3 .. unrecognized

    • string ExternalID

      Unique identificator

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle ID
beginning of the time period dd.mm.YYYY hh:mm (local time)
end of the time period dd.mm.YYYY hh:mm (local time)

* Required field