It's all about the answers!

Ask a question

How to find out the DNG module ID through REST call ?


Ajesh Tirri (11) | asked Sep 20, 6:36 a.m.
How to find out the DNG module ID through REST call ?

For GC and NON-GC?

2 answers



permanent link
Ralph Schoon (62.7k33643) | answered Sep 20, 7:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 This page explains the public, documented APIs: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding

for DNG the possible APIs are the Reportable REST API, the OSLC API and there are additional server APIs, including a Module API. Please have a look at at the APIs. If configuration awareness is configured for a project area owning an element, you need to provide additional information as described in the APIs.   


Comments
Ralph Schoon commented Sep 20, 7:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

In general, if you have access to the module resource, the ID should be part of the response to a GET to that URI. For example: https://jazz.net/wiki/bin/view/Main/DNGModuleAPI#module-resources

where  dcterms:identifier contains the ID.
For the reportable REST API, the identifier is part of the common information: https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI#Common_information_for_the_respo 


permanent link
Ian Barnard (1.8k613) | answered Sep 25, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 25, 8:33 a.m.

Using OSLC Query you can search for modules, e.g. by specifying the name, and retrieve their ID.


There's some info about OSLC Query here: https://jazz.net/library/article/1197

There's a walkthrough of discovering the component details, configuration URLs and Query Capability URLs here: https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area

Your answer


Register or to post your answer.