TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest req = new AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest();
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest.DeviceLinkInfoParam obj1 = new AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest.DeviceLinkInfoParam();
obj1.setRequestId("''");
obj1.setUid("DARUNFA");
obj1.setDeviceId("aa:a6:08:55:b6:66");
obj1.setAppCode("dvdevops");
obj1.setUmidToken("xxxxx");
obj1.setUmidType("idot");
obj1.setFunction("''");
obj1.setDeviceProductSku("11");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest req = new AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest();
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest.DeviceLinkInfoParamDomain obj1 = new AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest.DeviceLinkInfoParamDomain();
obj1.RequestId = "''";
obj1.Uid = "DARUNFA";
obj1.DeviceId = "aa:a6:08:55:b6:66";
obj1.AppCode = "dvdevops";
obj1.UmidToken = "xxxxx";
obj1.UmidType = "idot";
obj1.Function = "''";
obj1.DeviceProductSku = "11";
req.Param_ = obj1;
AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest;
$param = new DeviceLinkInfoParam;
$param->request_id="''";
$param->uid="DARUNFA";
$param->device_id="aa:a6:08:55:b6:66";
$param->app_code="dvdevops";
$param->umid_token="xxxxx";
$param->umid_type="idot";
$param->function="''";
$param->device_product_sku="11";
$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.security.deepvision.proxy.device.linkinfo.get' \
-d 'partner_id=apidoc' \
-d 'sign=ADEDFBE7BB79FEBEA3D9A493D1AA9ACB' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-09-22+23%3A03%3A13' \
-d 'v=2.0' \
-d 'param=%27%27'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaSecurityDeepvisionProxyDeviceLinkinfoGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.param="''"
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.security.deepvision.proxy.device.linkinfo.get");
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.security.deepvision.proxy.device.linkinfo.get', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})