TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthTracecodesellerChannelSearchRequest req = new AlibabaAlihealthTracecodesellerChannelSearchRequest();
req.setSkeyCode("appkey");
req.setEntInfoId(1L);
req.setOutInType(2L);
req.setPage(1L);
req.setPageSize(10L);
AlibabaAlihealthTracecodesellerChannelSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlihealthTracecodesellerChannelSearchRequest req = new AlibabaAlihealthTracecodesellerChannelSearchRequest();
req.SkeyCode = "appkey";
req.EntInfoId = 1L;
req.OutInType = 2L;
req.Page = 1L;
req.PageSize = 10L;
AlibabaAlihealthTracecodesellerChannelSearchResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlihealthTracecodesellerChannelSearchRequest;
$req->setSkeyCode("appkey");
$req->setEntInfoId("1");
$req->setOutInType("2");
$req->setPage("1");
$req->setPageSize("10");
$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.alihealth.tracecodeseller.channel.search' \
-d 'partner_id=apidoc' \
-d 'sign=8B8EBDFD0DACC0718E1065AA21818145' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-29+16%3A30%3A49' \
-d 'v=2.0' \
-d 'ent_info_id=1' \
-d 'out_in_type=2' \
-d 'page=1' \
-d 'page_size=10' \
-d 'skey_code=appkey'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlihealthTracecodesellerChannelSearchRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.skey_code="appkey"
req.ent_info_id=1
req.out_in_type=2
req.page=1
req.page_size=10
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.alihealth.tracecodeseller.channel.search");
add_param(pRequest,"skey_code","appkey");
add_param(pRequest,"ent_info_id","1");
add_param(pRequest,"out_in_type","2");
add_param(pRequest,"page","1");
add_param(pRequest,"page_size","10");
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.alihealth.tracecodeseller.channel.search', {
'skey_code':'appkey',
'ent_info_id':'1',
'out_in_type':'2',
'page':'1',
'page_size':'10'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})