文档中心 > API类目 > 直通车API

taobao.universalbp.diagnose.highlight (计划总诊断计划数)

计划总诊断计划数

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
top_service_context TopServiceContext 必须 topServiceContext
  • └ biz_code
  • String
  • 必须
  • xxxxx
  • api业务线编码

响应参数

名称 类型 示例值 描述
result TopResult 结果体
  • info
  • TopInfo
  • 请求系统信息
  • └ ok
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • 参数错误
  • 错误信息
  • └ error_code
  • String
  • xxxxx
  • 错误编码
  • diagnose_highlight_v_o_top_bulk_data
  • TopBulkData
  • 结果集
  • diagnose_highlight_v_o_list
  • DiagnoseHighlightVo []
  • 批量结果集
  • └ fault_code
  • String
  • CAMPAIGN_FINISH
  • 标识
  • └ num
  • Number
  • 377
  • 数量
  • └ fault_name
  • String
  • 投放中
  • 名称
  • └ count
  • Number
  • 1
  • 数量

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UniversalbpDiagnoseHighlightRequest req = new UniversalbpDiagnoseHighlightRequest();
UniversalbpDiagnoseHighlightRequest.TopServiceContext obj1 = new UniversalbpDiagnoseHighlightRequest.TopServiceContext();
obj1.setBizCode("xxxxx");
req.setTopServiceContext(obj1);
UniversalbpDiagnoseHighlightResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<universalbp_diagnose_highlight_response>
    <result>
        <info>
            <ok>true</ok>
            <message>参数错误</message>
            <error_code>xxxxx</error_code>
        </info>
        <diagnose_highlight_v_o_top_bulk_data>
            <diagnose_highlight_v_o_list>
                <diagnose_highlight_vo>
                    <fault_code>CAMPAIGN_FINISH</fault_code>
                    <num>377</num>
                    <fault_name>投放中</fault_name>
                </diagnose_highlight_vo>
            </diagnose_highlight_v_o_list>
            <count>1</count>
        </diagnose_highlight_v_o_top_bulk_data>
    </result>
</universalbp_diagnose_highlight_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

返回
顶部