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">
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!!!