Skip to main content
Version: 3

Using Context Variable Based Routing in REST and SOAP Webhook

You can execute a Transaction with REST or SOAP Webhook at Source, based on Query and Header parameters defined in the corresponding Template with Context Variable Based Routing.

The following section guides you on how to define and pass the parameters in REST and SOAP Webhook Transaction.

Query and Header parameters in REST/SOAP Webhook​

While creating a Template with REST/SOAP Webhook as a Source and Context Based routing as the routing type, you can define and pass the parameters by following the steps given below.

At the Routing Criteria step in the Template, do the followings:

  1. Select Context Variable Based Routing.

  2. In the Variable Name field, enter the name of a variable that you want to define.

    InformationVariable Name is the name of Query or Header parameter.
  3. In the Condition field, select a condition (Equals or Contains).

  4. In the Parameter field, enter a parameter name for which you want to pass the value in the Transaction.

  5. Click Next and complete rest of the steps to create the Template.

    InformationYou can define multiple variables and filter criteria using the AND Filter and OR Filter buttons.
  6. Create a Transaction based on this Template and pass the values for the parameters at the Routing Parameter step.

    InformationThe value you pass here is the value for Query or Header parameter.