|
IMPORTANT: Modification of Result of Search calls made using the API
Default Search Parameter
All search queries of the
query type "=text" will search for the exact string. Thus, if you pass
the Search query as shown below -
listOrder(<#=USERNAME#>,<#=PASSWORD#>,<#=ROLE#>,<#=LANGPREF#>,<#=PARENTID#>,null,null,null,true,
array("domcno","domorg","dombiz"),array("Active","InActive"),"xyz.com",null,null,null,null,"10","1",array("orders.orderid"));
Then it will Search for the exact String xyz.com. However, to make your search broad you can
pass Search query in below way.
Other Search Parameters
1. To perform a search on any field beginning with a particular string, use "text%"
2. To perform a search on any field ending with a particular string, use "%text"
3. To perform a search on any field similar to a particular string, use "%text%"
So if you want like search for xyz in .com, .net, .org and .biz, you will
have to pass parameter in above list method in below way
listOrder(<#=USERNAME#>,<#=PASSWORD#>,<#=ROLE#>,<#=LANGPREF#>,<#=PARENTID#>,null,null,null,true,
array("domcno","domorg","dombiz"),array("Active","InActive"),"%xyz%",null,null,null,null,"10","1",array("orders.orderid"));
This is applied to
- listContact method in DomContact class for parameters -> contactName, companyname and emailAddr
|