文档中心 > API类目 > 五道口API

taobao.rex.iot.skyeye.user.guard.functions.get (天眼安掌宝用户获取防损功能点)

天眼安掌宝用户获取防损功能点

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
field_id String 必须 CSDRF01001 门店编码
tenant_code String 必须 CSDARUNFA 租户编码
token String 必须 3pNscRjymmjAh_c-tahfHHMxjjU 登陆session

响应参数

名称 类型 示例值 描述
result MtopResponse {} 结果
  • └ success
  • Boolean
  • false
  • 是否成功
  • function_list
  • FunctionDTO []
  • []
  • 功能点列表
  • └ function_name
  • String
  • 自然人档案管理
  • 功能点名称
  • └ function_url
  • String
  • https://portalpro.hemaos.com/pages/lossPrevention/personManagement.html?ouCode=CSDRF01001
  • 功能点url
  • └ msg_info
  • String
  • 服务器错误
  • 错误信息描述
  • └ msg_code
  • String
  • BIZ_ERROR
  • 错误信息编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RexIotSkyeyeUserGuardFunctionsGetRequest req = new RexIotSkyeyeUserGuardFunctionsGetRequest();
req.setFieldId("CSDRF01001");
req.setTenantCode("CSDARUNFA");
req.setToken("3pNscRjymmjAh_c-tahfHHMxjjU");
RexIotSkyeyeUserGuardFunctionsGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rex_iot_skyeye_user_guard_functions_get_response>
    <result>
        <success>false</success>
        <function_list>
            <function_d_t_o>
                <function_name>自然人档案管理</function_name>
                <function_url>https://portalpro.hemaos.com/pages/lossPrevention/personManagement.html?ouCode=CSDRF01001</function_url>
            </function_d_t_o>
        </function_list>
        <msg_info>服务器错误</msg_info>
        <msg_code>BIZ_ERROR</msg_code>
    </result>
</rex_iot_skyeye_user_guard_functions_get_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

返回
顶部