Creating Multiple MPMOperationToStandardCCLink Objects
To create single or multiple MPMOperationToStandardCCLink objects, you must first check out the Operation object.
* 
To create an MPMOperationToStandardCCLink, you can specify only the latest iteration of a revision of a Standard CC object.
Example: Creating an MPMOperationToStandardCCLink Object
This example shows you how to create an MPMOperationToStandardCCLink object by specifying the Standard CC object in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:236030')/PTC.MfgProcMgmt.CreateOperationToStandardCCLink
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"OperationToStandardCCLink": [
{
"StandardCC@odata.bind": "StandardCCs(OR:com.ptc.windchill.mpml.pmi.MPMStandardCC:238142)"
}
]
}
Example: Creating Multiple MPMOperationToStandardCCLink Objects
This example shows you how to create two MPMOperationToStandardCCLink objects by specifying two Standard CC objects in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/Operations('OR:com.ptc.windchill.mpml.processplan.operation.MPMOperation:236030')/PTC.MfgProcMgmt.CreateOperationToStandardCCLink
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"OperationToStandardCCLink": [
{
"StandardCC@odata.bind": "StandardCCs(OR:com.ptc.windchill.mpml.pmi.MPMStandardCC:238142)"
},
{
"StandardCC@odata.bind": "StandardCCs(OR:com.ptc.windchill.mpml.pmi.MPMStandardCC:238174)"
}
]
}
Was this helpful?