Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Purge the documents using Content Webservice/Rest API 1

Status
Not open for further replies.

mr522

Programmer
Jan 21, 2015
19
SG
Hi,
does anyone know if there is any way to purge the document using content webservices/Rest API?We tried to use some of the webservice exposed functions but it is returning the invalid id.

Steps :
deleteNode(id)

purgeVersions(id,0)

purgeVesion is returning the invalid id.Please let me know if any other way to achieve the Purge functionality using webservices

Any help would be greatly appreciated!

Thank you.
 
Actually two things

Delete Node is absolute what I mean is any Docman Node can be deleted using that.Sometimes it will go into recycle space but its id wont change so you can double delete
Purging Versions is actually like this you inquire the DocMan Node how many Versions do you have then you have to say Purge That
Possible complications are Lock,Generation Lock,Reservation Lock,RM lock,Legal Hold lock

I would suggest you look at the GUI on the Versions tabs of a Document correspondingly bring up SOAPUI and look at the DocMan functions you should ideally be seeing the same info in both cases.
Try with some simple documents in your PWS and go to complex ones

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thanks you.
Is there any exposed SOAP web service API for purging in recycle bin.
 
There isn't. In old implementations of the recycle bin you can basically do the delete on one box with recycle bin removed or you can make the configuration do standard delete for the subtype. Config change is tricky because then all your pools is going to go by that
Why bother to do a second delete? Let the objects remain there and let it be purged by the recycle agent?

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top