Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper rest API - updating topic


ganesh.gadakar_1

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...