How to find out the DNG module ID through REST call ?
![]()
How to find out the DNG module ID through REST call ?
For GC and NON-GC?
|
2 answers
![]()
Ralph Schoon (62.7k●3●36●43)
| 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 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
|
![]()
Ian Barnard (1.8k●6●13)
| 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
|