If I know the id of an attachment, what is the correct URL I can use to programmatically download the attachment from another machine?
Example: I have a document: wt.doc.WTDocument:167663137 and the primary content is OR:wt.content.ApplicationData:167724372
How do I download the data?
Found my own answer. The ListContent Webject returns a "urlLocation" property, which is what I need.
Also, one of the example TaskDelegates has te code for determining download URL (I'm guessing it's similar to the code that ListContent uses).
tasks/com/ptc/windchill/ws/GetDownloadHandles.xml has the magic bits.
use below pseudo code may get the URL: