Skip to main content
1-Visitor
Feb 5, 2020 6:27 PM UTC
Question

Create A Part to Document Relationship using the REST API

I would like to create a WTPartReferenceLink between a part I have created in '/Windchill/servlet/odata/ProdMgmt/Parts' and a document I have created in '/Windchill/servlet/odata/DocMgmt/Documents'.

However, When I POST '/Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:###')/References', I receive a 501, OPERATION_NOT_SUPPORTED.

How can I create this reference link using the REST API? I was unable to find the instructions in the 'Windchill REST Services User’s Guide'.

 

Thanks!

8 replies

12-Amethyst
Nov 18, 2020 1:55 PM UTC

Hello,

 

I don't if you have found a answer, but just ask PTC and currently it's not possible to create reference neither described link using the REST API between WtPart and WtDocument. (We are in Windchill 11.1 M20)

 

Have you found another way to do that? 

We also have this need.

Thank you

 

Regards,

Thierry

Translate
1-Visitor
Jul 27, 2022 12:24 AM UTC

We also have the same need, it's been two years since this question already and we cannot find anything related. If you found an answer back in the days please consider to share it !

Translate
MarcoTosin
21-Topaz II
Jul 27, 2022 6:54 AM UTC
Marco