Creating a Classified Part
This example shows you how to create a classified part. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/ProdMgmt/Parts HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "PartName",
"EndItem": false,
"AssemblyMode": {
"Value": "separable"
},
"DefaultUnit": {
"Value": "ea"
},
"DefaultTraceCode": {
"Value": "0"
},
"Source": {
"Value": "make"
},
"GatheringPart": false,
"Classification": {
"ClfNodeInternalName":"CHIPSET",
"ClassificationAttributes": [{
"InternalName":"xje136",
"Value":"10"
}
]
},
"Context@odata.bind":"Containers('OR:wt.pdmlink.PDMLinkProduct:146821')",
"PhantomManufacturingPart": false
}