Advanced Search with properties with HTTP API
AnsweredHello Team,
We want to send request via NX HTTP API for object attributes just like NX Client Advanced Search. (image below)
After look through all APIs, I found this one pretty close but only support "freeText", no options for "by Attributes".
/ec2/analyticsLookupObjectTracks?freeText=White
Which API can I use to achieve that? Thanks.
-
Hello,
You can use the analyticsLookupObjectTracks API. In your case, to filter object in question, you should set the following parameters
objectTypeId to the id needed. I suppose it's nx.base.Person if you've inherited the type from the base library.
freeText to the text to filter. In your case, it would be: freeText=Top%20Clothing%20Color%3DWhite
Here is an example:
/ec2/analyticsLookupObjectTracks?freeText=Gender%3DMan&objectTypeId=nx.base.Person&sortOrder=desc
Please sign in to leave a comment.
Comments
3 comments