TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UsceslBizEslUnbindRequest req = new UsceslBizEslUnbindRequest();
req.setEslBarCode("234234234");
req.setStoreId(23234235L);
req.setBizBrandKey("234234");
UsceslBizEslUnbindResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
UsceslBizEslUnbindRequest req = new UsceslBizEslUnbindRequest();
req.EslBarCode = "234234234";
req.StoreId = 23234235L;
req.BizBrandKey = "234234";
UsceslBizEslUnbindResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new UsceslBizEslUnbindRequest;
$req->setEslBarCode("234234234");
$req->setStoreId("23234235");
$req->setBizBrandKey("234234");
$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.uscesl.biz.esl.unbind' \
-d 'partner_id=apidoc' \
-d 'sign=5164103D3BA3932491841B25C5B7E440' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-29+18%3A46%3A11' \
-d 'v=2.0' \
-d 'biz_brand_key=234234' \
-d 'esl_bar_code=234234234' \
-d 'store_id=23234235'
# -*- coding: utf-8 -*-
import top.api
req=top.api.UsceslBizEslUnbindRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.esl_bar_code="234234234"
req.store_id=23234235
req.biz_brand_key="234234"
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.uscesl.biz.esl.unbind");
add_param(pRequest,"esl_bar_code","234234234");
add_param(pRequest,"store_id","23234235");
add_param(pRequest,"biz_brand_key","234234");
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.uscesl.biz.esl.unbind', {
'esl_bar_code':'234234234',
'store_id':'23234235',
'biz_brand_key':'234234'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})