Assigning Security Labels for a Standard CC
You can create multiple single-valued or multi-valued Security Labels for a Standard CC.
Example: Assigning Single-valued Security Labels
This example shows you how to assign multiple single-valued security labels for a Standard CC. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardCCs
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "SCC 1.1.1",
"Category": {
"Value": "angularity"
},
"SecrecyLabel": "Secret",
"SecrecyLabel1": "Secret1",
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:124126')"
}
Example: Assigning Multi-valued Security Labels
This example shows you how to assign multiple multi-valued security labels for a Standard CC. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardCCs
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "SCC 1.2.1",
"Category": {
"Value": "angularity"
},
"SecrecyLabel": "KindOfSecret,Secret",
"SecrecyLabel1": "KindOfSecret1,Secret1",
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:124126')"
}