Get BI View data for selected fields

Fetches data in a CSV or gzip file from BI View.

Request
path Parameters
tmpl_name
required
string

Name of the BI view.

query Parameters
clientId
required
integer
Default: 1

The ID of the Zuora Revenue application user.

fromDate
required
string
Default: "2016-07-26T00:00:00"

The date from which the data query begins.

toDate
required
string
Default: "2016-07-26T00:00:00"

The date on which the data query ends.

pagenum
required
integer
Default: 1

The number of page to download.

count
boolean
Default: null

Set to true to get the row count of the BI view for the specified time period. Note: Setting this parameter to true might cause timeout errors for large volume scenarios.

header Parameters
token
required
string

The valid authentication token that is generated by the Authentication operation.

Request Body schema: application/json; charset=utf-8
required
Array
string
Responses
200

BI view data is returned in CSV format.

204

No rows are found for the given time period.

400

Error is returned. For example, Invalid User ID.

401

The authentication token has expired. To solve this problem, re-generate a token by using the Authentication operation.

post/api/integration/v1/biviews/{view_name}
Request samples
application/json; charset=utf-8
[
  • "string"
]