AnsweredAssumed Answered

[REST API] Search for category using common name?

Question asked by hpaschall on Jul 31, 2015
Latest reply on Aug 3, 2015 by Chi_Chen

I'm trying to filter my search results by category. I would prefer to use the common name because this is what I have access to, but so far I have only been able to search using the REL_ATTR attribute within the category tag. The company I work for changes category names all the time which makes my life a little more difficult.

 

This works:

GET /caisd-rest/in?WC=category%3D'pcat:579073' HTTP/1.1

Host: XXXXX

Content-Type: application/xml

X-AccessKey: ******

Accept: application/xml

X-Obj-Attrs: category

 

But this is what I want:

GET /caisd-rest/in?WC=category%3D'Category Name' HTTP/1.1

...

 

Does anyone know if this is possible and, if so, how would I accomplish this?

Outcomes