Follow the steps to add query parameters for the REST Service into
TIBCO Business Studio™ for BusinessWorks™.
Procedure
Click on the REST Service in process and navigate to the
Bindings panel on the
General tab and select
ComponentResource/resource - RestService.
The
Components tab opens.
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.
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
Follow the steps to add request header parameters for the REST Service into
TIBCO Business Studio for BusinessWorks.
Procedure
Click on 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.
Request Header Parameters can 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.
Header Parameters can also be added in
Response tab.
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.