_getRouteCar

(API version 2.0)

WDS_OptimalRouteItem[] _getRouteCar ( string kodf , string username , string pass , int idcar , string startdate , string enddate )

Description

The function returns delivery routes for a particular vehicle and a time window.

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int idcar
vehicle id
string startdate
string enddate

Return value

WDS_OptimalRouteItem[]
  • WDS_OptimalRouteItem
    • int IdDelivery

      ID delivery

    • int IdRoute

      ID route of delivery

    • string RouteName

      route name

    • int IdCar

      unique vehicle identifier

    • string CarIdentifikator

      number plate

    • string Driver

      driver

    • float FromEw

      latitude beginning of the route

    • float FromEl

      longitude beginning of the route

    • string FromPlace

      from where

    • float ToEw

      latitude end od route

    • float ToEl

      longitude end od route

    • string ToPlace

      where

    • float Weight

      weight

    • float Capacity

      capacity (m3)

    • float Distance

      distance [meters]

    • string DateRoute

      date of delivery

    • string DateStart

      start time

    • string DateEnd

      end time

    • string Sendtime

      time of sending

    • string Note

      note

    • string ReadTime

      Time of reading by the driver

    • string AccTime
    • string ReTime
    • string DeliverTime
    • int StopCount

      Number of stops on the route

    • int IdDriver

      ID driver

    • int IdDriver2

      ID second driver

    • string Driver2

      second driver

    • int IdTrailer

      ID semitrailer

    • string Trailer

      number plate of semitrailer

    • string Customer

      Cusomer

    • string Price

      price

Examples

API version 2.0

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

Test

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

Company login code
Login username
Login password
vehicle id

* Required field