When testing REST in a browser, is there a way to pass more than one parameter for the WHERE clause

Kentico Support Engineer asked on July 1, 2013 15:08

When testing REST in a browser, is there a way to pass more than one parameter for the WHERE clause in the URL?

Correct Answer

Kentico Support Engineer answered on July 1, 2013 15:08

More parameters can be passed. Standard SQL syntax is used and it must be properly encoded for use within URL (such as %20 for a space).  For example, a country with ID greater than 100 and a name starting with Al would be obtained like:
…/rest/cms.country?Where=CountryID>100%20AND%20CountryName%20LIKE%20'Al%'

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.