TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleCycleshopSellerReportinfoRequest req = new AlibabaIdleCycleshopSellerReportinfoRequest();
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQry obj1 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQry();
obj1.setShopUserid(974352345324L);
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOption obj2 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOption();
obj2.setNeedUserbase(true);
obj2.setNeedIncomeFee(false);
obj2.setNeedSoldCount(false);
obj2.setNeedOnsaleCount(false);
obj2.setNeedToprocessCount(false);
obj2.setNeedToconfirmCount(false);
obj2.setNeedAllCount(false);
obj2.setNeedPrepareCnt(false);
obj2.setNeedClearanceFailCnt(false);
obj1.setQueryOption(obj2);
req.setParam(obj1);
AlibabaIdleCycleshopSellerReportinfoResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaIdleCycleshopSellerReportinfoRequest req = new AlibabaIdleCycleshopSellerReportinfoRequest();
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQryDomain obj1 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQryDomain();
obj1.ShopUserid = 974352345324L;
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOptionDomain obj2 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOptionDomain();
obj2.NeedUserbase = true;
obj2.NeedIncomeFee = false;
obj2.NeedSoldCount = false;
obj2.NeedOnsaleCount = false;
obj2.NeedToprocessCount = false;
obj2.NeedToconfirmCount = false;
obj2.NeedAllCount = false;
obj2.NeedPrepareCnt = false;
obj2.NeedClearanceFailCnt = false;
obj1.QueryOption= obj2;
req.Param_ = obj1;
AlibabaIdleCycleshopSellerReportinfoResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaIdleCycleshopSellerReportinfoRequest;
$param = new CycleShopSellerReportTopQry;
$param->shop_userid="974352345324";
$query_option = new CycleShopSellerReportTopOption;
$query_option->need_userbase="true";
$query_option->need_income_fee="false";
$query_option->need_sold_count="false";
$query_option->need_onsale_count="false";
$query_option->need_toprocess_count="false";
$query_option->need_toconfirm_count="false";
$query_option->need_all_count="false";
$query_option->need_prepare_cnt="false";
$query_option->need_clearance_fail_cnt="false";
$param->query_option = $query_option;
$req->setParam(json_encode($param));
$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=alibaba.idle.cycleshop.seller.reportinfo' \
-d 'partner_id=apidoc' \
-d 'session=207d3177-9cc5-412a-beda-13fcbc15ea73' \
-d 'sign=5D8A3E130576F752365EA365D7138A73' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-29+16%3A24%3A15' \
-d 'v=2.0' \
-d 'param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaIdleCycleshopSellerReportinfoRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param="数据结构示例JSON格式"
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,"alibaba.idle.cycleshop.seller.reportinfo");
add_param(pRequest,"param","数据结构JSON示例");
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('alibaba.idle.cycleshop.seller.reportinfo', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})