jlongoria Posted September 19, 2019 Share Posted September 19, 2019 Hello,I am looking for JasperServer version 7.1 documentation regarding how to create a domain using the REST v2 API.Thank you. Link to comment Share on other sites More sharing options...
swood_1 Posted September 19, 2019 Share Posted September 19, 2019 Nothing new with domains via REST between 7.1 and 7.2.The structure of domains in REST is described here: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/working-domains#topTo create a domain via REST, you add the main domain "resource" https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/resources-service#Creating_a_Resourcehttps://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/resource-descriptors#DomainAnd then add the schema, security and translation files:https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/working-file-resources#Uploading_File_Resources If you want to create the domain with all its parts in one pass, use the POST method with multipart requests described under https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/resources-service#Creating_a_Resource This is what is happening with the JasperReports Server Java REST Client: https://github.com/sgwood63/jrs-rest-java-client#uploading-semanticlayerdatasource Link to comment Share on other sites More sharing options...
Solution kkumlien Posted April 2, 2020 Solution Share Posted April 2, 2020 Here's an article describing step-by-step an approach similar to Sherman's:https://community.jaspersoft.com/wiki/creating-domains-using-rest-v2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now