_getRouteCar2

(API version 2.0)

WDS_OptimalRouteFullItem[] _getRouteCar2 ( string kodf , string username , string pass , int idcar , string startdate , string enddate [ , string updatedate ] )

Description

The function returns the full delivery route 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
string updatedate

Return value

WDS_OptimalRouteFullItem[]
  • WDS_OptimalRouteFullItem
    • int IdDelivery
    • int IdRoute
    • string RouteName
    • int IdCar
    • int Status
    • string CarIdentifikator
    • string Driver
    • float FromEw
    • float FromEl
    • string FromPlace
    • float ToEw
    • float ToEl
    • string ToPlace
    • float Weight
    • float Capacity
    • float Distance
    • string DateRoute
    • string DateStart
    • string DateEnd
    • string Sendtime
    • string Note
    • string ReadTime
    • string AccTime
    • string ReTime
    • string UpdateTime
    • string StartTime
    • string EndTime
    • int StopCount
    • WDS_OptimalRouteStopFullItem[]
      • WDS_OptimalRouteStopFullItem
        • int IdStop
        • int StopOrder
        • float Ew
        • float El
        • string DetentionTime
        • string TimeFrom
        • string TimeTo
        • string Destination
        • string Street
        • string City
        • string Zip
        • string Country
        • string Commodity
        • string Weight
        • string Dimension
        • string Quantity
        • string ContactPerson
        • string ContactPhone
        • string Note
        • string Number
        • int IdUserPoint
        • string ReachTime
        • WDS_OptimalRouteStopActionFullItem[]
          • WDS_OptimalRouteStopActionFullItem
            • int IdStopAction
            • int TypeAction

              0 - yes / no
              1- the number,
              2 - text,
              3 - signature,
              4 - foto,
              5 - bar code,
              6 - Confirmation,
              7 - print transfer document,
              8 - Printing the Temperature Log

            • string Text
            • string Note
            • int SeqNumber
            • WDS_OptimalRouteStopActionMessItem[]
              • WDS_OptimalRouteStopActionMessItem
                • string TimeAction
                • float Ew
                • float El
                • string Text
        • WDS_OptimalRouteStopActionMessItem[]
          • WDS_OptimalRouteStopActionMessItem
            • string TimeAction
            • float Ew
            • float El
            • string Text
        • string DateFrom
        • string DateTo
        • long MStart
        • int TypeStop
    • WDS_OptimalRouteStopActionMessItem[]
      • WDS_OptimalRouteStopActionMessItem
        • string TimeAction
        • float Ew
        • float El
        • string Text
    • int IdDriver
    • int IdDriver2
    • string Driver2
    • WDS_OptimalRoutePosItem[]
      • WDS_OptimalRoutePosItem
        • int IdRoute

          id route of delivery

        • string Postime

          time of achievement

        • float Ew

          latitude

        • float El

          longitude

        • float TypP
        • int IdStop

          delivery stop id

    • WDS_TankStationItem[]

      fueling directive

      • WDS_TankStationItem
        • int IdStop
        • int IdPoint
        • int Status
        • int MStart
        • float Ew
        • float El
        • string Station
    • WDS_OverSpeedItem[]

      Files sent to the vehicle

      • WDS_OverSpeedItem
        • int IdCar

          Vehicle Identifier

        • int IdDriver

          Driver Identifier

        • int MSpeed

          Max speed

        • string Time_from

          time from (local time)

        • string Time_to

          time to (local time)

        • float Ew

          latitude

        • float El

          longitude

        • float Dist

          distance

Examples

API version 2.0

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

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