TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallServicecenterAnomalyrecourseHomedecorationResponseRequest req = new TmallServicecenterAnomalyrecourseHomedecorationResponseRequest();
req.setId(1111111L);
req.setContactSeller(1L);
req.setRemark("响应方案");
req.setImages("图片凭证");
TmallServicecenterAnomalyrecourseHomedecorationResponseResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallServicecenterAnomalyrecourseHomedecorationResponseRequest req = new TmallServicecenterAnomalyrecourseHomedecorationResponseRequest();
req.Id = 1111111L;
req.ContactSeller = 1L;
req.Remark = "响应方案";
req.Images = "图片凭证";
TmallServicecenterAnomalyrecourseHomedecorationResponseResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallServicecenterAnomalyrecourseHomedecorationResponseRequest;
$req->setId("1111111");
$req->setContactSeller("1");
$req->setRemark("响应方案");
$req->setImages("图片凭证");
$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=tmall.servicecenter.anomalyrecourse.homedecoration.response' \
-d 'partner_id=apidoc' \
-d 'session=158db72d-7122-42fe-968e-d8eeed0633bf' \
-d 'sign=02C2AED234CD6B253BAEC8AEC1354E2D' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-29+07%3A49%3A47' \
-d 'v=2.0' \
-d 'contact_seller=1' \
-d 'id=1111111' \
-d 'images=%E5%9B%BE%E7%89%87%E5%87%AD%E8%AF%81' \
-d 'remark=%E5%93%8D%E5%BA%94%E6%96%B9%E6%A1%88'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallServicecenterAnomalyrecourseHomedecorationResponseRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.id=1111111
req.contact_seller=1
req.remark="响应方案"
req.images="图片凭证"
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,"tmall.servicecenter.anomalyrecourse.homedecoration.response");
add_param(pRequest,"id","1111111");
add_param(pRequest,"contact_seller","1");
add_param(pRequest,"remark","响应方案");
add_param(pRequest,"images","图片凭证");
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('tmall.servicecenter.anomalyrecourse.homedecoration.response', {
'id':'1111111',
'contact_seller':'1',
'remark':'响应方案',
'images':'图片凭证'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})