TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest();
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.NoticeConfigSubmitParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.NoticeConfigSubmitParam();
obj1.setAppAlarm(false);
obj1.setDeduplicationDuration(1L);
obj1.setDingTalkAlarm(false);
List<AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVO> list3 = new ArrayList<AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVO>();
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVO obj4 = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVO();
list3.add(obj4);
obj4.setPhoneNumber("1");
obj4.setAccountNo("1");
obj4.setName("1");
obj4.setSource("1");
obj1.setAlarmPhones(list3);
obj1.setApiSign("1");
obj1.setDeduplication(false);
obj1.setTenantCode("1");
obj1.setLoginNo("1");
obj1.setToken("1");
obj1.setDeduplicationType("1");
obj1.setRequestId("1");
obj1.setLoginName("1");
obj1.setPhoneAlarm(false);
obj1.setPoiId("1");
obj1.setLoginMobile("1");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest();
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.NoticeConfigSubmitParamDomain obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.NoticeConfigSubmitParamDomain();
obj1.AppAlarm = false;
obj1.DeduplicationDuration = 1L;
obj1.DingTalkAlarm = false;
List<AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVODomain> list3 = new List<AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVODomain>();
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVODomain obj4 = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest.PhoneAlarmVODomain();
list3.Add(obj4);
obj4.PhoneNumber = "1";
obj4.AccountNo = "1";
obj4.Name = "1";
obj4.Source = "1";
obj1.AlarmPhones= list3;
obj1.ApiSign = "1";
obj1.Deduplication = false;
obj1.TenantCode = "1";
obj1.LoginNo = "1";
obj1.Token = "1";
obj1.DeduplicationType = "1";
obj1.RequestId = "1";
obj1.LoginName = "1";
obj1.PhoneAlarm = false;
obj1.PoiId = "1";
obj1.LoginMobile = "1";
req.Param_ = obj1;
AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest;
$param = new NoticeConfigSubmitParam;
$param->app_alarm="false";
$param->deduplication_duration="1";
$param->ding_talk_alarm="false";
$alarm_phones = new PhoneAlarmVO;
$alarm_phones->phone_number="1";
$alarm_phones->account_no="1";
$alarm_phones->name="1";
$alarm_phones->source="1";
$param->alarm_phones = $alarm_phones;
$param->api_sign="1";
$param->deduplication="false";
$param->tenant_code="1";
$param->login_no="1";
$param->token="1";
$param->deduplication_type="1";
$param->request_id="1";
$param->login_name="1";
$param->phone_alarm="false";
$param->poi_id="1";
$param->login_mobile="1";
$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.smartmonitor.noticeconfig.submit' \
-d 'partner_id=apidoc' \
-d 'sign=7B0093ABB362958377FAFCD0CD24AE5C' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-08+03%3A25%3A53' \
-d 'v=2.0' \
-d 'param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaSecurityDeepvisionProxySmartmonitorNoticeconfigSubmitRequest(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.security.deepvision.proxy.smartmonitor.noticeconfig.submit");
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.smartmonitor.noticeconfig.submit', {
'param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})