Keep sensitive data private by connecting to your system of record using the POST method.
Configure a data object to a system of record using REST and select the GET connection method. For more information, refer to Connecting existing data objects to a system of record by using REST.
Click Add sample request.
To import key value pairs from a file, click Choose file.Each key value pair must have a colon between the key and the value and be separated by a new line, for example:amount: 285currency: usd
Navigate to the file that you want to import and then click Open.
Edit the fields as necessary.
To add key value pairs that you want to include in the request body, click Add parameter.
Click Map request.
To add fields from sample request to include in the request body, select the fields that you want to include in the data object and map them to your data view by using the following options:
- To add the field data object, click Add new. You can change the field name and its type.
- To add all the fields from REST response to the data object using the field names, click Add all.
- To remove all the fields from the data object, click Clear all.
Click Initialize call.
Result: The system displays the connector parameters on the left, and the data page parameters on the right. The top-level JSON element determines the structure of the data page and is a list page if the element is an array, or a single page if the element is an object.
Choose whether to use live data or data from a JSON file to create the data object.
- To use data from your system of record, select Live response.
- To use data from a JSON file, click Submit. . Follow the prompts to upload a file or paste in a sample JSON, and then click
Click REST response.
Map the data from the response to the fields in your data object.
To view only the fields that are mapped or to view all fields, toggle the Mapped only option.
To view details about the response, such as the return code or the raw data, click the Information icon.
For each single-value item, such as a string or Boolean, that you want to use in your application, drag the item from the response column to a corresponding field in the Fields column.
If a corresponding field does not exist, add a new field to the data view by clicking the Add icon.
Map the data from the request to fields in your data object.
Click REST request
For each connector parameter, select the data page parameter to which you want to map or enter a new parameter.
Note: You can only add parameters. You cannot delete them for backwards compatibility.
Click Next to advance to the Environment Settings window.
Click Submit to complete the mapping.
Click Save to save the changes to the data view.