It's all about the answers!

Ask a question

In Doors NG 6.0+ how to get LinkType available in project through REST API end point


Amit Kumar (38419) | asked Dec 18 '17, 4:34 a.m.
retagged Dec 20 '17, 12:16 a.m. by Minakshi Jaint (5113)

 We need to gather all linktype available in given project throughh rest API.

Kindly help me to identify if there is any OSLC Rest end point for this purpose.

we do have "/rm/publish/linktypes" but any query on this end point is giving me error.

Error "com.ibm.rdm.fronting.server.exception.NotAcceptableException (More info found at entry [28b2083cd01503af] in the RM application server log)"

Accepted answer


permanent link
Donald Nong (14.5k614) | answered Dec 19 '17, 12:16 a.m.

Make sure you add the HTTP request header "Accept: application/xml" to the request. Don't omit the "size" parameter even it gets ignored anyway. It works for me in my own DNG 6.0.4 environment.

Amit Kumar selected this answer as the correct answer

Comments
Amit Kumar commented Dec 19 '17, 3:54 a.m.

 Thanks !!! 


Using HTTP request header "Accept: application/xml"  query worked fine for me.

Your answer


Register or 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.