Download a report

Downloads a specific report from Zuora Revenue.

Note:

  • Only the report files that are created in the last 48 hours are available for download.

  • The maximum downloadable report file size is 1 GB.

  • If the report file size exceeds 1 GB, use the Get report data operation to download the report from a signed URL.

Request
path Parameters
filename
required
string

The name of the report file to be downloaded.

header Parameters
token
required
string

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

Responses
200

Operation is successful. Report is downloaded.

204

The specified file does not exist in Zuora Revenue.

get/api/integration/v1/reports/download/{filename}
Request samples
curl -X GET --header "token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IlpJTkdBUEkiLCJpc3MiOiJSRVZQUk8gMy4wIFdlYnNlcnZpY2VzIiwicm9sZSI6IlJldnBybyBBUEkgUm9sZSIsImV4cCI6MTUwNDc0NTIxMywiaWF0IjoxNTA0NzQzNDEzLCJuYmYiOjE1MDQ3NDM0MTMsImNsaWVudG5hbWUiOiJEZWZhdWx0In0.umtarSxRc0KUld5RZkrZMwzIypQYdwFYBP5-d1Cbi1Q"  "https://yourHost/api/integration/v1/reports/download/10002.csv"