REST API Connector Guide > REST API Connections > Creating Configuration Files
  

Creating Configuration Files

Use configuration files when you want to pass different values for the parameters defined in the URL input parameter, form input parameter, or header input parameter to the dynamic base URL.
With the URL Request Parameters, Form Request Parameters, or Header Request Parameters fields, you can pass a single value to the parameters. With the configuration files, you can pass different values for different records. You can create sample configuration files with a valid syntax and then populate different values for different records.
To create a sample configuration file, you must first mention at least one parameter-value pair in the URL Request Parameters, Form Request Parameters, or Header Request Parameters fields as required.
Perform the following steps to create a sample URL input parameter configuration file:
  1. 1On the Connections page, click New Connection.
  2. 2On the New Connection page, configure the following connection details:
  3. Connection Detail
    Description
    Connection Name
    Name of the connection. Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters:
    _ . + -
    Connection names are not case sensitive.
    Description
    Description of the connection. Maximum length is 255 characters.
    Type
    Select ReST (Informatica Cloud OEM Labs)
  4. 3Configure the configuration files-specific properties. For example, to create a sample URL input parameter configuration file, enter the runtime environment to be used with the connection, the Base URL of the REST API to which you want to make calls, the parameter-value pair in the URL Request Parameters field, path and name of the property file, and Yes in the Create the config csv file field.
  5. The following image shows the property fields for the URL input parameter configuration file:
  6. 4Click Test.
  7. If the test for the connection is successful, the sample configuration file, foobar.csv, is created at the specified location, E:\sample\Files\ReST\Config.
Similarly, you can create the sample form and header input parameter configuration files.