cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Accessing and Replacing Attachments in CADDocument Drawings via WTDocument APIs

ozclkonur
12-Amethyst

Accessing and Replacing Attachments in CADDocument Drawings via WTDocument APIs

There are various API variations, such as POST, PATCH, and GET, for attachments in WTDocument within the REST APIs in WRS to perform operations on the document. My question is: Can we access the attachments in the drawing located in CADDocument through WTDocument? If so, can we replace the document there, such as a PDF file, with another file? If we can do this, how do we establish this connection?

Catalina_0-1724059944455.png

 

2 REPLIES 2

Hi @ozclkonur,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant.

 

Best regards,

Catalina
PTC Community Moderator
HelesicPetr
22-Sapphire I
(To:ozclkonur)

Hi @ozclkonur 

If the REST API is designed for a WTDocument, then it is just for the WTDocument and can not accept different type as a EPMDOcument.

You should look to the EPMDocument REST API if there is something to manipulate with the attachments on the EPMDocument

PetrH

Announcements

Top Tags