Retrieving datas using odata REST Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Retrieving datas using odata REST Api
Windchill odata rest api:
Given an EPMDocument ID ( ex: OR:wt.epm.EPMDocument:140542976) , how do I get the ID of EPMDocuments that reference it using the ASSTORED or LATEST navigation criteria?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Bonjour Alain,
The Nav criteria are filters used to resolve BOM Components .
The reference EPM document do no use filters as far as I know :
take a look at https://www.ptc.com/en/support/article/CS340518 ,
BR,
Fadel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In fact I want retrieve the EPMDcoument which uses the given one. Ex: Given an EMPDocument representing a Creo part, I want retrieve all CREO assemblies which use it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
is there a requirement to use Rest , this can be done OOTB using alias attributes
On the EPMDoc type create an Object Refeerence alias attribute with mapping masterReference@wt.epm.EPMDocumentMaster~uses@wt.epm.structure.EPMMemberLink~usedBy^wt.epm.EPMDocument
This will show the parents are links on the info page :
and you can query the attribute dierctly in Rest .
