TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest req = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest();
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetOrderParam obj1 = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetOrderParam();
obj1.setOrderIdList("order_id_list");
obj1.setLoginKey("login_key");
obj1.setMevTraceId("mev_trace_id");
List<AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParam> list3 = new ArrayList<AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParam>();
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParam obj4 = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParam();
list3.add(obj4);
obj4.setFullFillOrderId("full_fill_order_id");
obj4.setOrderId("order_id");
obj4.setOperatorName("operator_name");
obj4.setReason("reason");
obj4.setResetTime(StringUtils.parseDateTime("2025-01-01 00:00:00"));
obj1.setFullFillOrderList(list3);
req.setResetOrderParam(obj1);
AlibabaDamaiMevExchangeEmsResetExchangeStatusResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest req = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest();
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetOrderParamDomain obj1 = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetOrderParamDomain();
obj1.OrderIdList = "order_id_list";
obj1.LoginKey = "login_key";
obj1.MevTraceId = "mev_trace_id";
List<AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParamDomain> list3 = new List<AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParamDomain>();
AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParamDomain obj4 = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest.ResetFullFillOrderParamDomain();
list3.Add(obj4);
obj4.FullFillOrderId = "full_fill_order_id";
obj4.OrderId = "order_id";
obj4.OperatorName = "operator_name";
obj4.Reason = "reason";
obj4.ResetTime = DateTime.Parse(2025-01-01 00:00:00");
obj1.FullFillOrderList= list3;
req.ResetOrderParam_ = obj1;
AlibabaDamaiMevExchangeEmsResetExchangeStatusResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest;
$reset_order_param = new ResetOrderParam;
$reset_order_param->order_id_list="order_id_list";
$reset_order_param->login_key="login_key";
$reset_order_param->mev_trace_id="mev_trace_id";
$full_fill_order_list = new ResetFullFillOrderParam;
$full_fill_order_list->full_fill_order_id="full_fill_order_id";
$full_fill_order_list->order_id="order_id";
$full_fill_order_list->operator_name="operator_name";
$full_fill_order_list->reason="reason";
$full_fill_order_list->reset_time="2025-01-01 00:00:00";
$reset_order_param->full_fill_order_list = $full_fill_order_list;
$req->setResetOrderParam(json_encode($reset_order_param));
$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.mev.exchange.ems.reset.exchange.status' \
-d 'partner_id=apidoc' \
-d 'sign=89581A3EBF3068636076EAABDBA47989' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-01+21%3A33%3A12' \
-d 'v=2.0' \
-d 'reset_order_param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDamaiMevExchangeEmsResetExchangeStatusRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.reset_order_param="数据结构示例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.mev.exchange.ems.reset.exchange.status");
add_param(pRequest,"reset_order_param","数据结构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.damai.mev.exchange.ems.reset.exchange.status', {
'reset_order_param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})