Live Search

Live Search testing panel

On this panel you can test Live Search function using API methods where Live Search is supported (e.g. items.get, businessPartners.get, windowsValues.get). If method supports freeTextSearch control parameter it can be used as live search. On panel provide method name which You would like to test and parameters if needed. On the left side (request area) You can see how the HTTP payload will look like. The default limit for number of records is 50.

Method and parameter provided for Live search

By default after writing at least two characters into “Live search” field, you will see the result on the panel. Togehter with the drill down list You can see the actual response.

Note: The request is sent to backend while the repsponse reports that in database is more than 50 records which fit to search arguments. Since the returns equal or less 50 records then future narrowing down is done by client (Java script) only. No more API calls to the backend.

Live search example

Live search example- narrow down

There is Method field where you can put name of the method to be tested:

Method field

If there is a need to pass additional parameter(s) during the method call, you can use “plus” icon. New pair of fields appears on the panel. You can fill in the fields with parameter name and its value:

Add parameter to pass additional parameters