Table of Contents

Search

  1. Preface
  2. Introduction to REST V2 Connector
  3. REST V2 connections
  4. REST V2 operations
  5. Mappings and mapping tasks with REST V2 Connector
  6. Appendix A: Supported swagger objects

REST V2 Connector

REST V2 Connector

Parameterizing the input values in a request message

Parameterizing the input values in a request message

You can use in-out parameters to represent input values in a request XML.
Configure the in-out parameters in the Mapping Designer. From the
Mapping Design
page, you open the parameters panel and configure an in-out parameter.
The following image shows a configured
empID
in-out parameter value:
After you configure a parameter, use the parameter name in the following format, $$Name, in a request message. The XML uses the values of fields from the parameterized object.
For example, you want to use parameterized
empID
in an XML Request for a
CouchDB_INPUT
operation.
The following sample request shows the parameterized values that you can specify in an XML request:
<!--1 or more repetitions:--> <proc:CouchDB_INPUT xmlns:proc="http://xml.schemas/infa/procedure/"> <!--Optional:--> <CouchDB> <!--1 or more repetitions:--> <emp> $$empID </emp> </CouchDB> </proc:CouchDB_INPUT>


Updated December 14, 2020