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

Create A Part to Document Relationship using the REST API

beeler
3-Visitor

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!

1 REPLY 1
tchampier
5-Regular Member
(To:beeler)

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

Announcements