Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Dynamic Document Management Domain > Example: Creating Member Links Between Dynamic Documents
  
Example: Creating Member Links Between Dynamic Documents
The following example demonstrates how to create a member link. For EPMMemberLinks, the FeatureNumber property controls the order which should follow the order of the graphics in the document. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/v4/DynamicDocMgmt/DynamicDocuments('OR:wt.epm.EPMDocument:240203')/MemberLinks HTTP/1.1
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"FeatureNumber": 1,
"Uses@odata.bind": "DynamicDocuments('VR:wt.epm.EPMDocument:215213')",
"DepType": {
"Value": 2
}
}
Changing the order of a Member Link
The following example shows how you can change the order of a link by changing the FeatureNumber property. Use the following POST request with the request body:
PATCH /Windchill/servlet/odata/v4/DynamicDocMgmt/DynamicDocuments('OR:wt.epm.EPMDocument:238658')/MemberLinks('OR:wt.epm.structure.EPMMemberLink:239122')HTTP/1.1
Request Header
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"FeatureNumber": 3
}