Zuora REST V2 Connector > Mappings and Mapping Tasks with Zuora REST V2 > Zuora REST V2 Target Transformation in Mappings
  

Zuora REST V2 Target Transformation in Mappings

When you select a Zuora REST V2 connection for a target, you can select an operation from the list of operations.
You can add multiple input groups into the Zuora REST V2 target and define the primary and foreign key relationships between the multiple input groups before the mapping.

Target Transformation Properties

You can configure target properties, such as target details and advanced properties, based on the connection type you select. Configure target transformation properties on the Target tab of the Properties panel.
When you select a target, the Properties panel displays the following areas and information:

Advanced Target Properties

In a mapping, you can configure a target to represent a Zuora REST V2 target. For Zuora REST V2 target connections used in mapping tasks, you can configure advanced properties in the Targets page of the Mapping Task wizard.
The following table describes the advanced properties that you can configure in a Target transformation:
Property
Description
Cache Size for Web Service Request (KB)
Memory available for the web service request. If the web service request contains many rows or columns, you might want to increase the cache size. Default is 100 KB.
Transaction Commit Control
Control to commit or roll back transactions based on the set of rows that pass through the transformation. Use the transaction commit control if you have a large amount of data and you want to control how it is processed.

Target Transformation Mapping Example

You are an operation administrator and you want to create an Accounting Codes in Zuora using Zuora REST V2 connection.
To create an Accounting Codes object in Zuora from a flat file using Zuora REST V2 connection, perform the following tasks:
  1. 1. Create a flat file connection to read data from the flat file.
  2. 2. Create a Zuora REST V2 connection to write data to Zuora.
  3. The following image shows the configured Zuora REST V2 connection:
  4. 3. Create a Zuora REST V2 mapping.
  5. 4. Add a Source transformation to include the flat file object that contains the Accounting Codes information. Add the flat file connection.
  6. 5. Add a Target transformation to write the Accounting Codes data to Zuora. Perform the following tasks on the Target tab:
    1. a. In the Connection field, select the Zuora REST V2 connection to connect to Zuora.
    2. b. In the Operation field, select POST_AccountingCode as the operation.
    3. The following image shows the POST_AccountingCode in the list of write operations:
    4. c. In the Advanced Properties section, set the cache size and the transaction commit interval.
  7. 6. On the Field Mapping tab, select the input elements to map to the target fields.
  8. The following image shows all the mapped fields between the input file and the Zuora REST V2 target:
  9. 7. When you save and run the mapping in a mapping task, the Secure Agent creates the accounting codes in Zuora.
  10. The following image shows the Zuora REST V2 mapping: