注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.idle.yushi.btob.tongshou.auction.batch.end (鱼市B2B同售in,服务商批量同步暗拍结果)

鱼市B2B同售in,服务商批量同步暗拍结果

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 TenderItemBatchEndCmd 可选 请求参数
  • └ schedule
  • String
  • 必须
  • 2024101101
  • 场次
  • └ total
  • Number
  • 可选
  • 100
  • 总数
  • └ page_num
  • Number
  • 可选
  • 1
  • 页码
  • └ page_size
  • Number
  • 可选
  • 20
  • 页面大小
  • └ content
  • String
  • 可选
  • [ { "itemId": "1111", "orderId": "1111", "schedule": "20241101", "xyDealType": "NOT_DEAL", "isvDealType": "NOT_DEAL" } ]
  • 同步内容

响应参数

名称 类型 示例值 描述
result CommonResult 返回结果
  • └ data
  • String
  • [ { "itemId": "1111", "orderId": "1111", "schedule": "20241101", "xyDealType": "NOT_DEAL", "isvDealType": "NOT_DEAL" } ]
  • 结果列表
  • └ success
  • Boolean
  • true
  • 请求成功
  • └ error_code
  • String
  • P_N_PARAM_ERROR
  • 异常编码
  • └ error_msg
  • String
  • schedule is null
  • 异常描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleYushiBtobTongshouAuctionBatchEndRequest req = new AlibabaIdleYushiBtobTongshouAuctionBatchEndRequest();
AlibabaIdleYushiBtobTongshouAuctionBatchEndRequest.TenderItemBatchEndCmd obj1 = new AlibabaIdleYushiBtobTongshouAuctionBatchEndRequest.TenderItemBatchEndCmd();
obj1.setSchedule("2024101101");
obj1.setTotal(100L);
obj1.setPageNum(1L);
obj1.setPageSize(20L);
obj1.setContent("[   {     \"itemId\": \"1111\",     \"orderId\": \"1111\",     \"schedule\": \"20241101\",     \"xyDealType\": \"NOT_DEAL\",     \"isvDealType\": \"NOT_DEAL\"   } ]");
req.setParam0(obj1);
AlibabaIdleYushiBtobTongshouAuctionBatchEndResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_yushi_btob_tongshou_auction_batch_end_response>
    <result>
        <data>[   {     &quot;itemId&quot;: &quot;1111&quot;,     &quot;orderId&quot;: &quot;1111&quot;,     &quot;schedule&quot;: &quot;20241101&quot;,     &quot;xyDealType&quot;: &quot;NOT_DEAL&quot;,     &quot;isvDealType&quot;: &quot;NOT_DEAL&quot;   } ]</data>
        <success>true</success>
        <error_code>P_N_PARAM_ERROR</error_code>
        <error_msg>schedule is null</error_msg>
    </result>
</alibaba_idle_yushi_btob_tongshou_auction_batch_end_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

返回
顶部