taobao.top.topadmin.testhelloworld (打印HelloWorld)

打印HelloWorld

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
hello_req_dto HelloReqDto 可选 111
  • └ id_input
  • Number
  • 可选
  • 1
  • 111
  • └ price_double_input
  • Number
  • 可选
  • 2.0
  • 111
  • └ any_word
  • String
  • 可选
  • ss
  • 111
  • └ price_big_input
  • String
  • 可选
  • 2.0
  • 111
param1 Boolean 可选 true 111

响应参数

名称 类型 示例值 描述
result HelloRespDto 111
  • └ id
  • Number
  • 1
  • 111
success1 Boolean true 111
error_code1 Number 0 111
error_msg1 String success 111

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TopTopadminTesthelloworldRequest req = new TopTopadminTesthelloworldRequest();
TopTopadminTesthelloworldRequest.HelloReqDto obj1 = new TopTopadminTesthelloworldRequest.HelloReqDto();
obj1.setIdInput(1L);
obj1.setPriceDoubleInput(2.0L);
obj1.setAnyWord("ss");
obj1.setPriceBigInput("2.0");
req.setHelloReqDto(obj1);
req.setParam1(true);
TopTopadminTesthelloworldResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<top_topadmin_testhelloworld_response>
    <result>
        <id>1</id>
    </result>
    <success1>true</success1>
    <error_code1>0</error_code1>
    <error_msg1>success</error_msg1>
</top_topadmin_testhelloworld_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

返回
顶部