TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaXspaceServiceRecordListRequest req = new AlibabaXspaceServiceRecordListRequest();
AlibabaXspaceServiceRecordListRequest.QueryTouchListRequest obj1 = new AlibabaXspaceServiceRecordListRequest.QueryTouchListRequest();
obj1.setMemberId(12323L);
obj1.setPageNo(1L);
obj1.setPageSize(10L);
obj1.setDescOrAsc("desc");
obj1.setBegin(123214432L);
obj1.setEnd(243243243L);
obj1.setChannelType(2L);
obj1.setHintServicerQuery("三少");
obj1.setBuId(12434344L);
req.setQueryTouchListRequest(obj1);
AlibabaXspaceServiceRecordListResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaXspaceServiceRecordListRequest req = new AlibabaXspaceServiceRecordListRequest();
AlibabaXspaceServiceRecordListRequest.QueryTouchListRequestDomain obj1 = new AlibabaXspaceServiceRecordListRequest.QueryTouchListRequestDomain();
obj1.MemberId = 12323L;
obj1.PageNo = 1L;
obj1.PageSize = 10L;
obj1.DescOrAsc = "desc";
obj1.Begin = 123214432L;
obj1.End = 243243243L;
obj1.ChannelType = 2L;
obj1.HintServicerQuery = "三少";
obj1.BuId = 12434344L;
req.QueryTouchListRequest_ = obj1;
AlibabaXspaceServiceRecordListResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaXspaceServiceRecordListRequest;
$query_touch_list_request = new QueryTouchListRequest;
$query_touch_list_request->member_id="12323";
$query_touch_list_request->page_no="1";
$query_touch_list_request->page_size="10";
$query_touch_list_request->desc_or_asc="desc";
$query_touch_list_request->begin="123214432";
$query_touch_list_request->end="243243243";
$query_touch_list_request->channel_type="2";
$query_touch_list_request->hint_servicer_query="三少";
$query_touch_list_request->bu_id="12434344";
$req->setQueryTouchListRequest(json_encode($query_touch_list_request));
$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=alibaba.xspace.service.record.list' \
-d 'partner_id=apidoc' \
-d 'sign=6181E5A7C581B5336406231AD7F7973A' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-08-30+22%3A59%3A31' \
-d 'v=2.0' \
-d 'query_touch_list_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaXspaceServiceRecordListRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.query_touch_list_request="数据结构示例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,"alibaba.xspace.service.record.list");
add_param(pRequest,"query_touch_list_request","数据结构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('alibaba.xspace.service.record.list', {
'query_touch_list_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})