Examples for the PTC Dynamic Document Management Domain
Example: Retrieving Member Links between Dynamic Documents
This example shows you how to retrieve member links for a dynamic document with ID 240203. Use the following GET request.
URI
GET /Windchill/servlet/odata/v4/DynamicDocMgmt/DynamicDocuments('OR:wt.epm.EPMDocument:240203')/MemberLinks HTTP/1.1
Response
This is the response when a single member link is found.
{
"@odata.context": "Windchill/servlet/odata/v4/DynamicDocMgmt/$metadata#DynamicDocuments('OR:wt.epm.EPMDocument:240203')/MemberLinks",
"value": [
{
"CreatedOn": "2019-10-07T14:13:01Z",
"ID": "OR:wt.epm.structure.EPMMemberLink:240520",
"LastModified": "2019-10-07T14:13:01Z",
"ComponentName": "0",
"DepType": {
"Value": 2,
"Display": "Member"
},
"FeatureID": 0,
"FeatureNumber": 0,
"HasFixedConstraint": false,
"LayerID": 0,
"ObjectType": "CAD Document Uses Link",
"Placed": true,
"Quantity": 1,
"Required": true,
"Suppressed": false,
"Unit": {
"Value": "ea",
"Display": "each"
}
}
]
}