文档中心 > API类目 > TOP解决方案前台

taobao.zhihan.share.struct.test (共享数据结构测试)

共享数据结构测试

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_one String 可选 111 11
param_two String 可选 22 22

响应参数

名称 类型 示例值 描述
out_one String 11 11
out_two String 22 22
out_three String 33 33
out_four String 44 44
object_one Data 对象
  • └ ob_one
  • String
  • 111
  • 111
  • └ ob_two
  • String
  • 222
  • 222
  • └ ob_three
  • String
  • 333
  • 33

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ZhihanShareStructTestRequest req = new ZhihanShareStructTestRequest();
req.setParamOne("111");
req.setParamTwo("22");
ZhihanShareStructTestResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<zhihan_share_struct_test_response>
    <out_one>11</out_one>
    <out_two>22</out_two>
    <out_three>33</out_three>
    <out_four>44</out_four>
    <object_one>
        <ob_one>111</ob_one>
        <ob_two>222</ob_two>
        <ob_three>333</ob_three>
    </object_one>
</zhihan_share_struct_test_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

返回
顶部