Updating Identity of Skill
To update the identity of a Skill object or its subtype, you can update the attributes, Name and Number.
Example: Updating Identity of a Skill Object
This example shows you how to update all identity attributes of a Skill object specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangeSkillIdentity
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.MPMSkill:296106",
"Name": "SKILL",
"Number": "123"
}
]
}
Example: Updating Identity of Multiple Skill Objects
This example shows you how to update identity attributes of each of the two Skill objects specified in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ChangeSkillIdentity
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.MPMSkill:296106",
"Name": "testSkill",
"Number": "123"
},
{
"objectID": "OR:com.ptc.windchill.mpml.resource.MPMSkill:296106",
"Name": "testSkillSub",
"Number": "1233459"
}
]
}
Was this helpful?