Send a JSON request to download a file. A successful response contains the file binary stream, not JSON or Base64. Save the response body directly to a file. For generated reports, query the report until generation succeeds and file information is available. Map the returned file_id to fileId and file_name to fileName in the download request. Download request fields use camelCase.

Body Parameters

Send the request with Content-Type: application/json.
string
File identifier. For a report, use the returned file_id.
string
Filename. For a report, use the returned file_name.
Field requiredness and length limits are pending confirmation (待确认).

Successful Response

The response body is the raw file content. It does not use the standard JSON response envelope and does not contain code, success, or data. Do not parse a successful download as JSON or decode it as Base64. Example response headers:
The binary file content follows the headers.

Authentication and Errors

See Authentication for the shared API authentication model. Download-specific authentication and resource permissions, failure response format, and error codes are pending confirmation (待确认).