TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaTaobaoLiveRecommendAlipayRightQueryRequest req = new AlibabaTaobaoLiveRecommendAlipayRightQueryRequest();
AlibabaTaobaoLiveRecommendAlipayRightQueryRequest.AlipayVenueRightParam obj1 = new AlibabaTaobaoLiveRecommendAlipayRightQueryRequest.AlipayVenueRightParam();
obj1.setStressTest(false);
obj1.setTabaoUserId(2215137213881L);
obj1.setLiveSource("zhifubao1111.bigpop");
obj1.setTtid("600000@taobao_android_10.52.10.7306");
obj1.setRequestId("toprighttest1234");
obj1.setAnchorIdList(new Long[] { 1667651824 };
);
req.setAlipayVenueRightParam(obj1);
AlibabaTaobaoLiveRecommendAlipayRightQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaTaobaoLiveRecommendAlipayRightQueryRequest req = new AlibabaTaobaoLiveRecommendAlipayRightQueryRequest();
AlibabaTaobaoLiveRecommendAlipayRightQueryRequest.AlipayVenueRightParamDomain obj1 = new AlibabaTaobaoLiveRecommendAlipayRightQueryRequest.AlipayVenueRightParamDomain();
obj1.StressTest = false;
obj1.TabaoUserId = 2215137213881L;
obj1.LiveSource = "zhifubao1111.bigpop";
obj1.Ttid = "600000@taobao_android_10.52.10.7306";
obj1.RequestId = "toprighttest1234";
obj1.AnchorIdList = new long[] { 1667651824 };
;
req.AlipayVenueRightParam_ = obj1;
AlibabaTaobaoLiveRecommendAlipayRightQueryResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaTaobaoLiveRecommendAlipayRightQueryRequest;
$alipay_venue_right_param = new AlipayVenueRightParam;
$alipay_venue_right_param->stress_test="false";
$alipay_venue_right_param->tabao_user_id="2215137213881";
$alipay_venue_right_param->live_source="zhifubao1111.bigpop";
$alipay_venue_right_param->ttid="600000@taobao_android_10.52.10.7306";
$alipay_venue_right_param->request_id="toprighttest1234";
$alipay_venue_right_param->anchor_id_list="1667651824";
$req->setAlipayVenueRightParam(json_encode($alipay_venue_right_param));
$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.taobao.live.recommend.alipay.right.query' \
-d 'partner_id=apidoc' \
-d 'sign=FFE7CFD00FD80769C4207AAB3C5690F8' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-10-04+04%3A43%3A58' \
-d 'v=2.0' \
-d 'alipay_venue_right_param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.taobaoLiveRecommendAlipayRightQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.alipay_venue_right_param="数据结构示例JSON格式"
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.taobao.live.recommend.alipay.right.query");
add_param(pRequest,"alipay_venue_right_param","数据结构JSON示例");
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.taobao.live.recommend.alipay.right.query', {
'alipay_venue_right_param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})