How to query Supplier Name containing special operators like AND/OR/LIKE using the supplier REST ser
SummaryHow to query Supplier Name containing special operators like AND/OR/LIKE using the supplier REST service GET operation
When search for suppliers in a REST call using GET, the query parameter ‘q’ is used widely to search for suppliers. The query parameter operators AND, OR and LIKE may be part of a supplier name too.
When these words exist in the supplier name and you use the supplier name as a query parameter, the framework misinterprets these as its operator and therefore the query/search fails.
This can be resolved by using special character ' (literals) in the query and also using LIKE operator instead of = for such searches.