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());
ITopClient client = new DefaultTopClient(url, appkey, secret);
LarkCinemaDataBackupReportRequest req = new LarkCinemaDataBackupReportRequest();
LarkCinemaDataBackupReportRequest.DataBackupReportReqDomain obj1 = new LarkCinemaDataBackupReportRequest.DataBackupReportReqDomain();
obj1.BackupCostMs = 1000L;
obj1.AppVersion = "1.0.0";
obj1.OssEtag = "D41D8CD98F00B204E9800998ECF8427E";
obj1.Extension = "{\\"tables\\":32,\\"engine\\":\\"InnoDB\\",\\"charset\\":\\"utf8mb4\\"}";
obj1.AppName = "finixx_api";
obj1.DataType = "mysql";
obj1.BackupTrigger = "auto";
obj1.BackupStartTime = "2026-04-02 02:00:00";
obj1.CinemaLinkId = "888";
obj1.ProductCode = "FINIXX_TOOL";
obj1.FileSize = 512L;
obj1.BackupEndTime = "2026-04-02 02:00:00";
obj1.RelateLogId = "152";
obj1.CinemaCode = "88888888";
obj1.UploadCostMs = 10000L;
obj1.BackupMethod = "dump";
obj1.BackupScope = "full";
obj1.OssPath = "https://ykse-db-backup.oss-cn-beijing.aliyuncs.com/finixx/client/platform/20260402/11052801_full_20260402020000.sql.gz";
obj1.BackUpResult = "Y";
obj1.BackUpDesc = "备份描述";
req.DataBackupReportReq_ = obj1;
LarkCinemaDataBackupReportResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new LarkCinemaDataBackupReportRequest;
$data_backup_report_req = new DataBackupReportReq;
$data_backup_report_req->backup_cost_ms="1000";
$data_backup_report_req->app_version="1.0.0";
$data_backup_report_req->oss_etag="D41D8CD98F00B204E9800998ECF8427E";
$data_backup_report_req->extension="{\\"tables\\":32,\\"engine\\":\\"InnoDB\\",\\"charset\\":\\"utf8mb4\\"}";
$data_backup_report_req->app_name="finixx_api";
$data_backup_report_req->data_type="mysql";
$data_backup_report_req->backup_trigger="auto";
$data_backup_report_req->backup_start_time="2026-04-02 02:00:00";
$data_backup_report_req->cinema_link_id="888";
$data_backup_report_req->product_code="FINIXX_TOOL";
$data_backup_report_req->file_size="512";
$data_backup_report_req->backup_end_time="2026-04-02 02:00:00";
$data_backup_report_req->relate_log_id="152";
$data_backup_report_req->cinema_code="88888888";
$data_backup_report_req->upload_cost_ms="10000";
$data_backup_report_req->backup_method="dump";
$data_backup_report_req->backup_scope="full";
$data_backup_report_req->oss_path="https://ykse-db-backup.oss-cn-beijing.aliyuncs.com/finixx/client/platform/20260402/11052801_full_20260402020000.sql.gz";
$data_backup_report_req->back_up_result="Y";
$data_backup_report_req->back_up_desc="备份描述";
$req->setDataBackupReportReq(json_encode($data_backup_report_req));
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=taobao.lark.cinema.data.backup.report' \
-d 'partner_id=apidoc' \
-d 'sign=10FF18E78F66CE031D1A2A3705D57E8D' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-10-06+21%3A33%3A46' \
-d 'v=2.0' \
-d 'data_backup_report_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.LarkCinemaDataBackupReportRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.data_backup_report_req="数据结构示例JSON格式"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"taobao.lark.cinema.data.backup.report");
add_param(pRequest,"data_backup_report_req","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('taobao.lark.cinema.data.backup.report', {
'data_backup_report_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})