Defining query parameters

Query parameters are defined in the "Query parameters" dialog step.

It is not always necessary to create a query parameter.

Click to define a new query parameter.

Query parameter types

Which query parameter types you can create depends on which action or method you selected in the Data Group Selection dialog step.

Static query parameters

You can always create a static query parameter.

  1. Click "Static".

  2. Enter a name in the "Name" field.

    The name must be at least two characters long and begin with a lowercase letter. In addition, it must contain only alphanumeric characters and underscores.

Query parameters with data field mapping

Click on "Data field" to create a query parameter with (immediate) data field mapping.

Then select the desired data field.

Name

Enter a name for the parameter here.

The name may occur only once in an endpoint.

The name must correspond to this regular expression: [a-zA-Z][a-zA-Z\\d-_.]+ In other words, it must be at least two characters long and start with a letter. Only letters, numbers, hyphens, underscores and periods are allowed.

Data type

Select the data type of the path parameter here.

The data type of the incoming path parameter must match the data type selected here. If the data types do not match, the respective request will not be processed.

Fallback

Here you can store a fallback value for the parameter.

The fallback value is used if the parameter is to be evaluated in any case and at the same time a value for the parameter is not mandatory when calling the endpoint.

Parameter is required

If you select this checkbox, the parameter is mandatory for the request.

Activating the checkbox can be helpful, among other things, if a parameter is expected in any case, but a meaningful fallback cannot be defined (for example, a user ID).

Description

Enter a description for the parameter here. Multiline texts are possible. The description is part of the Swagger documentation.