Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

RESTAPIRequest - queryParams

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’