Navigation:  Integration via SOAP web services > Published web services > Document >

newAccessPermission

Previous  Top  Next

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 arrowrgray User;

2 arrowrgray Department;

3 arrowrgray Position;

4 arrowrgray Department/Position;

5 arrowrgray Team;

6 arrowrgray All.

PERMISSION

X

Permission type:

1 arrowrgray Edit;

2 arrowrgray Delete;

3 arrowrgray Revise;

4 arrowrgray Acknowledgment;

5 arrowrgray Distribute copy;

6 arrowrgray View;

7 arrowrgray Cancel;

8 arrowrgray Archive;

9 arrowrgray Print;

10 arrowrgray Training;

11 arrowrgray Create training;

12 arrowrgray Save locally;

13 arrowrgray Sign;

14 arrowrgray Notification;

15 arrowrgray Add comment;

16 arrowrgray Evaluate applicability.

E.g.: 1,2,3

PERMISSIONTYPE

X

Action type:

1 arrowrgray Allow;

2 arrowrgray 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.