TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallItemSellingpointGetRequest req = new TmallItemSellingpointGetRequest();
req.setParam0("207380346696994386");
req.setParam1("intelligent-chatbot");
req.setParam2("officialItemHttpService-queryItemSellingPointByHSF");
TmallItemSellingpointGetRequest.CustomerServiceRequest obj1 = new TmallItemSellingpointGetRequest.CustomerServiceRequest();
obj1.setItemId("964556797509");
req.setParam3(obj1);
req.setParam4("officialItemHttpService-queryItemSellingPointByHSF__stable");
TmallItemSellingpointGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallItemSellingpointGetRequest req = new TmallItemSellingpointGetRequest();
req.Param0 = "207380346696994386";
req.Param1 = "intelligent-chatbot";
req.Param2 = "officialItemHttpService-queryItemSellingPointByHSF";
TmallItemSellingpointGetRequest.CustomerServiceRequestDomain obj1 = new TmallItemSellingpointGetRequest.CustomerServiceRequestDomain();
obj1.ItemId = "964556797509";
req.Param3_ = obj1;
req.Param4 = "officialItemHttpService-queryItemSellingPointByHSF__stable";
TmallItemSellingpointGetResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallItemSellingpointGetRequest;
$req->setParam0("207380346696994386");
$req->setParam1("intelligent-chatbot");
$req->setParam2("officialItemHttpService-queryItemSellingPointByHSF");
$param3 = new CustomerServiceRequest;
$param3->item_id="964556797509";
$req->setParam3(json_encode($param3));
$req->setParam4("officialItemHttpService-queryItemSellingPointByHSF__stable");
$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=tmall.item.sellingpoint.get' \
-d 'partner_id=apidoc' \
-d 'sign=5075020946AE1493A054ED1732B7438C' \
-d 'sign_method=hmac' \
-d 'timestamp=2026-04-04+12%3A11%3A18' \
-d 'v=2.0' \
-d 'param0=207380346696994386' \
-d 'param1=intelligent-chatbot' \
-d 'param2=officialItemHttpService-queryItemSellingPointByHSF' \
-d 'param3=null' \
-d 'param4=officialItemHttpService-queryItemSellingPointByHSF__stable'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallItemSellingpointGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param0="207380346696994386"
req.param1="intelligent-chatbot"
req.param2="officialItemHttpService-queryItemSellingPointByHSF"
req.param3="数据结构示例JSON格式"
req.param4="officialItemHttpService-queryItemSellingPointByHSF__stable"
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,"tmall.item.sellingpoint.get");
add_param(pRequest,"param0","207380346696994386");
add_param(pRequest,"param1","intelligent-chatbot");
add_param(pRequest,"param2","officialItemHttpService-queryItemSellingPointByHSF");
add_param(pRequest,"param3","数据结构JSON示例");
add_param(pRequest,"param4","officialItemHttpService-queryItemSellingPointByHSF__stable");
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',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('tmall.item.sellingpoint.get', {
'param0':'207380346696994386',
'param1':'intelligent-chatbot',
'param2':'officialItemHttpService-queryItemSellingPointByHSF',
'param3':'数据结构JSON示例',
'param4':'officialItemHttpService-queryItemSellingPointByHSF__stable'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})