文档中心 > API类目 > 阿里影业云智API

taobao.lark.cinema.monitor.report (影城本地安全监控报送)

影城本地安全监控报送

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cinema_monitor_param CinemaMonitorParam 可选 基类参数
  • └ cinema_link_id
  • String
  • 可选
  • 888
  • 内码
  • └ second_class
  • String
  • 可选
  • soft_base_info
  • 二级分类
  • └ result
  • String
  • 可选
  • WARN
  • 告警标志
  • └ product_code
  • String
  • 可选
  • finixx
  • 产品编码
  • └ cinema_name
  • String
  • 可选
  • 影城名称
  • 影城名称
  • └ cinema_code
  • String
  • 必须
  • 88888888
  • 国家编码
  • └ topic
  • String
  • 必须
  • MONITOR_SOFT_EVENT
  • 一级分类
  • └ soft_code
  • String
  • 必须
  • POS 或 SERVICE
  • 软件类型
  • └ content
  • String
  • 必须
  • {"key":"value"}
  • 上报内容
  • └ task_id
  • String
  • 可选
  • 1001
  • 任务ID
  • └ gmt_create_time
  • Number
  • 可选
  • 1932132142321
  • 客户端发生时间

响应参数

名称 类型 示例值 描述
result Boolean true 结果
result_code String 200 结果码
result_msg String 成功 结果信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkCinemaMonitorReportRequest req = new LarkCinemaMonitorReportRequest();
LarkCinemaMonitorReportRequest.CinemaMonitorParam obj1 = new LarkCinemaMonitorReportRequest.CinemaMonitorParam();
obj1.setCinemaLinkId("888");
obj1.setSecondClass("soft_base_info");
obj1.setResult("WARN");
obj1.setProductCode("finixx");
obj1.setCinemaName("影城名称");
obj1.setCinemaCode("88888888");
obj1.setTopic("MONITOR_SOFT_EVENT");
obj1.setSoftCode("POS 或 SERVICE");
obj1.setContent("{\"key\":\"value\"}");
obj1.setTaskId("1001");
obj1.setGmtCreateTime(1932132142321L);
req.setCinemaMonitorParam(obj1);
LarkCinemaMonitorReportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_cinema_monitor_report_response>
    <result>true</result>
    <result_code>200</result_code>
    <result_msg>成功</result_msg>
</lark_cinema_monitor_report_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部