Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I modify modules in DNG using API?

I have a module with many requirements and some of them have the status obsolete. For the requirements with the status obsolete all links attached to it shall be deleted.
If I perform a GET-Request I receive the response which is in my case a XML representation of the module.
Now if I try to perform a PUT-Request with the XML I modified to the URL I receive an Error Code 405 (stating that the method PUT is not supported).
I am using RRCReportableRestAPI.
I would be thankful for any help.

0 votes



2 answers

Permanent link

The DNG Reportable REST API is a READ-Only API as far as I can tell. There are other APIs that you could use, gor example the module API or the OSLC API. Here the links to the documented APIs: https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

1 vote

Comments
When using the module API there is only the GET method supported for module resources. Only if I use the module strucure resources the PUT method becomes available, but I don't know how I can expose the attached links in the xml view.

When using the OSLC API I can perform PUT requests, but when I get the data the links are not exposed. Is it possible to expose them using oslc properties in the URL and if so how exactly


Permanent link
As Ralph says, the DOORS Next Reportable REST API is read-onl, so PUT won't work, nor POST.

DOORS Next has a specific API for modules you can find more details through https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

NOTE The Module API needs a specific header DoorsRP-Request-Type: Public 2.0 (yes, capitalised like that) and DO NOT provide header OSLC-Core-Version 2.0.

You'll probably use the Process and OSLC RM or OSLC Query APIs to find the module URL. These need header OSLC-Core-Version: 2.0 and NOT the DoorsRP-Request-Type header.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941
× 40

Question asked: Apr 15 '24, 3:47 a.m.

Question was seen: 767 times

Last updated: Apr 22 '24, 10:55 a.m.

Related questions
Confirmation Cancel Confirm