_editRouteStop

(API version 2.0)

int _editRouteStop ( string kodf , string username , string pass , WDS_OptimalRouteStopItem stopItem )

Description

The function changes the stop of the order delivery path, if it does not exist (or StopItem.IdStop == 0), it inserts a new one.

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
WDS_OptimalRouteStopItem stopItem
  • 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

WDS_OptimalRouteStopItem

Return value

int

Examples

API version 2.0

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

Test

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

Company login code
Login username
Login password
WDS_OptimalRouteStopItem stopItem
id stop
id route
id delivery
stop order
latitude
longitude
time of attainment
time from
time to
company
street
city
zip
country
commodity
weight
dimensions
quantity
contact person
contact phone
note
number
id of your own place
date from
date to
1 - loading
2 - unloading
3 - unloading + loading
WDS_OptimalRouteStopItem

* Required field