Retrieving Information About Classification Attributes
This example shows you how to retrieve information about classification attributes for the specified classification node. Use the following GET request.
URI
GET /Windchill/servlet/odata/ClfStructure/GetClassificationNodeInfo(clfStructureNameSpace='com.ptc.csm.default_namespace',clfNodeInternalName=’Part’) HTTP/1.1
Response
{
"@odata.context": "/Windchill/servlet/odata/ClfStructure/$metadata#ClassificationInfo",
"ClfNodeInternalName": "Part",
"ClfNodeDisplayName": "Part",
"ClfNodeHierarchyDisplayName": "Part",
"ClassificationAttributes": [
{
"InternalName": "xje136",
"DisplayName": "Weight",
"Value": "0.0",
"DisplayValue": "0.0"
},
{
"InternalName": "CB89D0417f",
"DisplayName": "General Description",
"Value": "0",
"DisplayValue": "0"
}
]
}
The response returned by the function can be specified as payload to create a classified part.
Was this helpful?