TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest req = new AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest();
req.setModuleStatus("approved");
req.setType("custom");
req.setPageIndex(1L);
AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest req = new AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest();
req.ModuleStatus = "approved";
req.Type = "custom";
req.PageIndex = 1L;
AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest;
$req->setModuleStatus("approved");
$req->setType("custom");
$req->setPageIndex("1");
$resp = $c->execute($req, $sessionKey);
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=aliexpress.postproduct.redefining.findaeproductdetailmodulelistbyqurey' \
-d 'partner_id=apidoc' \
-d 'session=2349f493-7aa1-4481-b13f-906a3d3efbc4' \
-d 'sign=3203B769EA316AB3095B6810893BE5AD' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-25+18%3A45%3A13' \
-d 'v=2.0' \
-d 'module_status=approved' \
-d 'page_index=1' \
-d 'type=custom'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AliexpressPostproductRedefiningFindaeproductdetailmodulelistbyqureyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.module_status="approved"
req.type="custom"
req.page_index=1
try:
resp= req.getResponse(sessionkey)
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,"aliexpress.postproduct.redefining.findaeproductdetailmodulelistbyqurey");
add_param(pRequest,"module_status","approved");
add_param(pRequest,"type","custom");
add_param(pRequest,"page_index","1");
pResponse = top_execute(pClient,pRequest,sessionKey);
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('aliexpress.postproduct.redefining.findaeproductdetailmodulelistbyqurey', {
'module_status':'approved',
'type':'custom',
'page_index':'1'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})