TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscCrmRechargeAccountGetRequest req = new AlibabaAlscCrmRechargeAccountGetRequest();
AlibabaAlscCrmRechargeAccountGetRequest.QueryRechargeAccountOpenReq obj1 = new AlibabaAlscCrmRechargeAccountGetRequest.QueryRechargeAccountOpenReq();
obj1.setAccountId("null");
obj1.setBrandId("3724809629");
obj1.setCardId("111950000052400125");
obj1.setCustomerId("null");
obj1.setShopId("3724809631");
obj1.setOutShopId("null");
obj1.setOutBrandId("null");
req.setParamQueryRechargeAccountOpenReq(obj1);
AlibabaAlscCrmRechargeAccountGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlscCrmRechargeAccountGetRequest req = new AlibabaAlscCrmRechargeAccountGetRequest();
AlibabaAlscCrmRechargeAccountGetRequest.QueryRechargeAccountOpenReqDomain obj1 = new AlibabaAlscCrmRechargeAccountGetRequest.QueryRechargeAccountOpenReqDomain();
obj1.AccountId = "null";
obj1.BrandId = "3724809629";
obj1.CardId = "111950000052400125";
obj1.CustomerId = "null";
obj1.ShopId = "3724809631";
obj1.OutShopId = "null";
obj1.OutBrandId = "null";
req.ParamQueryRechargeAccountOpenReq_ = obj1;
AlibabaAlscCrmRechargeAccountGetResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlscCrmRechargeAccountGetRequest;
$param_query_recharge_account_open_req = new QueryRechargeAccountOpenReq;
$param_query_recharge_account_open_req->account_id="null";
$param_query_recharge_account_open_req->brand_id="3724809629";
$param_query_recharge_account_open_req->card_id="111950000052400125";
$param_query_recharge_account_open_req->customer_id="null";
$param_query_recharge_account_open_req->shop_id="3724809631";
$param_query_recharge_account_open_req->out_shop_id="null";
$param_query_recharge_account_open_req->out_brand_id="null";
$req->setParamQueryRechargeAccountOpenReq(json_encode($param_query_recharge_account_open_req));
$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.alsc.crm.recharge.account.get' \
-d 'partner_id=apidoc' \
-d 'sign=C5DC5D056A8995547202538936C9B763' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-19+15%3A46%3A46' \
-d 'v=2.0' \
-d 'param_query_recharge_account_open_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlscCrmRechargeAccountGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param_query_recharge_account_open_req=""
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.alsc.crm.recharge.account.get");
add_param(pRequest,"param_query_recharge_account_open_req","数据结构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.alsc.crm.recharge.account.get', {
'param_query_recharge_account_open_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})