ganesh.gadakar_1 Posted July 15, 2017 Share Posted July 15, 2017 I have to use rest API to update topic. When we export a topic there are two files 1.DomainQuery.xml 2.Topic.jrxml I am able to Use put method for updating the jrxml. I need help in adding request for updating DomainQuery.xml. Following is my request: Body as String with content type: application/repository.domainTopic+json { "label":"TopicLabel", "version":"0", "dataSource":{ "dataSourceReference":{ "uri":"Domain Source path /Date Source for topic" } },"jrxml": { "jrxmlFile":{ "label": "Main jrxml", "type":"jrxml","content":"Base 64 Encoded Topic Jrxml" } } } There is process missing for updating the DomainQuery.xml This request works however it removes domainQuery.xml files making the topic invalid one. 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