Creating Multiple MPMStandardCCToProcessPlanLinks
You can create single or multiple MPMStandardCCToProcessPlanLinks and its subtypes by specifying the Standard Procedure objects or its subtypes in the request body. To create single or multiple MPMStandardCCToProcessPlanLinks, you must first check out the Standard CC object.
* 
To create an MPMStandardCCToProcessPlanLink, you can specify only the latest iteration of a revision of a Standard CC object.
Example: Creating Multiple MPMStandardCCToProcessPlanLinks
This example shows you how to create multiple MPMStandardCCToProcessPlanLinks by specifying the OIDs of two Standard Procedure objects in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardCCs('VR:com.ptc.windchill.mpml.pmi.MPMStandardCC:191718')/PTC.MfgProcMgmt.CreateMPMStandardCCToProcessPlanLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"StandardCCToProcessPlanLink": [
{
"StandardProcedure@odata.bind": "StandardProcedures(OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:236532)"
},
{
"StandardProcedure@odata.bind": "StandardProcedures(OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:236532)"
}
]
}
Example: Creating an MPMStandardCCToProcessPlanLink Subtype
This example shows you how to create an MPMStandardCCToProcessPlanLink subtype by specifying the OID of its subtype in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/StandardCCs('VR:com.ptc.windchill.mpml.pmi.MPMStandardCC:191718')/PTC.MfgProcMgmt.CreateMPMStandardCCToProcessPlanLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"StandardCCToProcessPlanLink": [
{
"StandardProcedure@odata.bind": "StandardProcedures(OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:236532)",
"@odata.type": "#org.rnd.SubTypeManufacturingSCCProcessPlanLink"
},
{
"StandardProcedure@odata.bind": "StandardProcedures(OR:com.ptc.windchill.mpml.processplan.MPMProcessPlan:236532)"
}
]
}