Configuring Dynamic Query Variables

The query parameters are appended as an optional key-value pair to the URL string. In the URL string, the query parameters are used to determine the location of a specific resource. The query parameters are appended to the URL string after the question mark character (?). In the query parameter, multiple parameters separated by the ampersand character (&).

To configure the query parameters:

  1. In the URL Details area, click the Does the URL have dynamic Query variables check box, and the End Point Query Param Details tab comes into view.
  1. Click the End Point Query Param Details tab, and the Query Param 1 area opens.
  1. In the Query Param 1 area, enter the details of the query parameter as follows:
Box/ListDescription
NameIn this field, enter the name of the parameter that you have defined in the code of the API or in the end-point URL.
Source of ValueClick this list and then select the source type (for example: – REQUEST_BODY) from where the value of the query parameter is fetched.  

To know more about all types of the sources, see: Selecting Source of Value.
ValueIn this field, enter a parameter, or a constant value, or an in-built value based on the value that you select in the Source of Value list. You map this parameter to the absolute JSON path or a value related to the field (for example: – text box) when you configure the API on an element (for example: – button).  

To define a parameter or an alphanumeric value: see the section: Selecting Source of Value.
MandatoryIf you click this check box, the Mandatory Message box opens. In the Mandatory Message box, enter an error message that the application will display if the mandatory parameter does not store a value.
Was this article helpful?
YesNo