TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIhomeCtomFinishedStausSyncRequest req = new AlibabaIhomeCtomFinishedStausSyncRequest();
req.setChangeDate("2019-12-12 12:12:12");
req.setOperatorId("111");
req.setStatus("installing");
req.setSvjSubOrderId("1234");
AlibabaIhomeCtomFinishedStausSyncResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaIhomeCtomFinishedStausSyncRequest req = new AlibabaIhomeCtomFinishedStausSyncRequest();
req.ChangeDate = "2019-12-12 12:12:12";
req.OperatorId = "111";
req.Status = "installing";
req.SvjSubOrderId = "1234";
AlibabaIhomeCtomFinishedStausSyncResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaIhomeCtomFinishedStausSyncRequest;
$req->setChangeDate("2019-12-12 12:12:12");
$req->setOperatorId("111");
$req->setStatus("installing");
$req->setSvjSubOrderId("1234");
$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.ihome.ctom.finished.staus.sync' \
-d 'partner_id=apidoc' \
-d 'sign=43A6B7E0805CF3BCEEED3A7F34D0D79A' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-08+23%3A43%3A08' \
-d 'v=2.0' \
-d 'change_date=2019-12-12+12%3A12%3A12' \
-d 'operator_id=111' \
-d 'status=installing' \
-d 'svj_sub_order_id=1234'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaIhomeCtomFinishedStausSyncRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.change_date="2019-12-12 12:12:12"
req.operator_id="111"
req.status="installing"
req.svj_sub_order_id="1234"
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.ihome.ctom.finished.staus.sync");
add_param(pRequest,"change_date","2019-12-12 12:12:12");
add_param(pRequest,"operator_id","111");
add_param(pRequest,"status","installing");
add_param(pRequest,"svj_sub_order_id","1234");
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.ihome.ctom.finished.staus.sync', {
'change_date':'2019-12-12 12:12:12',
'operator_id':'111',
'status':'installing',
'svj_sub_order_id':'1234'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})