alibaba.interaction.im.assignsetting.query (询盘和IM接待设置数据接口提供数据给小满)

询盘和IM接待设置数据接口提供数据给小满

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
self_account_id Number 必须 12345 自己的账号ID

响应参数

名称 类型 示例值 描述
result ResultDTO 返回结果
  • └ success
  • Boolean
  • true
  • 成功标识
  • └ error_code
  • Number
  • 200
  • 错误码
  • └ error_msg
  • Number
  • ok
  • 错误消息
  • data
  • CompanyAssignInfo
  • 阿里询盘配置信息
  • └ assign_rule_type
  • String
  • product
  • 分配类型【product:按产品分配,area:按地区分配】
  • └ customer_first
  • Boolean
  • false
  • 是否开启客户第一分配
  • └ admin_auto_distribute
  • Boolean
  • false
  • 是否开启主账号轮流分配至子账号
  • sub_account_info_list
  • String []
  • 子账号列表
  • └ account_id
  • Number
  • 12345
  • 账号ID
  • └ account_type
  • String
  • manager
  • 账号类型
  • └ in_charge_area_count
  • Number
  • 10
  • 负责的国家和地区数量
  • └ nick_name
  • String
  • hellow
  • 账号名称
  • └ account_enable
  • Boolean
  • true
  • 账号是否正常
  • └ charge_auto_distribute
  • Boolean
  • true
  • 是否开启轮流分配账号

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaInteractionImAssignsettingQueryRequest req = new AlibabaInteractionImAssignsettingQueryRequest();
req.setSelfAccountId(12345L);
AlibabaInteractionImAssignsettingQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_interaction_im_assignsetting_query_response>
    <result>
        <success>true</success>
        <error_code>200</error_code>
        <error_msg>ok</error_msg>
        <data>
            <assign_rule_type>product</assign_rule_type>
            <customer_first>false</customer_first>
            <admin_auto_distribute>false</admin_auto_distribute>
            <sub_account_info_list>
                <string>
                    <account_id>12345</account_id>
                    <account_type>manager</account_type>
                    <in_charge_area_count>10</in_charge_area_count>
                    <nick_name>hellow</nick_name>
                    <account_enable>true</account_enable>
                    <charge_auto_distribute>true</charge_auto_distribute>
                </string>
            </sub_account_info_list>
        </data>
    </result>
</alibaba_interaction_im_assignsetting_query_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

返回
顶部