文档中心 > API类目 > 服务平台API

taobao.weike.performance.put (提交客服绩效接口)

提交客服绩效接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id Number 可选 6666 订单id
per_info_wrapper PerformanceInfoWrapper 可选 绩效数据封装类
  • └ has_bonus_config
  • Boolean
  • 可选
  • false
  • 是否有提成配置
  • performance_info_list
  • PerformanceInfoDTO []
  • 可选
  • 绩效数据列表
  • └ first_response_time
  • String
  • 可选
  • hello world
  • 首次相应时间
  • └ avg_last_online_time
  • String
  • 可选
  • hello world
  • 平均最后在线时间
  • └ avg_online_time_per_day
  • String
  • 可选
  • hello world
  • 平均日在线时长
  • └ conversion_rate_of_ser
  • String
  • 可选
  • hello world
  • 客服转化率
  • └ sales_quantity
  • String
  • 可选
  • hello world
  • 销售量
  • └ sales_amount
  • String
  • 可选
  • hello world
  • 销售额
  • └ total_online_time
  • String
  • 可选
  • hello world
  • 在线总时长
  • └ online_days
  • String
  • 可选
  • hello world
  • 上班天数
  • └ unit_price_of_ser
  • String
  • 可选
  • hello world
  • 客服客单价
  • └ response_rate
  • String
  • 可选
  • hello world
  • 回复率
  • └ sub_account_name
  • String
  • 可选
  • hello world
  • 子账号名字
  • └ avg_online_time
  • String
  • 可选
  • hello world
  • 平均上线时间
  • └ sales_bonus
  • String
  • 可选
  • hello world
  • 销售提成
  • └ avg_response_time
  • String
  • 可选
  • hello world
  • 平均响应时间
  • └ has_authorize
  • Boolean
  • 可选
  • false
  • 是否有授权
  • └ statistics_end_time
  • String
  • 可选
  • hello world
  • 统计结束时间
  • └ statistics_start_time
  • String
  • 可选
  • hello world
  • 统计开始时间

响应参数

名称 类型 示例值 描述
result Boolean true 返回结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WeikePerformancePutRequest req = new WeikePerformancePutRequest();
req.setId(6666L);
PerformanceInfoWrapper obj1 = new PerformanceInfoWrapper();
obj1.setHasBonusConfig(false);
List<PerformanceInfoDTO> list3 = new ArrayList<PerformanceInfoDTO>();
PerformanceInfoDTO obj4 = new PerformanceInfoDTO();
list3.add(obj4);
obj4.setFirstResponseTime("hello world");
obj4.setAvgLastOnlineTime("hello world");
obj4.setAvgOnlineTimePerDay("hello world");
obj4.setConversionRateOfSer("hello world");
obj4.setSalesQuantity("hello world");
obj4.setSalesAmount("hello world");
obj4.setTotalOnlineTime("hello world");
obj4.setOnlineDays("hello world");
obj4.setUnitPriceOfSer("hello world");
obj4.setResponseRate("hello world");
obj4.setSubAccountName("hello world");
obj4.setAvgOnlineTime("hello world");
obj4.setSalesBonus("hello world");
obj4.setAvgResponseTime("hello world");
obj1.setPerformanceInfoList(list3);
obj1.setHasAuthorize(false);
obj1.setStatisticsEndTime("hello world");
obj1.setStatisticsStartTime("hello world");
req.setPerInfoWrapper(obj1);
WeikePerformancePutResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<weike_performance_put_response>
    <result>true</result>
</weike_performance_put_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

返回
顶部