TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscCrmCustomerCheckppwRequest req = new AlibabaAlscCrmCustomerCheckppwRequest();
AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReq obj1 = new AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReq();
obj1.setBrandId("201909878767");
obj1.setEncrypted(false);
obj1.setPayPasswd("DGGUDGJHGJCBGEG89DGHJGFG");
obj1.setCustomerId("123");
obj1.setOutBrandId("12334");
req.setCheckRequest(obj1);
AlibabaAlscCrmCustomerCheckppwResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAlscCrmCustomerCheckppwRequest req = new AlibabaAlscCrmCustomerCheckppwRequest();
AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReqDomain obj1 = new AlibabaAlscCrmCustomerCheckppwRequest.CheckPayPasswdReqDomain();
obj1.BrandId = "201909878767";
obj1.Encrypted = false;
obj1.PayPasswd = "DGGUDGJHGJCBGEG89DGHJGFG";
obj1.CustomerId = "123";
obj1.OutBrandId = "12334";
req.CheckRequest_ = obj1;
AlibabaAlscCrmCustomerCheckppwResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAlscCrmCustomerCheckppwRequest;
$check_request = new CheckPayPasswdReq;
$check_request->brand_id="201909878767";
$check_request->encrypted="false";
$check_request->pay_passwd="DGGUDGJHGJCBGEG89DGHJGFG";
$check_request->customer_id="123";
$check_request->out_brand_id="12334";
$req->setCheckRequest(json_encode($check_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=alibaba.alsc.crm.customer.checkppw' \
-d 'partner_id=apidoc' \
-d 'sign=12540FB4CD955F5C3F886411ADDCAB2E' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-25+16%3A42%3A52' \
-d 'v=2.0' \
-d 'check_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAlscCrmCustomerCheckppwRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.check_request=""
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.customer.checkppw");
add_param(pRequest,"check_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('alibaba.alsc.crm.customer.checkppw', {
'check_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})