Forum Discussion

ywang's avatar
ywang
Adept
14 years ago

Question regarding restapi search

Hi,

 

   I am new to restapi and I tried to use the lithium restapi to perform some search. I am using the communitySearchContext object. Here is the URL I tried: http://lithosphere.lithium.com/lithium/restapi/vc/search/messages?f=id&q=1234&page=1&page_size=1

 

   I am expecting it return me a message which has the id field as 1234. It did return me a message but does not match what I expected. The message it returned has the id as 30821. What's wrong with my usage of the search api? Where can I find more examples of using the search api with query arguments to return the desired data?

 

  Thanks,

 

 

7 Replies