INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Purge the documents using Content Webservice/Rest API

Purge the documents using Content Webservice/Rest API

(OP)
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.

RE: Purge the documents using Content Webservice/Rest API

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
http://www.tek-tips.com/faqs.cfm?fid=2884
http://www.linkedin.com/in/appunair
http://www.livelink.in

RE: Purge the documents using Content Webservice/Rest API

(OP)
Thanks you.
Is there any exposed SOAP web service API for purging in recycle bin.

RE: Purge the documents using Content Webservice/Rest API

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
http://www.tek-tips.com/faqs.cfm?fid=2884
http://www.linkedin.com/in/appunair
http://www.livelink.in

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close