According to Chapter 2.4.2 of JasperReports-Server-Web-Services-Guide.pdf "... To set a permission use either
method and include the permission descriptors (objectPermissionImpl) such as those returned by the GET method."
However URI format returned by GET service is not accepted by PUT method. Resource not found error 404 is raised.
After code analysis it turned out that for first validation (RESTPermission.isValidObjectPermission, RESTPermission.canUpdateObjectPermissions methods) format of URI should be different:
For second step, putting permission itself, ObjectPermissionServiceImpl.putObjectPermission method expects URI in format:
Note, that such URI is not accepted by initial validation described above.