_getRouteStop
(API version 2.0)WDS_OptimalRouteStopItem[] _getRouteStop ( string kodf , string username , string pass , int idDelivery , int idRoute [ , int idRouteStop ] )
Description
The function returns stops on 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, idRoute == 0 returns stops waiting to be inserted into the route
- int idRouteStop
- id route stop, -1 for all
Return value
-
WDS_OptimalRouteStopItem
-
int
IdStop
id stop
-
int
IdRoute
id route
-
int
IdDelivery
id delivery
-
int
StopOrder
stop order
-
float
Ew
latitude
-
float
El
longitude
-
string
DetentionTime
time of attainment
-
string
TimeFrom
time from
-
string
TimeTo
time to
-
string
Destination
company
-
string
Street
street
-
string
City
city
-
string
Zip
zip
-
string
Country
country
-
string
Commodity
commodity
-
string
Weight
weight
-
string
Dimension
dimensions
-
string
Quantity
quantity
-
string
ContactPerson
contact person
-
string
ContactPhone
contact phone
-
string
Note
note
-
string
Number
number
-
int
IdUserPoint
id of your own place
-
string
DateFrom
date from
-
string
DateTo
date to
-
int
TypeStop
1 - loading
2 - unloading
3 - unloading + loading
-
int
IdStop
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getRouteStop($kodf, $username, $pass, $idDelivery, $idRoute, $idRouteStop);
Test
To test the function, enter parameters in form below and press Try it out button.