Zuora REST Read

Overview

The Zuora REST Read Snap reads records from a Zuora object using the REST API.

It uses POST /query/jobs for most of the Zuora Objects except Export, Import, and Communicationprofile. The Snap uses /v1/action/query for them.



Prerequisites

None.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view.

A document containing all the information required by the Snap.

Output

This Snap has exactly one document output view.

Parts and referred objects of the specification related to the selected path and operation.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label

String

Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Zuora REST Read

Example: Read Account data

OpenAPI Specification

String

Enter the URL for the OpenAPI specification file. If the field is left empty, the Snap uses the built-in OpenAPI specification.

Default value: N/A

Example: zuora_open_api_spec3.json, sldb:///zuora_open_api_spec3.json

Zuora Object*

String/Suggestion

Required. Enter the desired Zuora object name. Alternatively, click the Suggestion icon to fetch the list of associated object names and select an object. The Snap executes and fetches the data for the object specified.

Default value: N/A

Example: Account

Where Clause

String/Expression

Enter the WHERE clause of the Zuora SELECT query without the word 'WHERE'.

Default value: N/A

Example: name = 'SnapLogic'

Limit Clause

String

Enter the LIMIT clause to indicate the maximum number of output records.

Default value: N/A

Example: 10000

Note: This field does not support Zuora Objects: export, import, and communicationprofile. Use Where Clause to limit the number of records. For more information, refer to the Zuora documentation on Zuora Query Processing Limitations.
Output Fields

Use this field set to define the output fields that you want to view in your query output. Specify each output field in a separate row. Click + to add a new row.

Output Fields

String

Enter the Output field names, one field name for each row. If left empty, the Snap includes all the fields in the output.

Default value: N/A

Example: id

Number of Retries

Integer

Enter the maximum number of retries to attempt in case of connection failure.

Default value: 0

Example: 3

Retry Interval (seconds)

Integer

Specify the interval in seconds between two reconnection attempts.

Default value: 1

Example: 2

Pass Through

Checkbox

Select this checkbox to pass the input document through the output view under the key original.

Default value: Deselected

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.