Skip to main content
1-Visitor
February 5, 2020
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
November 18, 2020

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
July 27, 2022

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
July 27, 2022
Marco