TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaLegalNewdraftstandpointQueryRequest req = new AlibabaLegalNewdraftstandpointQueryRequest();
req.setBusiId("1111");
req.setPageNum(1L);
req.setPageSize(10L);
req.setInputSystemCode("Vmock");
AlibabaLegalNewdraftstandpointQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaLegalNewdraftstandpointQueryRequest req = new AlibabaLegalNewdraftstandpointQueryRequest();
req.BusiId = "1111";
req.PageNum = 1L;
req.PageSize = 10L;
req.InputSystemCode = "Vmock";
AlibabaLegalNewdraftstandpointQueryResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaLegalNewdraftstandpointQueryRequest;
$req->setBusiId("1111");
$req->setPageNum("1");
$req->setPageSize("10");
$req->setInputSystemCode("Vmock");
$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.legal.newdraftstandpoint.query' \
-d 'partner_id=apidoc' \
-d 'sign=EF104C366EA8D19B924B9E107979E063' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-26+22%3A20%3A54' \
-d 'v=2.0' \
-d 'busi_id=1111' \
-d 'input_system_code=Vmock' \
-d 'page_num=1' \
-d 'page_size=10'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaLegalNewdraftstandpointQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.busi_id="1111"
req.page_num=1
req.page_size=10
req.input_system_code="Vmock"
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.legal.newdraftstandpoint.query");
add_param(pRequest,"busi_id","1111");
add_param(pRequest,"page_num","1");
add_param(pRequest,"page_size","10");
add_param(pRequest,"input_system_code","Vmock");
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.legal.newdraftstandpoint.query', {
'busi_id':'1111',
'page_num':'1',
'page_size':'10',
'input_system_code':'Vmock'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})