Enter q as a Standard HTTP Query Parameter with the Query as a Value
Many APIs have special handling for the q
query parameter according to different schemes, such as mongoDB query/SCIM/open search, and so on.
The REST Adapter treats
q
as a standard HTTP query parameter and treats the query expression as a string value. For example:
-
https://host.example.com:7004/resource?q=AssetNumber=AP10001
-
GET /ccadmin/v1/products?q=orderLimit lt &maxLimit and startTime gt &startTime
-
https://mysite.example.com/services/rest/connect/v1.3/queryResults?query=SELECT Contact from contract where contact.organization.name=&OrgName;
According to standard HTTP, the query parameter in this case is q
and the value is AssetNumber=AP1000
.
Therefore, you are required to pass the query expression as a value to the query parameter with the name q
.