注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 千牛接口

taobao.qianniu.cloudkefu.userproperty.get (获取用户自动回复信息)

获取用户自动回复信息:1-云端自动回复,2-客户端自动回复

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
user_property UserPropertyDo 用户设置的自动回复信息
  • └ account_id
  • Number
  • 123
  • 账号ID,可以是主帐号或者子帐号ID
  • └ auto_reply_type
  • Number
  • 1
  • 自动回复类型:1-云端自动回复,2-客户端自动回复
  • └ gmt_create
  • Date
  • 2015-01-19 10:46:30
  • 创建时间,暂无使用
  • └ gmt_modified
  • Date
  • 2015-01-19 10:46:30
  • 修改时间,暂无使用
  • └ id
  • Number
  • 123
  • 自增ID,暂无使用
  • └ main_account_id
  • Number
  • 123
  • 主帐号ID

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
QianniuCloudkefuUserpropertyGetRequest req = new QianniuCloudkefuUserpropertyGetRequest();
QianniuCloudkefuUserpropertyGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<qianniu_cloudkefu_userproperty_get_response>
    <user_property>
        <account_id>123</account_id>
        <auto_reply_type>1</auto_reply_type>
        <gmt_create>2015-01-19 10:46:30</gmt_create>
        <gmt_modified>2015-01-19 10:46:30</gmt_modified>
        <id>123</id>
        <main_account_id>123</main_account_id>
    </user_property>
</qianniu_cloudkefu_userproperty_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

返回
顶部