https://b-api.lbkrs.com/report/export_task/newProduction: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission below, or the call will be rejected.
Request body application/json
The current report page's route parameter report_id.
Enum: pdf/csv/excel, single-select; only the types included in the export_supported_types returned by the report/condition endpoint are selectable.
pdf · PDFcsv · CSVexcel · Excel
Identifier of the operator initiating this request, used for audit tracing. This field is required.
The list of dataporter_index values for the report's currently sorted/displayed columns.
The query conditions of the current report list (with the pagination fields page/page_size removed); the field structure varies by report template.
Attached for some reports; values come from the supported_paper_size list returned by the report/condition endpoint.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureHTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields