_setLandCropSett
(API version 2.0)int _setLandCropSett ( string kodf , string username , string pass , WDS_LandCropSett CropItem )
Description
The function updates or inserts an item in the list of preset crops.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
-
WDS_LandCropSett CropItem
- int IdCrop
- string Name
- string Color
- CropItem.IdCrop = 0 for insert, > 0 - update
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setLandCropSett($kodf, $username, $pass, $CropItem);
Test
To test the function, enter parameters in form below and press Try it out button.