TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoIntegrationOrderProgressQueryRequest req = new RhinoIntegrationOrderProgressQueryRequest();
RhinoIntegrationOrderProgressQueryRequest.BatchGetProgressReq obj1 = new RhinoIntegrationOrderProgressQueryRequest.BatchGetProgressReq();
List<RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReq> list3 = new ArrayList<RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReq>();
RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReq obj4 = new RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReq();
list3.add(obj4);
obj4.setEndDate("2022-09-15");
obj4.setSectionCode("F");
obj4.setPlanOrderId("8877123");
obj4.setStartDate("2022-09-15");
obj1.setQueryReqList(list3);
obj1.setSeqId("xxx-xxxx");
req.setBatchGetProgressReq(obj1);
RhinoIntegrationOrderProgressQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
RhinoIntegrationOrderProgressQueryRequest req = new RhinoIntegrationOrderProgressQueryRequest();
RhinoIntegrationOrderProgressQueryRequest.BatchGetProgressReqDomain obj1 = new RhinoIntegrationOrderProgressQueryRequest.BatchGetProgressReqDomain();
List<RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReqDomain> list3 = new List<RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReqDomain>();
RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReqDomain obj4 = new RhinoIntegrationOrderProgressQueryRequest.OrderProgressQueryReqDomain();
list3.Add(obj4);
obj4.EndDate = "2022-09-15";
obj4.SectionCode = "F";
obj4.PlanOrderId = "8877123";
obj4.StartDate = "2022-09-15";
obj1.QueryReqList= list3;
obj1.SeqId = "xxx-xxxx";
req.BatchGetProgressReq_ = obj1;
RhinoIntegrationOrderProgressQueryResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new RhinoIntegrationOrderProgressQueryRequest;
$batch_get_progress_req = new BatchGetProgressReq;
$query_req_list = new OrderProgressQueryReq;
$query_req_list->end_date="2022-09-15";
$query_req_list->section_code="F";
$query_req_list->plan_order_id="8877123";
$query_req_list->start_date="2022-09-15";
$batch_get_progress_req->query_req_list = $query_req_list;
$batch_get_progress_req->seq_id="xxx-xxxx";
$req->setBatchGetProgressReq(json_encode($batch_get_progress_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.rhino.integration.order.progress.query' \
-d 'partner_id=apidoc' \
-d 'sign=2B320B843360E2D6DE6B6CCAF2A9AD45' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-28+15%3A25%3A38' \
-d 'v=2.0' \
-d 'batch_get_progress_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.RhinoIntegrationOrderProgressQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.batch_get_progress_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.rhino.integration.order.progress.query");
add_param(pRequest,"batch_get_progress_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',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('taobao.rhino.integration.order.progress.query', {
'batch_get_progress_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})