Windchill REST Services > Windchill REST Services Domain Capabilities > Customizing Domains > Recommendations When Adding Imports to the PTC-Provided Domains > Use Case: Adding a Navigation Between Domains Where Imports do not Exist Out of the Box > Approach 1: Extend an Entity to Add Canonical Links to an Entity Set in Another Domain
  
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
{
"@odata.context": “<Windchill_URL>/v6/ProdMgmt/$metadata#Parts(ID,Identity)/$entity",
"@odata.type": "#PTC.ProdMgmt.Part",
"@odata.id": “<Windchill_URL>/v6/ProdMgmt/Parts('OR:wt.part.WTPart:749554')",
"ID": "OR:wt.part.WTPart:749554",
"Identity": "Part - 0000000921, Test part for change, Demo Organization, A.1 (Design)",
"@Core.Links": [
{
"rel@odata.type": "#String",
"rel": "ChangeMgmt/Changeables",
"href@odata.type": "#String",
"href": “<Windchill_URL>/v7/ChangeMgmt/Changeables('OR:wt.part.WTPart:749554')"
}
]
}