Adding Query Parameters

Procedure

  1. Click the REST service in process and navigate to the Bindings panel on the General tab and select ComponentResource/resource - RestService.
    The Components tab is displayed.
  2. Query Parameters can be added in the Resource Service Path field. Adding query parameters from the Resource Service Path field applies query to all operations.
  3. Query Parameters can also be added by selecting the button from the Query and Header Parameters table for a particular operation of the Request tab of the Operation Details panel in the Bindings tab.

Adding Request Header Parameters

Procedure

  1. Click the REST service in the process and navigate to the Bindings panel on the General tab and select ComponentResource/resource - RestService.
    The Components tab opens.
  2. To add the Request Header Parameters, select the button from the Query and Header Parameters table for a particular operation of the Request tab of the Operation Details panel in the Bindings tab.

    Header Parameters can also be added in Response tab.
  3. In the Response tab of the Operations Details panel, select the Use HTTP Headers check box.
    After selecting the Use HTTP Headers check box, the button gets activated in the Header Parameters table to add header parameters.

Deleting Parameters

Select the parameter to delete and click the red cross icon.

Note: To reflect the above changes in the REST Reference Binding, a new Reference Binding should be created using the swagger file.