_setPlanRoutePositions

(API version 2.0)

int _setPlanRoutePositions ( string kodf , string username , string pass , int idRoute , WDS_OptimalRoutePositionsItem[] arrPos , int add )

Description

The function deletes the existing coordinates of the delivery route and inserts a new one or only adds it.

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int idRoute
route id
WDS_OptimalRoutePositionsItem[] arrPos
box of coordinates
int add
0 - delete existing distribution points and insert new ones, 1 - only adds (can be added) and does not delete them

Return value

int

Examples

API version 2.0

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

Test

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

Company login code
Login username
Login password
route id
WDS_OptimalRoutePositionsItem[] arrPos
WDS_OptimalRoutePositionsItem item
box of coordinates
0 - delete existing distribution points and insert new ones, 1 - only adds (can be added) and does not delete them

* Required field