Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Manufacturing Process Management Domain > Creating Multiple MPMSCCOperationToStandardCCLink (Control Characteristic from Product) Objects
Creating Multiple MPMSCCOperationToStandardCCLink (Control Characteristic from Product) Objects
To create an MPMSCCOperationToStandardCCLink, you must first check out the Operation object. You can create single or multiple MPMSCCOperationToStandardCCLink objects for an Operation by specifying the AssociativeToSCCLink OIDs in the request body. The link exists between an Operation and a Standard CC associated with the specified AssociativeToSCCLink OID. The AssociativeToSCCLink OID must be a valid unallocated Standard CC that can be assigned to an Operation.
* 
You can specify only the latest version OID of an AssociativeToSCCLink object.
Example: Creating Multiple MPMSCCOperationToStandardCCLink for an Operation
This example shows you how to create two MPMSCCOperationToStandardCCLinks between an Operation specified in the request URI and two AssociativeToSCCLink objects specified 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:257308')/PTC.MfgProcMgmt.AssignCCFromProduct
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"AssociativeToSCCLinkOIDs": [
{
"ID": "OR:com.ptc.windchill.mpml.pmi.AssociativeToSCCLink:200095"
},
{
"ID": "OR:com.ptc.windchill.mpml.pmi.AssociativeToSCCLink:200172"
}
]
}