We are trying to pull the tree structure of two of the Nonconformance attributes "NC Category" & "NC Trending Categories", into Thingworx.
At Thingworx side, we can parse xml or json input; preferably with the tree (parent-child) details, and feed it to tree widget.
At Windchill side we need some help to develop the webject (xml or java code) to pass the attribute details.
Please let us know the right approach or API to get the above attributes along with parent-child (tree) details
Object - WCTYPE|com.ptc.qualitymanagement.nc.Nonconformance
Attribute Name - Nonconformance Category
Internal name - ncCategoryCode / ncCategoryPath
Object - com.ptc.qualitymanagement.nc.NCTrendingCode
Attribute Name - Nonconformance Trending Categories
Internal name - ncTrendingCode & ncTrendingPath
Please refer attached screenshots.