It's all about the answers!

Ask a question

How to export DOORS NG module view as CSV/XLSX via REST-API?


Benjamin Röhl (167520) | asked Sep 25 '20, 10:02 a.m.
Hi,

We would like to export a DOORS NG module view simply via a REST-API call (or more calls if necessary).

We are aware of the Rational Publishing Engine, but this requires another client software installation.

Does anybody know how an REST-API endpoint to do that?

Kind regards,
   Benjamin

One answer



permanent link
Daniel Moul (4.6k1117) | answered Sep 29 '20, 4:56 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

 Some ideas...


1. The DOORS Next web client uses REST calls to the server. Using your browser debugger you could look at the call the export in CSV/XLSX makes when you make that action in the UI. It may be too complicated a call for you to interpret/understand, and it would be using non-public APIs.

2. You could use OSLC-RM to ask for the content of a module. It represents the information as an OSLC RM collection (ie not ordered, without hierarchy).

3. If you use the Jazz Reporting Report Builder you can use the "Export to Excel" REST call programmatically, making use of an existing Report Builder report to filter the data and name the data columns. This also presents an OSLC RM collection (or portion thereof, based on your filters)

In any of these cases you will need to deal with authentication from your client.

Your answer


Register or to post your answer.