RESTAPIRequest - queryParams

The query parameters from the web service request.

Table 1. Field
Name Type Description
queryParams Object The query parameters from the web service request.

In this example, the request being processed uses this URL: https://<instance_rest_endpoint>?active=false&name=now. Note the active and name parameters.

var queryParams = request.queryParams; 
var isActiveQuery = queryParams.active; //false 
var nameQueryVal = queryParams.name; //‘now’