_setLandToolSett2
(API version 2.0)int _setLandToolSett2 ( string kodf , string username , string pass , WDS_LandToolSett ToolItem )
Description
The function updates or inserts an item in the list of preset tools - paired according to the Identify item
Categories
Parameters
- string kodf
- Company code
- string username
- Username
- string pass
- Password
-
WDS_LandToolSett ToolItem
-
int
IdTool
Tool identifier generater by Webdispecink
-
int
IdCargroup
Car group identifier
-
int
IdWork
Work activity identifier
-
string
LP
LP
-
string
Identify
Tool identifier defined by hardware chip
-
string
Name
Name
-
string
Division
Division
-
string
Workplace
Business premises
-
string
Section
Section
-
string
RegNumber
Registration number
-
string
Category
Category
-
string
SubCategory
Sub category
-
string
Manufacturer
Manufacturer
-
string
SerialNumber
Serial number
-
string
Year
Year of manufacture
-
float
Width
Tool width
-
int
Axle
Tool axle
-
int
Disable
Is tool disabled
-
string
DisableDate
Disabled date
-
string
CarCategory
Car category
-
int
Overlay
Overlay
-
int
IdTool
- Important note:
Function searches item by the input parameter Identify
If item exists then the function update it.
If item doesn't exist then the function create a new one.
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setLandToolSett2($kodf, $username, $pass, $ToolItem);
Test
To test the function, enter parameters in form below and press Try it out button.