Master ID Support in Windchill REST Services
Windchill REST Services (WRS) supports returning the Master ID of an iterated object, such as a WTPart, CAD Document, or WTDocument. This enhancement enables seamless integration with external systems and improves traceability across the product lifecycle.
This functionality is particularly useful for external applications that require a stable reference to a Windchill object across iterations.
The response will include the MasterID property in the JSON payload:
{
"@odata.id": "<Windchill>/servlet/odata/v7/DocMgmt/Documents('OR:wt.doc.WTDocument:298645')",
"ID": "OR:wt.doc.WTDocument:298645",
"Identity": "Document - 0000000023, doc 3, Demo Organization, A.1",
"MasterID": "OR:wt.doc.WTDocumentMaster:298642",
"Name": "doc 3",
"Number": "0000000023"
}
The MasterID property can be used in the $filter query parameter, similar to the ID property:
GET /DocMgmt/Documents?$filter=MasterID eq 'OR:wt.doc.WTDocumentMaster:298642'