_getTask

(API version 2.0)

WDS_TaskItem[] _getTask ( string kodf , string username , string pass , int IdCar [ , string DateFrom ] [ , string DateTo ] , int NoTimeLimit )

Description

The function returns tasks.

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int IdCar
unique vehicle identifier (-1 for all)
string DateFrom
the start of the time window where the expected date of the expected event falls
string DateTo
the end of the time window where the expected date of the expected event falls
int NoTimeLimit
0 - filters the time window according to the entered times
1 - Returns all records without a time filter

Return value

WDS_TaskItem[]
  • WDS_TaskItem
    • int IdTask

      task id

    • int IdCar

      vehicle id

    • int IdDriver

      driver id

    • string Title

      name

    • string Note

      note

    • string DateTask

      date of task

    • int Status

      status

    • string DateRealize

      date of realization

    • string FindDate

      check date

    • float FindKm

      check state of km

    • float FindMh

      check state mh

    • int BeforeDays

      note days ahead

    • float BeforeKm

      to point the km forward

    • float BeforeMh

      alert mh forward

    • int RepeatDateUnits

      repeat after

    • int RepeatDatePeriod

      repeat after

    • float RepeatKm

      repeat after X km

    • float RepeatMh

      repeat after X mh

    • string Email

      Email to be notified

    • string Mobil

      mobile number where to get SMS alert

    • int Info

      alert on Webdispecink webside

    • int IdTrailer

      id trailer

Examples

API version 2.0

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

Test

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

Company login code
Login username
Login password
unique vehicle identifier (-1 for all)
the start of the time window where the expected date of the expected event falls
the end of the time window where the expected date of the expected event falls
0 - filters the time window according to the entered times
1 - Returns all records without a time filter

* Required field