This method enables to insert and edit:
▪Data of a security type
To insert each of these items, it is necessary to follow the standard documented below.
Java class
|
Request
|
web\wwwroot\ws\java\asset\Import_objectSecurityRequestType.java
|
Return
|
web\wwwroot\ws\java\asset\Import_objectSecurityResponseType.java
|
Request
|
ID #
|
Required
|
Description
|
IDOBJECTTYPE
|
X
|
Object type ID #
|
ACCESSTYPE
|
X
|
Access control type:
1 - Group of users,
2 - Department,
3 - Department/Position,
4 - Position,
5 - User,
6 - All.
|
PERMISSION
|
X
|
Permission type:
1 - Allow;
2 - Deny.
|
IDACCESSTYPE
|
X
|
Access type ID #.
Example: If the type is by user, it will be the user ID. If the type is by department, it will be the department ID #.
|
IDFUNCTION
|
X²
|
Position ID #. This field will only be used if the type is by department and position. That way, the department will go in the IDACCESSTYPE field, and the position in this one.
|
INSERT
|
X1
|
Control to add:
1 - Yes;
2 - No.
|
EDIT
|
X1
|
Control to edit:
1 - Yes;
2 - No.
|
DELETE
|
X1
|
Control to delete:
1 - Yes;
2 - No.
|
SECURITY
|
X1
|
Security control:
1 - Yes;
2 - No.
|
LIST
|
X1
|
Listing control:
1 - Yes;
2 - No.
|
VIEW
|
X1
|
View control:
1 - Yes;
2 - No.
|
Return
|
ID #
|
Description
|
return
|
SUCCESS: 1
FAILURE: Returns a message regarding the error that occurred
|
|