_setLBParamValues
(API version 2.0)int _setLBParamValues ( string kodf , string username , string pass , int Idcar , int IdJizda , WDS_ParamValueItem[] DataChange )
Description
Function sets other parameter values of the log book.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int Idcar
- vehicle ID
- int IdJizda
- ID of the route
-
WDS_ParamValueItem[] DataChange
-
WDS_ParamValueItem
-
int
IdP
parameter's ID
-
string
Value
value
-
int
iValue
value ID in case of expanded list
-
int
IdP
-
WDS_ParamValueItem
- parameter values field WDS_ParamValueItem
Only specific parameter values in this field will change the route, other parameters will not change.
Return value
int
>0 route ID, OK
-1 user not logged in
-2 user has no authorization to see log book
-3 user has no authorization for specific route/vehicle
-4 vehicle has no other parameter values of the log book
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setLBParamValues($kodf, $username, $pass, $Idcar, $IdJizda, $DataChange);
Test
To test the function, enter parameters in form below and press Try it out button.