I thought that it would work like the update method, with the PUT method and a json body.
Search found 6 matches
- Fri Aug 18, 2017 10:36 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
- Wed Aug 09, 2017 10:02 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
Re: Cannot move document using REST API
Try the attached patch (LD 7.6.4) it adds the method move (HTTP PUT) with 2 query params: docId and folderId You should uncompress in /classes on Windows C:\LogicalDOC\tomcat\webapps\ROOT\WEB-INF\classes Hi agaspa. I found a bit strange not using json or xml in the put method but this patch worked ...
- Tue Aug 08, 2017 8:01 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
Re: Cannot move document using REST API
Hi phurtado, you should carefully check the id of the target folder "folderId" and perhaps the main log of web-application: /repository/dms.log Hi agaspa. I'm sure the target folderId is correct. I checked the dms.log but nothing remarkable. Tried adding permissions manually to the admin group on b...
- Mon Aug 07, 2017 11:59 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
Re: Cannot move document using REST API
Hi you should pay attention to the HTTP method used, in order to update a document you must use the PUT method. So in order to change the folder of a document that should be enough '{ "id":106758151, "folderId":4 }' Note that in order to move a document from source folder A to target folder B, you ...
- Mon Aug 07, 2017 10:43 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
Re: Cannot move document using REST API
Hi agaspa.
I'm using v7.6.4
I'm using v7.6.4
- Mon Aug 07, 2017 10:18 am
- Forum: Web Services
- Topic: Cannot move document using REST API
- Replies: 11
- Views: 8675
Cannot move document using REST API
Hi there. I'm trying to use the REST API to update de document metadata. With this body I'm successfully changing the document title and some of my extra attribute, but I'm unable to change the folder of the document. I checked that the folderId already exists. Am I forgetting anything? {"id":387039...