TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayBaoxianQwyfxEquityListRequest req = new AlipayBaoxianQwyfxEquityListRequest();
AlipayBaoxianQwyfxEquityListRequest.InsListUserQwyfxEquityRequest obj1 = new AlipayBaoxianQwyfxEquityListRequest.InsListUserQwyfxEquityRequest();
obj1.setPageSize(10L);
obj1.setType("YFX_WYG_DISCOUNT_300");
obj1.setUserId(2088302777333094L);
obj1.setPageNum(1L);
obj1.setAlipayUserId("2088302777333094");
obj1.setBizPdCode("YFX_WYG_DISCOUNT");
obj1.setUserType("TAOBAO");
req.setInsListUserQwyfxEquityRequest(obj1);
AlipayBaoxianQwyfxEquityListResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlipayBaoxianQwyfxEquityListRequest req = new AlipayBaoxianQwyfxEquityListRequest();
AlipayBaoxianQwyfxEquityListRequest.InsListUserQwyfxEquityRequestDomain obj1 = new AlipayBaoxianQwyfxEquityListRequest.InsListUserQwyfxEquityRequestDomain();
obj1.PageSize = 10L;
obj1.Type = "YFX_WYG_DISCOUNT_300";
obj1.UserId = 2088302777333094L;
obj1.PageNum = 1L;
obj1.AlipayUserId = "2088302777333094";
obj1.BizPdCode = "YFX_WYG_DISCOUNT";
obj1.UserType = "TAOBAO";
req.InsListUserQwyfxEquityRequest_ = obj1;
AlipayBaoxianQwyfxEquityListResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlipayBaoxianQwyfxEquityListRequest;
$ins_list_user_qwyfx_equity_request = new InsListUserQwyfxEquityRequest;
$ins_list_user_qwyfx_equity_request->page_size="10";
$ins_list_user_qwyfx_equity_request->type="YFX_WYG_DISCOUNT_300";
$ins_list_user_qwyfx_equity_request->user_id="2088302777333094";
$ins_list_user_qwyfx_equity_request->page_num="1";
$ins_list_user_qwyfx_equity_request->alipay_user_id="2088302777333094";
$ins_list_user_qwyfx_equity_request->biz_pd_code="YFX_WYG_DISCOUNT";
$ins_list_user_qwyfx_equity_request->user_type="TAOBAO";
$req->setInsListUserQwyfxEquityRequest(json_encode($ins_list_user_qwyfx_equity_request));
$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=alipay.baoxian.qwyfx.equity.list' \
-d 'partner_id=apidoc' \
-d 'sign=E959880E83F5B45AC659DC583266BBCB' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-30+14%3A06%3A43' \
-d 'v=2.0' \
-d 'ins_list_user_qwyfx_equity_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlipayBaoxianQwyfxEquityListRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.ins_list_user_qwyfx_equity_request="数据结构示例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,"alipay.baoxian.qwyfx.equity.list");
add_param(pRequest,"ins_list_user_qwyfx_equity_request","数据结构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('alipay.baoxian.qwyfx.equity.list', {
'ins_list_user_qwyfx_equity_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})