TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest req = new AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest();
AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest.HeatMapRequest obj1 = new AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest.HeatMapRequest();
obj1.setTenantCode("tenantCode");
obj1.setFieldId("field");
obj1.setHierachNodeId("hierachNodeId");
obj1.setDate("date");
obj1.setHour(12L);
obj1.setTimeSegment(12L);
obj1.setType(2L);
obj1.setBizId("bizId");
req.setParam(obj1);
AlibabaDeepvisionHeatmapDecathlonFieldQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest req = new AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest();
AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest.HeatMapRequestDomain obj1 = new AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest.HeatMapRequestDomain();
obj1.TenantCode = "tenantCode";
obj1.FieldId = "field";
obj1.HierachNodeId = "hierachNodeId";
obj1.Date = "date";
obj1.Hour = 12L;
obj1.TimeSegment = 12L;
obj1.Type = 2L;
obj1.BizId = "bizId";
req.Param_ = obj1;
AlibabaDeepvisionHeatmapDecathlonFieldQueryResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest;
$param = new HeatMapRequest;
$param->tenant_code="tenantCode";
$param->field_id="field";
$param->hierach_node_id="hierachNodeId";
$param->date="date";
$param->hour="12";
$param->time_segment="12";
$param->type="2";
$param->biz_id="bizId";
$req->setParam(json_encode($param));
$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.deepvision.heatmap.decathlon.field.query' \
-d 'partner_id=apidoc' \
-d 'sign=156705C950FABFD33EC7ADF2ECB06772' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-16+14%3A54%3A08' \
-d 'v=2.0' \
-d 'param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDeepvisionHeatmapDecathlonFieldQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param="数据结构示例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.deepvision.heatmap.decathlon.field.query");
add_param(pRequest,"param","数据结构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.deepvision.heatmap.decathlon.field.query', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})