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
1 -
You can configure VERBOSE logging in the client application and see in the log file all the API requests sent by the client
1 -
It's exactly what I need.
Suggest the fullText secret rule could be written somewhere in the future.
Thanks!
0
Please sign in to leave a comment.
Comments
3 comments