TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoIntegrationCutProgressQueryRequest req = new RhinoIntegrationCutProgressQueryRequest();
RhinoIntegrationCutProgressQueryRequest.BatchGetCutProgressReq obj1 = new RhinoIntegrationCutProgressQueryRequest.BatchGetCutProgressReq();
List<RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReq> list3 = new ArrayList<RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReq>();
RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReq obj4 = new RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReq();
list3.add(obj4);
obj4.setEndDate("2023-12-08");
obj4.setStartDate("2023-12-08");
obj4.setTicketNo("310110004");
obj1.setQueryReqList(list3);
obj1.setSeqId("xxx-xxxx");
req.setBatchGetCutProgressReq(obj1);
RhinoIntegrationCutProgressQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
RhinoIntegrationCutProgressQueryRequest req = new RhinoIntegrationCutProgressQueryRequest();
RhinoIntegrationCutProgressQueryRequest.BatchGetCutProgressReqDomain obj1 = new RhinoIntegrationCutProgressQueryRequest.BatchGetCutProgressReqDomain();
List<RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReqDomain> list3 = new List<RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReqDomain>();
RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReqDomain obj4 = new RhinoIntegrationCutProgressQueryRequest.CutProgressQueryReqDomain();
list3.Add(obj4);
obj4.EndDate = "2023-12-08";
obj4.StartDate = "2023-12-08";
obj4.TicketNo = "310110004";
obj1.QueryReqList= list3;
obj1.SeqId = "xxx-xxxx";
req.BatchGetCutProgressReq_ = obj1;
RhinoIntegrationCutProgressQueryResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new RhinoIntegrationCutProgressQueryRequest;
$batch_get_cut_progress_req = new BatchGetCutProgressReq;
$query_req_list = new CutProgressQueryReq;
$query_req_list->end_date="2023-12-08";
$query_req_list->start_date="2023-12-08";
$query_req_list->ticket_no="310110004";
$batch_get_cut_progress_req->query_req_list = $query_req_list;
$batch_get_cut_progress_req->seq_id="xxx-xxxx";
$req->setBatchGetCutProgressReq(json_encode($batch_get_cut_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.cut.progress.query' \
-d 'partner_id=apidoc' \
-d 'sign=90E560450289D92DA3376FEF52D21B62' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-25+15%3A49%3A46' \
-d 'v=2.0' \
-d 'batch_get_cut_progress_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.RhinoIntegrationCutProgressQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.batch_get_cut_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.cut.progress.query");
add_param(pRequest,"batch_get_cut_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.cut.progress.query', {
'batch_get_cut_progress_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})