文档中心 > API类目 > 智慧园区API

alibaba.campus.device.openapi.feedbackeventinfo (IVS事件处理反馈接口)

提供给第三方ISV的的事件信息处理反馈的接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 WorkBenchContext 必须 系统上下文
  • └ company_id
  • Number
  • 可选
  • 10000
  • 公司id
  • └ campus_id
  • Number
  • 必须
  • 100001
  • 园区id
param1 EventInfoApiDto 必须 请求封装类
  • └ event_time
  • Date
  • 必须
  • 2018-02-05 10:18:03
  • 事件时间
  • └ event_info_id
  • Number
  • 必须
  • 560
  • 事件信息ID

响应参数

名称 类型 示例值 描述
result BaseResult result
  • └ request_id
  • String
  • null
  • requestId
  • └ error_code
  • String
  • 200
  • 错误码
  • └ error_msg
  • String
  • success
  • 错误信息
  • └ success
  • Boolean
  • true
  • 调用信息
  • └ error_level
  • String
  • null
  • 错误等级

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest req = new AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest();
AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest.WorkBenchContext obj1 = new AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest.WorkBenchContext();
obj1.setCompanyId(10000L);
obj1.setCampusId(100001L);
req.setParam0(obj1);
AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest.EventInfoApiDto obj2 = new AlibabaCampusDeviceOpenapiFeedbackeventinfoRequest.EventInfoApiDto();
obj2.setEventTime(StringUtils.parseDateTime("2018-02-05 10:18:03"));
obj2.setEventInfoId(560L);
req.setParam1(obj2);
AlibabaCampusDeviceOpenapiFeedbackeventinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_campus_device_openapi_feedbackeventinfo_response>
    <result>
        <request_id>null</request_id>
        <error_code>200</error_code>
        <error_msg>success</error_msg>
        <success>true</success>
        <error_level>null</error_level>
    </result>
</alibaba_campus_device_openapi_feedbackeventinfo_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

返回
顶部