REST + PartsLink
Feb 10, 2025
01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 10, 2025
01:29 AM
REST + PartsLink
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.
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.
Labels:
- Labels:
-
REST Services
3 REPLIES 3
Feb 10, 2025
02:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 10, 2025
02:23 AM
Articles:
- "Error "UrlLocation can not be mapped as a property or an annotation" is received when uploading Primary Content to WTDocuments in Windchill Rest Services 1.3": https://www.ptc.com/en/support/article/CS299533
- "Error 'can not be mapped as a property or an annotation' while updating IBA in a custom domain for a subtype in Windchill REST Services": https://www.ptc.com/en/support/article/cs294555
Feb 10, 2025
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 10, 2025
03:08 AM
Thank you Vladimir
CS299533 does not apply in my case.
I tried the solution in CS294555 but I get the same error..
Feb 17, 2025
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 17, 2025
01:35 AM
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
