APIs for RM views - Obtain viewURI information -404 error
We are trying to get RM views using the APIs and we are stuck with 404 error
The DNG web frontpage shows the following information and we are able to export views
https://rtc-rm-tpd.gm.com:9443/rm/web#action=com.ibm.rdm.web.pages.showArtifactPage&artifactURI=https%3A%2F%2Frtc-rm-tpd.gm.com%3A9443%2Frm%2Fresources%2FMD_Q2L1ASPxEemCAJ8pV7ghIA&componentURI=https%3A%2F%2Frtc-rm-tpd.gm.com%3A9443%2Frm%2Frm-projects%2F_3JUc8XY6EeeUc8KyK_r59Q%2Fcomponents%2FJWNZQCPtEemCAJ8pV7ghIA&filterId=VW_PDIf0SPtEemCAJ8pV7ghIA&vvc.configuration=https%3A%2F%2Frtc-rm-tpd.gm.com%3A9443%2Frm%2Fcm%2Fstream%2FJW7K8CPtEemCAJ8pV7ghIA
'
API call (referred the docs https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest)
We used the same information in the API call
https://rtc-rm-tpd.gm.com:9443/rm/rm/publish/views?moduleURI=https://rtc-rm-tpd.gm.com:9443/rm/resources/MD_Q2L1ASPxEemCAJ8pV7ghIA&viewURI=https://rtc-rm-tpd.gm.com:9443/rm/views/VW_PDIf0SPtEemCAJ8pV7ghIA&projectURI=https://rtc-rm-tpd.gm.com:9443/rm/rm-projects/_3JUc8XY6EeeUc8KyK_r59Q/components/_JWNZQCPtEemCAJ8pV7ghIA&vvc.configuration=https://rtc-rm-tpd.gm.com:9443/rm/cm/stream/_JW7K8CPtEemCAJ8pV7ghIA
But API call always return 404. We are completely stuck here. Could you please help why we are getting 4040 error?
|
4 answers
I believe you have added a "_" in front of your component and stream names - double check those values |
tried with and without "_". No luck. Getting the same error |
Ian Barnard (2.3k●6●13)
| answered Sep 27 '23, 4:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Sep 27 '23, 4:30 a.m. There may be other problems (as Michael pointed out the component/stream references must match the original) but the parameter values (e.g. after viewURI=) need to be URL-encoded
Fixing both these the URL now looks like:
Does this work?
Comments Here's a recent answer where I showed the steps to create such a Reportable REST URL Can you generate a document from a filtered view? - Jazz Forum |
Thanks for your support. Now it started to work |
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.