TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiCalloutOrderListExportRequest req = new AlibabaDamaiCalloutOrderListExportRequest();
AlibabaDamaiCalloutOrderListExportRequest.CallOrderQueryRequest obj1 = new AlibabaDamaiCalloutOrderListExportRequest.CallOrderQueryRequest();
obj1.setAllotType(1L);
obj1.setOrderId("\"T2026010100001\"");
obj1.setCallResultTypeList("1,2");
obj1.setExecutorId("\"W123456\"");
obj1.setPageSize(20L);
obj1.setEventType(1L);
obj1.setSort(0L);
obj1.setHavanaId(2222540551630L);
obj1.setPerformId(268398472L);
obj1.setAllotStatus(1L);
obj1.setExecutorName("\"张三\"");
obj1.setCallResultTypes("1,2");
obj1.setExecuteGroupId(100L);
obj1.setCurrentPage(1L);
obj1.setCallOutTimeType(1L);
req.setCallOrderQueryRequest(obj1);
AlibabaDamaiCalloutOrderListExportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDamaiCalloutOrderListExportRequest req = new AlibabaDamaiCalloutOrderListExportRequest();
AlibabaDamaiCalloutOrderListExportRequest.CallOrderQueryRequestDomain obj1 = new AlibabaDamaiCalloutOrderListExportRequest.CallOrderQueryRequestDomain();
obj1.AllotType = 1L;
obj1.OrderId = "\"T2026010100001\"";
obj1.CallResultTypeList = "1,2";
obj1.ExecutorId = "\"W123456\"";
obj1.PageSize = 20L;
obj1.EventType = 1L;
obj1.Sort = 0L;
obj1.HavanaId = 2222540551630L;
obj1.PerformId = 268398472L;
obj1.AllotStatus = 1L;
obj1.ExecutorName = "\"张三\"";
obj1.CallResultTypes = "1,2";
obj1.ExecuteGroupId = 100L;
obj1.CurrentPage = 1L;
obj1.CallOutTimeType = 1L;
req.CallOrderQueryRequest_ = obj1;
AlibabaDamaiCalloutOrderListExportResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDamaiCalloutOrderListExportRequest;
$call_order_query_request = new CallOrderQueryRequest;
$call_order_query_request->allot_type="1";
$call_order_query_request->order_id="\"T2026010100001\"";
$call_order_query_request->call_result_type_list="[1,2]";
$call_order_query_request->executor_id="\"W123456\"";
$call_order_query_request->page_size="20";
$call_order_query_request->event_type="1";
$call_order_query_request->sort="0";
$call_order_query_request->havana_id="2222540551630";
$call_order_query_request->perform_id="268398472";
$call_order_query_request->allot_status="1";
$call_order_query_request->executor_name="\"张三\"";
$call_order_query_request->call_result_types="1,2";
$call_order_query_request->execute_group_id="100";
$call_order_query_request->current_page="1";
$call_order_query_request->call_out_time_type="1";
$req->setCallOrderQueryRequest(json_encode($call_order_query_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.damai.callout.order.list.export' \
-d 'partner_id=apidoc' \
-d 'sign=C20521ADD741BDDE5DEDA85D4031E01E' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-08-24+07%3A19%3A08' \
-d 'v=2.0' \
-d 'call_order_query_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDamaiCalloutOrderListExportRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.call_order_query_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.damai.callout.order.list.export");
add_param(pRequest,"call_order_query_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',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.damai.callout.order.list.export', {
'call_order_query_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})