Zuora OpenAPI

Overview

The Zuora OpenAPI Snap calls the Zuora REST API endpoint associated with your application.

You can perform operations, such as GET or POST on the endpoint based on its configuration to accomplish the following tasks:

  • Provide the input schema suggestions for a selected OpenAPI path and operation.
  • Prepare and execute HTTP requests and process HTTP responses.


Prerequisites

  • A valid Zuora OAuth2 account or Zuora Dynamic OAuth2 Account with relevant permissions.
  • A valid OpenAPI specification (optional).

Known issues

Some required fields in the input schema suggest may show as not required due to the limitations in Zuora OpenAPI specification.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has at most two document input views.

Expected input: A document containing all the information required by the Snap. You can add the second input view to supply the Zuora OpenAPI specification.

Output

This Snap has at most two document output views.

Expected output: The HTTP response for the specified operation in the first output view. Parts and referred objects of the specification related to the selected path and operation in the second output view.

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 OpenAPI

Example: Create Product

OpenAPI specification

String/Expression

Enter the URL for the Zuora OpenAPI specification (JSON or YAML) file. You can leave this field blank if you want to use a built-in Zuora OpenAPI 3.0 specification file.

The supported file protocols are https:// and sldb:///

The syntax for file path in SLDB:

  • Same project as the Pipeline:
    <filename>.json
    sldb:///<filename>.yaml
  • Different project:
    sldb://<project_space>/<project>/<filename>.json
    sldb://Docmentation/ZuoraTest/openapi.json

Default value: N/A

Example: https://assets.zuora.com/zuora-documentation/swagger.yaml

OpenAPI path*

String/Expression/ Suggestion

Required. Enter the path defined for the given Zuora OpenAPI specification or select from the suggestions list.

Default value: N/A

Example: /v1/object/product

Operation*

String/Expression/ Suggestion

Required. Specify the operation to perform on the selected OpenAPI path or select from the suggestions list.

Default value: N/A

Example: post

Number of Retries

Integer/Expression

Specify the number of reconnection attempts.

Default value: 0

Example: 3

Retry Interval (seconds)

Integer/Expression

Specifies the minimum number of seconds for which the Snap must wait before attempting recovery from a network failure.

Default value: 1

Example: 2

HTTP Headers

Use this field set to add additional headers to the HTTP request headers defined in the Zuora OpenAPI specification. This field set comprises the following fields:

Headers

String

Specify a name for the HTTP header.

Values

String

Specify a value for the HTTP header.

Query Parameters

Use this field set to add query parameters in addition to those defined in the Zuora OpenAPI specification. Specify each query parameter in a separate row.

Parameters

String

Specify a name for the query parameter.

Values

String

Specify the value for the query parameter.

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.