Skip to content

File Upload

The File Upload operations are used to upload large volumes of data as a CSV file in the HTTP body to Zuora Revenue and to get status information about the file upload.

If the data volume is in the range of 40k-60k records per file per request, the Upload file operation can process the data quickly. A unique request ID is generated after the file is successfully received, which can be used to query the upload status in the Get file upload status operation.

Retrieve the file upload status

Request

Gets the status information about the specified file upload request.

Security
bearerAuth
Path
file_request_idintegerrequired

The request ID of the file upload to be queried.

Headers
tokenstringrequired

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

cURL
curl -i -X GET \
  'https://one.zuora.com/api/integration/v1/fileupload/status/{file_request_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'token: string'

Responses

The status information is returned for the requested file upload.

Bodyapplication/json; charset=utf-8
ResultArray of objects(uploadStatus)
messagestring

Response Message

Default:"Data Staged Successfully"
statusstring

Response Status

Default:"Success"
Response
{ "Result": [ { … } ], "message": "Data Staged Successfully", "status": "Success" }