rahilrshk Posted November 30, 2017 Share Posted November 30, 2017 Hi All,I tried moving a report Unit using "Moving a Resource" (https://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v56/moving-resource) API but this API adds a new content resource instead of report Unit. Is there any way to rename/move report unit (also rename path and ID) using REST APIs(Schedule jobs must be retained). Below are the details of API request URL: http://localhost:8081/jasperserver/rest_v2/resources/reports/1/actor_1_moved3?j_username=jasperadmin&j_password=jasperadminBody: Content-Location: /reports/1/actor_1Regards,Rahil Link to comment Share on other sites More sharing options...
bojan.brajkovic Posted November 30, 2017 Share Posted November 30, 2017 As far as I can see, the only mistake that you did was putting Content-Location in the body instead of the header. Link to comment Share on other sites More sharing options...
rahilrshk Posted December 1, 2017 Author Share Posted December 1, 2017 @bojan.brajkovic I tried putting Content-Location in the header. I get a 400 error. 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