文档中心 > API类目 > 天猫校园共享前端类目

tmall.xiaoyuan.share.ride.on.shelf.check (车辆上架前置校验接口)

车辆上架前置校验接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 OnShelfCheckRequest 可选 数据
  • └ investor
  • String
  • 可选
  • z1
  • 资方
  • └ typical_provider
  • String
  • 可选
  • t1
  • tp商
  • └ campus_area_code
  • Number
  • 可选
  • 1
  • 校区

响应参数

名称 类型 示例值 描述
result Result 结果
  • └ code
  • String
  • 1
  • 代码
  • └ fail
  • String
  • false
  • 失败
  • └ msg
  • String
  • 13
  • 消息
  • └ page_num
  • String
  • 1
  • 页码
  • └ success
  • String
  • true
  • 成功
  • └ total_num
  • String
  • 12
  • 条数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallXiaoyuanShareRideOnShelfCheckRequest req = new TmallXiaoyuanShareRideOnShelfCheckRequest();
TmallXiaoyuanShareRideOnShelfCheckRequest.OnShelfCheckRequest obj1 = new TmallXiaoyuanShareRideOnShelfCheckRequest.OnShelfCheckRequest();
obj1.setInvestor("z1");
obj1.setTypicalProvider("t1");
obj1.setCampusAreaCode(1L);
req.setParam0(obj1);
TmallXiaoyuanShareRideOnShelfCheckResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_xiaoyuan_share_ride_on_shelf_check_response>
    <result>
        <code>1</code>
        <fail>false</fail>
        <msg>13</msg>
        <page_num>1</page_num>
        <success>true</success>
        <total_num>12</total_num>
    </result>
</tmall_xiaoyuan_share_ride_on_shelf_check_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

返回
顶部