How do you query for the results of an RRC view via the REST API?
I am attempting the query for the requirements contained in the results of a view defined on the RRC 4.x server. I can find no documentation how this might be done via rm:views, rm:viewResults, or rm:calmFilter and the existing documentation for OSLC queries (https://jazz.net/library/article/1197) does not mention querying for the results of a view defined on the RRC server or handling views at all.
Any advice would be greatly appreciated,
-Jaxsun
2 answers
Hello,
in the https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI Wiki there is a description on how to get on the results of a view visa REST. My example URL looks like this and gives me all view result records as xml:
PA: JKE RRC Example
Viewname: All terms
https://clm2013.ibmdemo.net:9443/rm/publish/resources?viewName=All%20Terms&projectURI=_Dil3sNePEeKY45-3bc6pOQ
You need to know the projectURI and the viewName or the viewURI.
Best Regards,
René
in the https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI Wiki there is a description on how to get on the results of a view visa REST. My example URL looks like this and gives me all view result records as xml:
PA: JKE RRC Example
Viewname: All terms
https://clm2013.ibmdemo.net:9443/rm/publish/resources?viewName=All%20Terms&projectURI=_Dil3sNePEeKY45-3bc6pOQ
You need to know the projectURI and the viewName or the viewURI.
Best Regards,
René
Unfortunately, I also couldn't find any good samples for you.
https://jazz.net/forum/questions/83284/when-will-rrc-support-rest-apis
Not directly related to RRC, I can only find below links for DM, probably could give you some hints.
https://jazz.net/wiki/bin/view/Main/DMSDK_REST
https://jazz.net/wiki/bin/view/Main/DM_OSLC_Query_Service
https://jazz.net/wiki/bin/view/Main/DM_OSLC_RM_Service
https://jazz.net/forum/questions/83284/when-will-rrc-support-rest-apis
Not directly related to RRC, I can only find below links for DM, probably could give you some hints.
https://jazz.net/wiki/bin/view/Main/DMSDK_REST
https://jazz.net/wiki/bin/view/Main/DM_OSLC_Query_Service
https://jazz.net/wiki/bin/view/Main/DM_OSLC_RM_Service
Comments
Rene Meyer
JAZZ DEVELOPER Jan 29 '14, 8:16 a.m.Hello Jaxsun,
did you find a solution for your question? I would like to export a RRC view via REST/OSLC to a CSV.
Best Regards,
René