This method enables to add access permission to a determined document. To use it, it is necessary to follow the standard documented below:
Java class
|
Request
|
web/wwwroot/ws/java/document/NewAccessPermissionRequestType.java
|
Return
|
web/wwwroot/ws/java/document/NewAccessPermissionResponseType.java
|
Request
|
ID #
|
Required
|
Description
|
IDDOCUMENT
|
X
|
Document ID #.
|
IDUSER
|
X
|
User ID or department/position ID #.
|
USERTYPE
|
X
|
User type:
▪1 User; ▪2 Department; ▪3 Position; ▪4 Department/Position; ▪5 Team; ▪6 All. |
PERMISSION
|
X
|
Permission type:
▪1 Edit; ▪2 Delete; ▪3 Revise; ▪4 Acknowledgment; ▪5 Distribute copy; ▪6 View; ▪7 Cancel; ▪8 Archive; ▪9 Print; ▪10 Training; ▪11 Create training; ▪12 Save locally; ▪13 Sign; ▪14 Notification; ▪15 Add comment; ▪16 Evaluate applicability. E.g.: 1,2,3
|
PERMISSIONTYPE
|
X
|
Action type:
▪1 Allow; ▪2 Deny. |
FGADDLOWERLEVEL
|
|
Enter the value 1 for the permission to consider the sublevels of the department.
|
IDCATEGORY
|
|
Document category ID #.
|
Return
|
ID #
|
Description
|
return
|
SUCCESS: 1: Operation successfully performed.
FAILURE: returns a message with the error that occurred.
|
|