_getRoute

(API version 2.0)

WDS_OptimalRouteItem[] _getRoute ( string kodf , string username , string pass , int idDelivery , int idRoute )

Description

The function returns the delivery route.

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
int idDelivery
ID Delivery
int idRoute
Id route, if idRoute == -1 returns all routes of the given delivery

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->_getRoute($kodf, $username, $pass, $idDelivery, $idRoute);

Test

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

Company code
Login username
Login password
ID Delivery
Id route, if idRoute == -1 returns all routes of the given delivery

* Required field