Adding and Editing Query Parameters
Query parameters are appended to the operation URL with a question mark. For example, in /items?id=###
, the Query parameter is id
and parameter value is ###
.
Adding Query Parameters
To add Query parameters, complete these steps:
- In the right URL Parameters section, click Query parameter.
- In the Name field, enter a parameter name. Ensure that the parameter name is unique.
- From the data type list, select a data type for the parameter. By default, the data type is
string
. - Optional: Select the array check box if the parameter is array.
- Optional: In the Description field, enter a description for the added parameter.
- Optional: In the Default value field, enter a default value.
- Select the Required check box if the parameter is required. The required parameter is displayed in bold.
- Click Create.
Editing Query Parameters
To edit an added Query parameter, complete these steps: