Accelerated downloads

Knowledge Center > Zuora RevPro > Integration service (BI Views V2) > New features of BI Views V2 > Accelerated downloads

Accelerated downloads

The data download in BI Views V2 is enhanced with the following features provided.

Compressed download

It is recommended to download data in the compressed format. The compressed download essentially takes the comma-delimited data, compresses this data in the gzip format, and then transfers the data to the client. In this way, the data size can be reduced by 90%, which can significantly impact the download speed. 

Increased row count

The following two query parameters are available in the GET/POST method, which can make data download faster.

Parameter name Parameter type Values Description
outputType Query parameter
  • csv
  • gzip
Use this parameter to download content in CSV format for gzip format.
pageSize Query parameter
  • 1 to 10,000 (for CSV)
  • 1 to 20,000 (for gzip)


Note: The above values are configuration driven soft limits. They can be adjusted as needed.

Use this parameter to specify the number of pages to be downloaded.

  • For CSV format, the maximum page size is 10,000 rows.

  • For gzip format, the maximum page size is 20,000 rows.

  • Any value that is more than  20,000 is invalid.

The following code sample downloads 10000 pages of the BI3_RC_SCHD view in CSV format:


Continuation token

A continuation token is issued when you make a request to the integration service. If you want to download data that spread across multiple pages, it is recommended to use the continuation token in the request header.

When a request for the first page is made to the service, the system will fetch content for the first page and returns the result for the first page with a continuation token in the response header. In the backend, the system will fetch page by page ahead and store the data in a cache. To retrieve the subsequent pages following the first page, the continuation token provides context to the service so that the service can fetch data from the cache instead of re-executing the query against the database. This asynchronous execution not only enables faster downloads but also ensures data consistency and reduces database workloads.

If a continuation token is not provided, every page will be executed against the database tables and rate limits will prevent fetching data faster. If you choose not to use the continuation token, it is recommended to use the previous version of BI Views (V1). However, BI Views V1 might be deprecated in the future.
One key point with this asynchronous paradigm is that there might be a possibility that the client has downloaded the first page and moves to the second page before the second page is actually cached. In such cases, it is recommended to retry after a few cycles or to check the activity queue to see whether the request is still active.  More details of this are covered in Activity monitoring.

Typically, the initial request is made to request for the first page.

Initial request:


Then, the server responds with data in the response body. With BI Views V2 of the integration service, the continuation-token header pair is added to the response header:  

continuation-token: xxxxxx-xxxxxx-xxxxxxx-xxxxxxxxx

For all subsequent requests, you can make those requests with the continuation-token header pair provided in the request header.

Subsequent request:


Request header:

continuation-token: xxxxxx-xxxxxx-xxxxxxx-xxxxxxxxx

Selectable fields for downloads

To further accelerate performance on large datasets, it is recommended to consider downloading only the fields of interest instead of downloading all fields. For example, the RC LINES view is a comprehensive dataset. However, only a subset of fields is usually required for data warehouse needs.

  1. To get a list of available columns that are contained in a BI view, use the Get column list operation.

    For example, issue the following request to get the column list for the BI3_RC_SCHD view:


    The response body will return the column name, data type, data length, precision, and scale in JSON format. 

  2. To specify the fields to be downloaded, provide the list of fields in JSON array as part of the request body.

    Initial request:


    Request body:

    ["RC_LINE", "SO_LINE_NO", "RC_AMT", "SCHD_ID"]
Last modified


This page has no custom tags.


(not set)