Assigning Security Labels for a Process Material
You can create multiple single-valued or multi-valued Security Labels for a Process Material.
Example: Assigning Single-valued Security Labels
This example shows you how to assign multiple single-valued security labels for a Process Material. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "Process Material 1.1.1",
"DefaultUnit": {
"Value": "ea"
},
"Category": {
"Value": "Cleaner"
},
"Source": "make",
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:113009')",
"EXPORTCONTROL": "LNC",
"EXPORTCONTROL1": "LNC1"
}
Example: Assigning Multi-valued Security Labels
This example shows you how to assign multiple multi-valued security labels for a Process Material. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessMaterials
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "Process Material 1.2.1",
"DefaultUnit": {
"Value": "ea"
},
"Category": {
"Value": "Cleaner"
},
"Source": "make",
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:113009')",
"EXPORTCONTROL": "LNC,CUSTOM",
"EXPORTCONTROL1": "LNC1,CUSTOM1"
}