Assigning Security Labels for a Process Plan
You can create multiple single-valued or multi-valued Security Labels for a Process Plan.
Example: Assigning Single-valued Security Labels
This example shows you how to assign multiple single-valued security labels for a Process Plan. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "Process Plan 01",
"Standard": false,
"OccurrenceLevel": false,
"ProcessPlanQuantity": 0,
"Unit": "ea",
"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 Plan. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/ProcessPlans
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "Process Plan 02",
"Standard": false,
"OccurrenceLevel": false,
"ProcessPlanQuantity": 0,
"Unit": "ea",
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:113009')",
"EXPORTCONTROL": "LNC,CUSTOM",
"EXPORTCONTROL1": "LNC1,CUSTOM1"
}