TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest req = new AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest();
req.setSuiteIdList("23");
req.setRecipeProductCheckRemark("ok");
req.setRecipeProductCheck(2L);
req.setProductKey("234fw");
req.setAccountId(2342L);
AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest req = new AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest();
req.SuiteIdList = "23";
req.RecipeProductCheckRemark = "ok";
req.RecipeProductCheck = 2L;
req.ProductKey = "234fw";
req.AccountId = 2342L;
AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest;
$req->setSuiteIdList("23");
$req->setRecipeProductCheckRemark("ok");
$req->setRecipeProductCheck("2");
$req->setProductKey("234fw");
$req->setAccountId("2342");
$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.ailabs.iot.business.recipeproduct.review.updatesuiteids' \
-d 'partner_id=apidoc' \
-d 'sign=5A659B691C03122C5946C6F4CA4B9719' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-19+18%3A30%3A04' \
-d 'v=2.0' \
-d 'account_id=2342' \
-d 'product_key=234fw' \
-d 'recipe_product_check=2' \
-d 'recipe_product_check_remark=ok' \
-d 'suite_id_list=23'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAilabsIotBusinessRecipeproductReviewUpdatesuiteidsRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.suite_id_list="23"
req.recipe_product_check_remark="ok"
req.recipe_product_check=2
req.product_key="234fw"
req.account_id=2342
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.ailabs.iot.business.recipeproduct.review.updatesuiteids");
add_param(pRequest,"suite_id_list","23");
add_param(pRequest,"recipe_product_check_remark","ok");
add_param(pRequest,"recipe_product_check","2");
add_param(pRequest,"product_key","234fw");
add_param(pRequest,"account_id","2342");
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.ailabs.iot.business.recipeproduct.review.updatesuiteids', {
'suite_id_list':'23',
'recipe_product_check_remark':'ok',
'recipe_product_check':'2',
'product_key':'234fw',
'account_id':'2342'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})