Updating the Common Attributes of a Part
This example shows you how to update the common attributes of a part. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:918283')/PTC.ProdMgmt.UpdateCommonProperties HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Updates": {
"Name":"NewName",
"Number":"NewNumber",
"DefaultTraceCode":
{
"Value": "L",
"Display": "Buy"
}
}
}
Was this helpful?