Updating Identity of Process Plan
To update the identity of a Process Plan object or its subtype, you can update the attributes, Name and Number.
You can also update the identity of a Standard Procedure object or its subtype.
Example: Updating Identity of a Process Plan Object
This example shows you how to update all identity attributes of a Process Plan object specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangeProcessPlanIdentity
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"identities": [
{
"objectID": "OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:289992",
"Name": "newProcessPlan",
"Number": "123"
}
]
}
Example: Updating Identity of Multiple Process Plan Objects
This example shows you how to update all identity attributes of each of the two Process Plan objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangeProcessPlanIdentity
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"identities": [
{
"objectID": " OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:289993",
"Name": "newNameTestProcessPlan",
"Number": "123"
},
{
"objectID": " OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:289994",
"Name": "newSubTypeProcessPlan",
"Number": "1223444411333"
}
]
}
Was this helpful?