Skip to main content
14-Alexandrite
August 14, 2024
Question

Accessing and Replacing Attachments in CADDocument Drawings via WTDocument APIs

  • August 14, 2024
  • 2 replies
  • 690 views

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

Catalina
Community Moderator
August 19, 2024

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 II
22-Sapphire II
August 26, 2024

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