Approach 1: Extend an Entity to Add Canonical Links to an Entity Set in Another Domain
Extend ProdMgmt Part with canonical links to ChangeMgmt Changeable.
|
|
This is for illustration purposes only. OOTB, the ProdMgmt Part already has canonical links to ChangeMgmt Changeable.
|
GET <Windchill_URL>/v7/ChangeMgmt/Changeables('OR:wt.part.WTPart:749554')/ResultedByChangeObjects
PartsExt.json
{
"extends":"Part",
"generateDomainSpecificLinks": [
{
"domain": "ChangeMgmt",
"entitySet": "Changeables"
}
]
}
Request
• GET /Windchill/servlet/odata/ProdMgmt/Parts(‘<oid>')?$select=Identity
• Accept: application/json;odata.metadata=full
Response