TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAliqinFcVoiceGetdetailRequest req = new AlibabaAliqinFcVoiceGetdetailRequest();
req.setCallId("123^123");
req.setQueryDate(153567892L);
req.setProdId(11010000138001L);
AlibabaAliqinFcVoiceGetdetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaAliqinFcVoiceGetdetailRequest req = new AlibabaAliqinFcVoiceGetdetailRequest();
req.CallId = "123^123";
req.QueryDate = 153567892L;
req.ProdId = 11010000138001L;
AlibabaAliqinFcVoiceGetdetailResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaAliqinFcVoiceGetdetailRequest;
$req->setCallId("123^123");
$req->setQueryDate("153567892");
$req->setProdId("11010000138001");
$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.aliqin.fc.voice.getdetail' \
-d 'partner_id=apidoc' \
-d 'sign=9FFF9153BB05484B05C8FDCD6ABF77B2' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-06+12%3A59%3A19' \
-d 'v=2.0' \
-d 'call_id=123%5E123' \
-d 'prod_id=11010000138001' \
-d 'query_date=153567892'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaAliqinFcVoiceGetdetailRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.call_id="123^123"
req.query_date=153567892
req.prod_id=11010000138001
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.aliqin.fc.voice.getdetail");
add_param(pRequest,"call_id","123^123");
add_param(pRequest,"query_date","153567892");
add_param(pRequest,"prod_id","11010000138001");
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.aliqin.fc.voice.getdetail', {
'call_id':'123^123',
'query_date':'153567892',
'prod_id':'11010000138001'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})