Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Provide the input schema suggestions for a selected OpenAPI path and operation.

  • Prepare and execute HTTP requests and process HTTP responses.

    Image RemovedImage Added

Prerequisites

  • A valid Zuora OAuth2 account or Zuora Dynamic OAuth2 Account with relevant permissions.

  • A valid OpenAPI specification (optional).

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

None.

Known Issues

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

Snap

...

Input/Output

...

Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 2

  • Mapper

Snap
  • JSON Parser

Snap

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

Output

Document

  • Min: 0

  • Max: 2

  • JSON Formatter

+ File Writer
  • Mapper

  • JSON Splitter

  • 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.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the rest of the records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

Info
  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star)): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ((blue star)): Indicates that you can add fields in the fieldset.

  • Remove icon ((blue star)): Indicates that you can remove fields from the fieldset.

Field Name

Data Type

Description

Label*

Default Value:Zuora OpenAPI
Example:Create Product

String

Required. The

Enter a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

OpenAPI specification

Default Value:

Zuora OpenAPI

Example: Create Product

OpenAPI specification

String

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

sldb:///openapi.json

openapi.json

openapi.yaml

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.

Supported

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

The syntax for file path in SLDB:

  • Same project as the Pipeline:

    Code Block
    <filename>.json sldb:///<filename>.yaml
  • Different project:

    Code Block
    sldb://<project_space>/<project>/<filename>.json
    sldb://Docmentation/ZuoraTest/openapi.json

OpenAPI path*

Default Value:N/A
Example:

https:

/v1/

assets.zuora.com/zuora-documentation/swagger.yaml

sldb:///openapi.json

openapi.json

openapi.yaml

OpenAPI path*

String

Required.

object/product

String/Expression/Suggestion

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

Operation*

Default Value: N/A
Example: post

String/

v1/object/product

Operation

String

Required.

Expression/Suggestion

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

Number of Retries

Default Value:

N/A

0
Example:

postNumber of retries

3

Integer/Expression

Enter the maximum number of retries the Snap can attempt in case of a network failure.

Specify the interval in seconds between two reconnection attempts.

Retry Interval (seconds)

Default Value:

0

1
Example:

3Retry interval (seconds)

2

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

N/A

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

  • Values

    Headers

    String

    The

    Specify a name

    of

    for the HTTP

    Parameter

    header.

    Values

    String

    The

    Specify a value

    of

    for the HTTP

    Parameter

    header.

    Query Parameters

    N/A

    Use this field set to to add

    additional

    query parameters in addition to

    the query parameters

    those defined in the Zuora OpenAPI specification. Specify each query parameter in a separate row.


    Default Value: N/A
    Example: oauth2_access_token

    Click (blue star) to add a new row.

    Parameters

    String

    The

    Specify a name

    of

    for the

    Query Parameter

    query parameter.

    Values

    String

    The

    Specify the value

    of

    for the

    Query Parameter

    query parameter.

    Snap Execution

    N/A

    Indicates how the Snap must be executed

    Default Value:  Execute only
    Example:Validate & Execute

    Dropdown list

    Select one of the three modes in which the Snap executes. Available options are:

    • Validate & Execute: Performs limited execution of the Snap

    (up to 50 records)
    • , and generates a data preview during Pipeline validation

    ;
    • . Subsequently, performs full execution of the Snap (unlimited records) during Pipeline

    execution
    • runtime.

    • Execute only: Performs full execution of the Snap during Pipeline execution

    ; does not execute the Snap during Pipeline validation
    • without generating preview data.

    • Disabled: Disables the Snap and

    , by extension, its downstream Snaps.

    Default value: Execute only

    ...

    • all Snaps that are downstream from it.

    Reading Contact ID from an Account

    In the following use case example, we create this Pipeline uses with Zuora Open API Snap to create an account, link an account to contact, read the details of the contact from the contact data.

    First, create an account with a unique ID from the Mapper Snap, link it to a contact, and read the contact data using Zuora Open API Snap.

    ...

    ...

    We configure the Mapper Snap and sent to add data and send it to the Open API Snap.

    Settings

    Output view

    Image Modified

    Image Modified

    The details created are sent output from the upstream Snap is used to create a unique account ID using Open API Snap. Following are the Snap settings and the output view:

    Settings

    Output view

    Image Modified

    Image Modified

    Using Mapper Snap, we are sending send data to create a contact for an account by mapping a unique account ID as highlighted in the Mapping table below. The details of the data created can be seen under Expression and Target Path. The Output view for the Mapper Snap is as follows:

    Settings

    Output view

    Image Modified

    Image Modified

    The contact for an account is created and Upon validation, a unique contact ID is generated in the output. The Settings and Output view are as follows:

    Settings

    Output view

    Image Modified

    Image Modified

    The contact details can be fetched by passing a We configure the Mapper Snap to pass the unique contact ID using the Mapper Snap to Open API Snap to the downstream (OpenAPI) Snap with Get operation by passing $entity.Id to the Open API Snapsnap.

    Image Modified

    Image Modified

    Image Modified

    Image Modified

    Sample Pipelines

    The following sample pipelines show three products, TeamCollab Basic, TeamCollab Premium, and TeamCollb Enterprise that are launched for Zuora Tutorials. Visit Zuora Tutorials to understand the exercises and how these Pipelines can perform the exercises.

    • OpenAPI_TeamCollab Basic with Invoice Periods(Monthly,Quarterly,Annual)_2021_08_17.slp

    • Zuora OpenAPI - TeamCollab Premium Tutorial Exercise 7_2021_07_22 (1).slp

    • Zuora OpenAPI_Launch a New Enterprise Product (Team Collab Enterprise Tutorial Exercise8)_2021_08_17.slp

    Downloads

    Attachments
    oldfalse

    Snap Pack History

    ...

    Release 

    ...

    Snap Pack Version

    ...

    Date

    ...

    Type

    ...

      Updates

    ...

    4.26

    ...

    main11181

    ...

     

    ...

    Stable

    ...

    Added the following Snaps and account types to connect these Snaps with the Zuora REST API. 

    ...

    4.25

    ...

    main9554

    ...

    08 May 2021 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.24

    ...

    main8556

    ...

    13 Feb 2021

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.23

    ...

    main7430

    ...

    14 Nov 2020 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.22

    ...

    main6403

    ...

    12 Sep 2020 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.21

    ...

    snapsmrc542

    ...

    09 May 2020 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.20

    ...

    snapsmrc535

    ...

    08 Feb 2020 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.19

    ...

    snaprsmrc528

    ...

    14 Nov 2019 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.18

    ...

    snapsmrc523

    ...

    10 Aug 2019 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.17

    ...

    ALL7402

    ...

    11 Jun 2019 

    ...

    Latest

    ...

    Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.

    ...

    4.17

    ...

    snapsmrc515

    ...

    11 Jun 2019 

    ...

    Latest

    ...

    Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview check box.

    ...

    4.16

    ...

    snapsmrc508

    ...

    16 Feb 2019 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.15

    ...

    snapsmrc500

    ...

    15 Dec 2018 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.14

    ...

    snapsmrc490

    ...

    11 Aug 2018 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.13

    ...

    snapsmrc486

    ...

    12 May 2018 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.12

    ...

    snapsmrc480

    ...

    17 Feb 2018 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.11

    ...

    snapsmrc465

    ...

    11 Nov 2017 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.10

    ...

    snapsmrc414

    ...

    12 Aug 2017 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.9

    ...

    snapsmrc405

    ...

    13 May 2017 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.8

    ...

    snapsmrc398

    ...

    11 Feb 2017 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.7 Patch

    ...

    zuora2593

    ...

    30 Jan 2017 

    ...

    Latest

    ...

    Add additional retry logic for connection to server.

    ...

    4.7 Patch 

    ...

    zuora2521

    ...

    26 Jan 2017 

    ...

    Latest

    ...

    Retry added for failed login.

    ...

    4.7

    ...

    snapsmrc382

    ...

    23 Nov 2016 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.6

    ...

    snapsmrc362

    ...

    13 Aug 2016 

    ...

    Stable

    ...

    Upgraded with the latest SnapLogic Platform release.

    ...

    4.5.1

    ...

    snapsmrc344

    ...

    18 May 2016 

    ...

    Stable

    ...

    Zuora Read Snap now has an option to remove the namespace prefixes from the Snap output.

    ...

    4.4.1

    ...

    18 Mar 2016 

    ...

    Stable

    ...

    Zuora Read Snap updated to include ProductRatePlan added to Object list.

    See Also

    https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439233/Glossary

    https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438341/Getting+Started

    https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439233/Glossary

    Multiexcerpt include macro
    namedownload_instructions
    pageOpenAPI

    Attachments
    previewfalse
    oldfalse
    patterns.*slp

    Snap Pack History

    ...

    Related Links