TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAligamesUserRealnameQuerynewRequest req = new AlibabaAligamesUserRealnameQuerynewRequest();
AlibabaAligamesUserRealnameQuerynewRequest.GetRealNameInfoByLocalIdNewReqDTO obj1 = new AlibabaAligamesUserRealnameQuerynewRequest.GetRealNameInfoByLocalIdNewReqDTO();
obj1.setAppCode("JIUYOU_ANDROID_SDK");
obj1.setAppId("ngsdk");
obj1.setBizId("jiuyou");
obj1.setClientId("17");
obj1.setIsDesensitization(false);
obj1.setLocalId("123123123");
obj1.setRequestId("123123123");
obj1.setTimestamp(123123123123L);
obj1.setUidType(123123123L);
req.setParamGetRealNameInfoByLocalIdNewReqDTO(obj1);
AlibabaAligamesUserRealnameQuerynewResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAligamesUserRealnameQuerynewRequest req = new AlibabaAligamesUserRealnameQuerynewRequest();
AlibabaAligamesUserRealnameQuerynewRequest.GetRealNameInfoByLocalIdNewReqDTODomain obj1 = new AlibabaAligamesUserRealnameQuerynewRequest.GetRealNameInfoByLocalIdNewReqDTODomain();
obj1.AppCode = "JIUYOU_ANDROID_SDK";
obj1.AppId = "ngsdk";
obj1.BizId = "jiuyou";
obj1.ClientId = "17";
obj1.IsDesensitization = false;
obj1.LocalId = "123123123";
obj1.RequestId = "123123123";
obj1.Timestamp = 123123123123L;
obj1.UidType = 123123123L;
req.ParamGetRealNameInfoByLocalIdNewReqDTO_ = obj1;
AlibabaAligamesUserRealnameQuerynewResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAligamesUserRealnameQuerynewRequest;
$param_get_real_name_info_by_local_id_new_req_d_t_o = new GetRealNameInfoByLocalIdNewReqDTO;
$param_get_real_name_info_by_local_id_new_req_d_t_o->app_code="JIUYOU_ANDROID_SDK";
$param_get_real_name_info_by_local_id_new_req_d_t_o->app_id="ngsdk";
$param_get_real_name_info_by_local_id_new_req_d_t_o->biz_id="jiuyou";
$param_get_real_name_info_by_local_id_new_req_d_t_o->client_id="17";
$param_get_real_name_info_by_local_id_new_req_d_t_o->is_desensitization="false";
$param_get_real_name_info_by_local_id_new_req_d_t_o->local_id="123123123";
$param_get_real_name_info_by_local_id_new_req_d_t_o->request_id="123123123";
$param_get_real_name_info_by_local_id_new_req_d_t_o->timestamp="123123123123";
$param_get_real_name_info_by_local_id_new_req_d_t_o->uid_type="123123123";
$req->setParamGetRealNameInfoByLocalIdNewReqDTO(json_encode($param_get_real_name_info_by_local_id_new_req_d_t_o));
$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.aligames.user.realname.querynew' \
-d 'partner_id=apidoc' \
-d 'sign=D78DCD686724FE58266DAE10BEBA4B68' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-19+04%3A42%3A44' \
-d 'v=2.0' \
-d 'param_get_real_name_info_by_local_id_new_req_d_t_o=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAligamesUserRealnameQuerynewRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param_get_real_name_info_by_local_id_new_req_d_t_o="数据结构示例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.aligames.user.realname.querynew");
add_param(pRequest,"param_get_real_name_info_by_local_id_new_req_d_t_o","数据结构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.aligames.user.realname.querynew', {
'param_get_real_name_info_by_local_id_new_req_d_t_o':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})