Updating Identity of Tooling
To update the identity of a Tooling object or its subtype, you can update the attributes, Name and Number.
Example: Updating Identity of a Tooling Object
This example shows you how to update all identity attributes of a Tooling object specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangetToolingIdentity
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"identities": [
{
"objectID": "OR:com.ptc.windchill.mpml.resource.MPMTooling:296156",
"Name": "TOOLING",
"Number": "123"
}
]
}
Example: Updating Identity of Multiple Tooling Objects
This example shows you how to update all identity attributes of each of the two Tooling objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangeToolingIdentity
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"identities": [
{
"objectID": "OR:com.ptc.windchill.mpml.resource.MPMTooling:296106",
"Name": "testTooling",
"Number": "123"
},
{
"objectID": "OR:com.ptc.windchill.mpml.resource.MPMTooling:296106",
"Name": "testToolingSub",
"Number": "123345"
}
]
}
Was this helpful?