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

taobao.nps.indexs.get (新灯塔服务指标数据)

千牛卖家中心首页改版新版上需要CCO提供新的新灯塔指标服务数据接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
service_name String 可选 getTaobaoNpsIndex
  • 默认值:getTaobaoNpsIndex
  • TQL 服务名
    bizdate String 可选 20190401 业务日期

    响应参数

    名称 类型 示例值 描述
    result Result 1 接口返回model
    • result_datas
    • TaobaoNpsIndexVo
    • 2
    • hh
    • └ ww_reply_rate_30d
    • String
    • 3
    • 旺旺回复率
    • └ got_intime_rate
    • String
    • 4
    • 揽收及时率
    • └ dsr_desc_score_30d
    • String
    • 5
    • 商品DSR
    • └ tk_as_uncsin_time_avg_len_30d
    • String
    • 6
    • 仅退款自主完结时长
    • └ appeal_as_slr_dspt_rate_30d
    • String
    • 7
    • 纠纷退款率
    • └ thtk_as_uncsin_time_avg_len_30d
    • String
    • 8
    • 退货退款自主完结时长
    • └ error_info
    • String
    • xxx
    • 错误信息
    • └ error_code
    • Number
    • "isv.invalid-parameter"
    • 错误码
    • └ success
    • Boolean
    • false
    • 是否成功

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    NpsIndexsGetRequest req = new NpsIndexsGetRequest();
    req.setServiceName("getTaobaoNpsIndex");
    req.setBizdate("20190401");
    NpsIndexsGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <nps_indexs_get_response>
        <result>
            <result_datas>
                <ww_reply_rate_30d>3</ww_reply_rate_30d>
                <got_intime_rate>4</got_intime_rate>
                <dsr_desc_score_30d>5</dsr_desc_score_30d>
                <tk_as_uncsin_time_avg_len_30d>6</tk_as_uncsin_time_avg_len_30d>
                <appeal_as_slr_dspt_rate_30d>7</appeal_as_slr_dspt_rate_30d>
                <thtk_as_uncsin_time_avg_len_30d>8</thtk_as_uncsin_time_avg_len_30d>
            </result_datas>
            <error_info>xxx</error_info>
            <error_code>&quot;isv.invalid-parameter&quot;</error_code>
            <success>false</success>
        </result>
    </nps_indexs_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

    返回
    顶部