文档中心 > API类目 > 阿里影业云智API

taobao.lark.cinema.data.backup.report (影院本地数据备份上报)

影院本地数据备份上报

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
data_backup_report_req DataBackupReportReq 必须 上报记录
  • └ backup_cost_ms
  • Number
  • 可选
  • 1000
  • 备份耗时,单位毫秒
  • └ app_version
  • String
  • 必须
  • 1.0.0
  • 应用版本
  • └ oss_etag
  • String
  • 可选
  • D41D8CD98F00B204E9800998ECF8427E
  • ossEtag标志
  • └ extension
  • String
  • 可选
  • {\"tables\":32,\"engine\":\"InnoDB\",\"charset\":\"utf8mb4\"}
  • 扩展字段
  • └ app_name
  • String
  • 可选
  • finixx_api
  • 应用名称
  • └ data_type
  • String
  • 必须
  • mysql
  • 数据类型
  • └ backup_trigger
  • String
  • 必须
  • auto
  • 备份类型
  • └ backup_start_time
  • String
  • 必须
  • 2026-04-02 02:00:00
  • 备份开始时间
  • └ cinema_link_id
  • String
  • 必须
  • 888
  • 影城内码
  • └ product_code
  • String
  • 可选
  • FINIXX_TOOL
  • 产品编码
  • └ file_size
  • Number
  • 可选
  • 512
  • 文件大小,单位M
  • └ backup_end_time
  • String
  • 可选
  • 2026-04-02 02:00:00
  • 备份结束时间
  • └ relate_log_id
  • String
  • 可选
  • 152
  • 关联任务ID
  • └ cinema_code
  • String
  • 可选
  • 88888888
  • 影院国家编码
  • └ upload_cost_ms
  • Number
  • 可选
  • 10000
  • 上报耗时,单位毫秒
  • └ backup_method
  • String
  • 可选
  • dump
  • 备份方式
  • └ backup_scope
  • String
  • 可选
  • full
  • 备份范围
  • └ oss_path
  • String
  • 可选
  • https://ykse-db-backup.oss-cn-beijing.aliyuncs.com/finixx/client/platform/20260402/11052801_full_20260402020000.sql.gz
  • 上报oss地址
  • └ back_up_result
  • String
  • 必须
  • Y
  • 备份结果
  • └ back_up_desc
  • String
  • 可选
  • 备份描述
  • 备份描述

响应参数

名称 类型 示例值 描述
result Boolean true 结果
result_code String 200 结果码
result_msg String 成功 结果描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkCinemaDataBackupReportRequest req = new LarkCinemaDataBackupReportRequest();
LarkCinemaDataBackupReportRequest.DataBackupReportReq obj1 = new LarkCinemaDataBackupReportRequest.DataBackupReportReq();
obj1.setBackupCostMs(1000L);
obj1.setAppVersion("1.0.0");
obj1.setOssEtag("D41D8CD98F00B204E9800998ECF8427E");
obj1.setExtension("{\\"tables\\":32,\\"engine\\":\\"InnoDB\\",\\"charset\\":\\"utf8mb4\\"}");
obj1.setAppName("finixx_api");
obj1.setDataType("mysql");
obj1.setBackupTrigger("auto");
obj1.setBackupStartTime("2026-04-02 02:00:00");
obj1.setCinemaLinkId("888");
obj1.setProductCode("FINIXX_TOOL");
obj1.setFileSize(512L);
obj1.setBackupEndTime("2026-04-02 02:00:00");
obj1.setRelateLogId("152");
obj1.setCinemaCode("88888888");
obj1.setUploadCostMs(10000L);
obj1.setBackupMethod("dump");
obj1.setBackupScope("full");
obj1.setOssPath("https://ykse-db-backup.oss-cn-beijing.aliyuncs.com/finixx/client/platform/20260402/11052801_full_20260402020000.sql.gz");
obj1.setBackUpResult("Y");
obj1.setBackUpDesc("备份描述");
req.setDataBackupReportReq(obj1);
LarkCinemaDataBackupReportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_cinema_data_backup_report_response>
    <result>true</result>
    <result_code>200</result_code>
    <result_msg>成功</result_msg>
</lark_cinema_data_backup_report_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部