How to create external role using REST service

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: 6 years 5 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
1173
Joined: Jan 24 2014 - 9:53am
Last seen: 6 years 10 months ago
Feedback