TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAlihouseCustomerLaikeDataCheckRequest req = new TmallAlihouseCustomerLaikeDataCheckRequest();
TmallAlihouseCustomerLaikeDataCheckRequest.AppDataBackFlowQuery obj1 = new TmallAlihouseCustomerLaikeDataCheckRequest.AppDataBackFlowQuery();
obj1.setBizType(1L);
obj1.setDataType(1L);
obj1.setStartTime(StringUtils.parseDateTime("2022-07-14 12:00:00"));
obj1.setEndTime(StringUtils.parseDateTime("2022-07-14 13:00:00"));
obj1.setIdList(new Long[] { 12,23,34 };
);
req.setAppDataBackFlowQuery(obj1);
TmallAlihouseCustomerLaikeDataCheckResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallAlihouseCustomerLaikeDataCheckRequest req = new TmallAlihouseCustomerLaikeDataCheckRequest();
TmallAlihouseCustomerLaikeDataCheckRequest.AppDataBackFlowQueryDomain obj1 = new TmallAlihouseCustomerLaikeDataCheckRequest.AppDataBackFlowQueryDomain();
obj1.BizType = 1L;
obj1.DataType = 1L;
obj1.StartTime = DateTime.Parse(2022-07-14 12:00:00");
obj1.EndTime = DateTime.Parse(2022-07-14 13:00:00");
obj1.IdList = new long[] { 12,23,34 };
;
req.AppDataBackFlowQuery_ = obj1;
TmallAlihouseCustomerLaikeDataCheckResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallAlihouseCustomerLaikeDataCheckRequest;
$app_data_back_flow_query = new AppDataBackFlowQuery;
$app_data_back_flow_query->biz_type="1";
$app_data_back_flow_query->data_type="1";
$app_data_back_flow_query->start_time="2022-07-14 12:00:00";
$app_data_back_flow_query->end_time="2022-07-14 13:00:00";
$app_data_back_flow_query->id_list="[12,23,34]";
$req->setAppDataBackFlowQuery(json_encode($app_data_back_flow_query));
$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=tmall.alihouse.customer.laike.data.check' \
-d 'partner_id=apidoc' \
-d 'sign=603F7BFA31B9143D0DA78C6D32F51113' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-19+08%3A01%3A51' \
-d 'v=2.0' \
-d 'app_data_back_flow_query=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallAlihouseCustomerLaikeDataCheckRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.app_data_back_flow_query="数据结构示例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,"tmall.alihouse.customer.laike.data.check");
add_param(pRequest,"app_data_back_flow_query","数据结构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',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('tmall.alihouse.customer.laike.data.check', {
'app_data_back_flow_query':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})