TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PaimaiPmpIdentifyApplyDoidentifyRequest req = new PaimaiPmpIdentifyApplyDoidentifyRequest();
PaimaiPmpIdentifyApplyDoidentifyRequest.StartIdentifyTopapiReq obj1 = new PaimaiPmpIdentifyApplyDoidentifyRequest.StartIdentifyTopapiReq();
obj1.setSubBizOrderId(831839181389L);
obj1.setApplyId(31311L);
obj1.setInstitutionId(31930180318L);
req.setStartIdentifyTopapiReq(obj1);
PaimaiPmpIdentifyApplyDoidentifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
PaimaiPmpIdentifyApplyDoidentifyRequest req = new PaimaiPmpIdentifyApplyDoidentifyRequest();
PaimaiPmpIdentifyApplyDoidentifyRequest.StartIdentifyTopapiReqDomain obj1 = new PaimaiPmpIdentifyApplyDoidentifyRequest.StartIdentifyTopapiReqDomain();
obj1.SubBizOrderId = 831839181389L;
obj1.ApplyId = 31311L;
obj1.InstitutionId = 31930180318L;
req.StartIdentifyTopapiReq_ = obj1;
PaimaiPmpIdentifyApplyDoidentifyResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new PaimaiPmpIdentifyApplyDoidentifyRequest;
$start_identify_topapi_req = new StartIdentifyTopapiReq;
$start_identify_topapi_req->sub_biz_order_id="831839181389";
$start_identify_topapi_req->apply_id="31311";
$start_identify_topapi_req->institution_id="31930180318";
$req->setStartIdentifyTopapiReq(json_encode($start_identify_topapi_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=taobao.paimai.pmp.identify.apply.doidentify' \
-d 'partner_id=apidoc' \
-d 'sign=194A7E9847D327CD9D69BFA4AC305719' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-04+00%3A04%3A56' \
-d 'v=2.0' \
-d 'start_identify_topapi_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.PaimaiPmpIdentifyApplyDoidentifyRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.start_identify_topapi_req="数据结构示例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,"taobao.paimai.pmp.identify.apply.doidentify");
add_param(pRequest,"start_identify_topapi_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('taobao.paimai.pmp.identify.apply.doidentify', {
'start_identify_topapi_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})