The SearchRequest class is used for submiting searchs to the system. Simply build up a string in the style of either XML or JSON and POST it to the correct end point.
| Property | Type | Description |
|---|---|---|
| Query | string | The text to search for. |
| Years | string | The number of years to search back (default 1). |
| Forum | string | Set this property to restrict the search to a forum. |
| Author | string | Set this to only return messages posted by this author. |
<SearchRequest xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Author/> <Forum>pc_pro</Forum> <Query>ibook</Query> <Years/> </SearchRequest>
{ "Forum":"pc_pro", "Author":"", "Years":"", "Query":"ibook" }