How to create external role using REST service

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hi,

 We are able to create role using the Rest service provided  by the Jasper Report Server.

http://localhost:8181/jasperserver-pro/rest_v2/roles/ROLE_SAMPLE

Query :

We could not able to create an external role using the REST Service but we are able to acheive this using the SOAP Web Service

Kindly help us on this.

Any one suggest how to create  externallyDefined Role using the REST Service

 

 

 

akthar.itzme's picture
Joined: Sep 23 2014 - 10:38pm
Last seen: 5 years 8 months ago

1 Answer:

URL

http://superuser:superuser@localhost:8080/jasperserver-pro/rest_v2/roles...

put / (application/json)

{
"name":"newrole",
"tenantID":"organization_1",
"externallyDefined":"true"
}
 
It creates role newrole. HTH.

 

 

 

nthapa's picture
929
Joined: Jan 24 2014 - 9:53am
Last seen: 6 years 1 month ago
Feedback