Creating Multiple MPMStandardCCUsageToDDLinks
You can create MPMStandardCCUsageToDDLinks along with their attributes between an MPMOperationToStandardCCLink and single or multiple Described By Documents. You can also specify both modeled and other types of attributes, including IBAs such as enumerated lists. You can create MPMStandardCCUsageToDDLinks by specifying the MPMOperationToStandardCCLink and Described By Document OIDs in the request body. To create an MPMStandardCCUsageToDDLink, you must first checkout the associated Operation object.
|
To create an MPMStandardCCUsageToDDLink, you can specify only the latest Described by Documents.
|
Example:
This example shows you how to create two MPMStandardCCUsageToDDLinks by specifying two Described By Document OIDs in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/MfgProcMgmt/CreateMPMStandardCCUsageToDDLinks
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"StandardCCUsageToDocumentDescribeLinks": [
{
"DescribedBy@odata.bind": "Documents('OR:wt.doc.WTDocument:198088')"
},
{
"DescribedBy@odata.bind": "Documents('OR:wt.doc.WTDocument:198087')"
}
],
"OperationToStandardCCLinkId": {
"ID": "OR:com.ptc.windchill.mpml.pmi.MPMOperationToStandardCCLink:202383"
}
}