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

How to get dependent enumerations using the RTC REST API?

 Hi everybody!!


   I'm trying to get two enumerations using the RTC REST API. I get them by the following URLs:

https://10.51.81.103:9443/ccm/oslc/enumerations/_XgPscI37EeOiMINNkC5kSA/Enumeracion_ProductoNegocioTp
https://10.51.81.103:9443/ccm/oslc/enumerations/_XgPscI37EeOiMINNkC5kSA/Enumeracion_CategoriaNegocioTp

The first one depends on the second one, I mean, the shown products depend on the category chosen (it's already defined like this on RTC). But when I get the products by the previous url, I get ALL of them, I haven't found a way to filter them by category. Both xmls have the same structure for example:

<oslc_cm:Collection xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" xmlns:dc="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" oslc_cm:totalCount="7">
<rtc_cm:Literalrdf:resource="https://10.51.81.103:9443/ccm/oslc/enumerations/_XgPscI37EeOiMINNkC5kSA/Enumeracion_CategoriaNegocioTp/Administracion%20y%20Finanzas">
<dc:identifier>Enumeracion_CategoriaNegocioTp.literal.l8</dc:identifier>
<dc:title>Administracion y Finanzas</dc:title>
<rtc_cm:iconUrl/>
</rtc_cm:Literal>
</oslc_cm:Collection>

So my question is: Is there a way I can get the products filtered by a category using the REST API?


Thank you very much in advance!!! 

1

0 votes


Be the first one to answer this question!

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
× 7,505

Question asked: Feb 05 '14, 1:13 p.m.

Question was seen: 3,591 times

Last updated: Feb 05 '14, 1:13 p.m.

Confirmation Cancel Confirm