You may want to investigate the services in wm.tn.archive in more detail.
The extendedArchive service accepts a docTypeId as input, which I assume you’ve seen. If there is more than one type of document that you wish to purge, then call the service for each docTypeId you want to purge.
Side note: For extendedArchive, the description of the docTypeId for XML documents seems awfully weird. And the other parameters seem poorly documented. Are they all required? If so, that’s a significant limitation IMO. Also, specifying an external ID without a qualifier for the senderId and receiverId seems odd and risky. Anyone have hands on experience with this service? Is the service doc off?[FONT=Arial Narrow][SIZE=4]