TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPicturesDengtaWbaccountPriceChangeRequest req = new AlibabaPicturesDengtaWbaccountPriceChangeRequest();
req.setId(9L);
req.setAccountId("1111111");
req.setTransferPrice("200");
req.setChangeTime("2223344");
req.setTransferPriceAli("160");
req.setOriginPrice("100");
req.setOriginPriceAli("80");
AlibabaPicturesDengtaWbaccountPriceChangeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaPicturesDengtaWbaccountPriceChangeRequest req = new AlibabaPicturesDengtaWbaccountPriceChangeRequest();
req.Id = 9L;
req.AccountId = "1111111";
req.TransferPrice = "200";
req.ChangeTime = "2223344";
req.TransferPriceAli = "160";
req.OriginPrice = "100";
req.OriginPriceAli = "80";
AlibabaPicturesDengtaWbaccountPriceChangeResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaPicturesDengtaWbaccountPriceChangeRequest;
$req->setId("9");
$req->setAccountId("1111111");
$req->setTransferPrice("200");
$req->setChangeTime("2223344");
$req->setTransferPriceAli("160");
$req->setOriginPrice("100");
$req->setOriginPriceAli("80");
$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.pictures.dengta.wbaccount.price.change' \
-d 'partner_id=apidoc' \
-d 'sign=1B54FE16BAD574D709EB5245C53F8CAE' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-13+19%3A00%3A03' \
-d 'v=2.0' \
-d 'account_id=1111111' \
-d 'change_time=2223344' \
-d 'id=9' \
-d 'origin_price=100' \
-d 'origin_price_ali=80' \
-d 'transfer_price=200' \
-d 'transfer_price_ali=160'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaPicturesDengtaWbaccountPriceChangeRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.id=9
req.account_id="1111111"
req.transfer_price="200"
req.change_time="2223344"
req.transfer_price_ali="160"
req.origin_price="100"
req.origin_price_ali="80"
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.pictures.dengta.wbaccount.price.change");
add_param(pRequest,"id","9");
add_param(pRequest,"account_id","1111111");
add_param(pRequest,"transfer_price","200");
add_param(pRequest,"change_time","2223344");
add_param(pRequest,"transfer_price_ali","160");
add_param(pRequest,"origin_price","100");
add_param(pRequest,"origin_price_ali","80");
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.pictures.dengta.wbaccount.price.change', {
'id':'9',
'account_id':'1111111',
'transfer_price':'200',
'change_time':'2223344',
'transfer_price_ali':'160',
'origin_price':'100',
'origin_price_ali':'80'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})