Skip to main content
12-Amethyst
February 10, 2025
Question

REST + PartsLink

  • February 10, 2025
  • 2 replies
  • 628 views
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.2

I cannot update the classification of a Part using Windchill REST Services in Windchill PartsLink
The PartsLink binding attribute internal name is: CLASS
It is defined in a subclass of WTPart called StandandPart

POST http://fihel1-sp113wnd.mcint.local/Windchill/servlet/odata/v5/ProdMgmt/Parts('OR:wt.part.WTPart.8024517512')/PTC.ProdMgmt.StandardPart

JSON:
{
"CLASS": {
"ClfNodeInternalName": "class0443"
}
}

No matter what I do, I get an error: 'CLASS' can not be mapped as a property or an annotation.

Here are the errors that I faced
'CLASS' can not be mapped as a property or an annotation.

2 replies

24-Ruby III
February 10, 2025

Articles:

dgarcia12-AmethystAuthor
12-Amethyst
February 10, 2025

Thank you Vladimir

CS299533 does not apply in my case.

I tried the solution in CS294555 but I get the same error..

Community Moderator
February 17, 2025

Hi @dgarcia,

Thank you for your question. 

Your post has not received a response since a few days. 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. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Regards,

Vivek N
Community Moderation Team