Updating Security Labels for Multiple Standard Control Characteristics
You can update security label attributes of a single or multiple standard control characteristics by specifying the standard control characteristic OIDs and the security label attributes in the request body.
This example shows you how to update the security label attributes for two standard control characteristics specified in the request body. This example shows you how to update the security label attributes on the specified standard control characteristics using the unbound action EditStandardCCsSecurityLabels, which is automatically available in the EDM of the StandardCCs entity. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/EditStandardCCsSecurityLabels
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"StandardCCs": [
{
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMStandardCC:196272",
"SLAttribute1": "secret1",
"SLAttribute2": "secret2"
},
{
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMStandardCC:196286",
"SLAttribute1": "secret3",
"SLAttribute2": "secret4"
}
]
}
Was this helpful?