Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2014-06-09 15:59:57

ashraf
Member
Registered: 2014-05-30
Posts: 18

Advanced search

I' m trying to search through Caption meta content using the Search.AdvancedSearch, here is my below URL to test on browser :

/api/1.0/Search.AdvancedSearch(query:{fieldId:111, conditionId:0,value:'test'})

But unfortunately its returning this error : "The action 'advanced search is not defined in the interface." I am wondering what i missed to add in the URL ? Please help me.

Offline

#2 2014-06-09 16:14:49

dominic
Third Light Staff
Registered: 2013-06-06
Posts: 119

Re: Advanced search

Hi Ashraf,

The brackets syntax you are using to specify parameters is not supported, and the JSON must be more strictly formed. The following is a valid way of expressing this query:

/api/1.0/Search.AdvancedSearch/query=[{"fieldId":"111","conditionId":"0","value":"test"}]

Dominic

Offline

#3 2014-06-09 16:19:53

ashraf
Member
Registered: 2014-05-30
Posts: 18

Re: Advanced search

Works! Thanks Dominic
Cheers

Offline

Board footer