文档中心 > API类目 > 新零售供应链API

alibaba.ascp.industry.ecology.delivery.intercept (阿里巴巴.行业.三方揽配.拦截)

阿里巴巴.行业.三方揽配.拦截

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
wds_collect_delivery_intercept_request WdsCollectDeliveryInterceptRequest 必须 请求对象
  • └ seller_order_code
  • String
  • 必须
  • 123456
  • 商家单号
  • └ reason
  • String
  • 可选
  • 拦截原因
  • 拦截原因
  • └ contact
  • String
  • 必须
  • 某某某
  • 联系人姓名
  • └ mobile
  • String
  • 必须
  • 123
  • 联系人电话
  • └ province
  • String
  • 必须
  • 浙江省
  • └ city
  • String
  • 可选
  • 杭州市
  • └ area
  • String
  • 可选
  • 余杭区
  • └ address
  • String
  • 必须
  • 五常街道xxx
  • 详细地址

响应参数

名称 类型 示例值 描述
result ResultWrapper 返回对象
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • └ error_message
  • String
  • 服务异常
  • 错误信息
  • └ error_code
  • String
  • 15
  • 错误码
  • data
  • Data
  • 返回对象
  • └ success
  • Boolean
  • true
  • 拦截是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustryEcologyDeliveryInterceptRequest req = new AlibabaAscpIndustryEcologyDeliveryInterceptRequest();
AlibabaAscpIndustryEcologyDeliveryInterceptRequest.WdsCollectDeliveryInterceptRequest obj1 = new AlibabaAscpIndustryEcologyDeliveryInterceptRequest.WdsCollectDeliveryInterceptRequest();
obj1.setSellerOrderCode("123456");
obj1.setReason("拦截原因");
obj1.setContact("某某某");
obj1.setMobile("123");
obj1.setProvince("浙江省");
obj1.setCity("杭州市");
obj1.setArea("余杭区");
obj1.setAddress("五常街道xxx");
req.setWdsCollectDeliveryInterceptRequest(obj1);
AlibabaAscpIndustryEcologyDeliveryInterceptResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_industry_ecology_delivery_intercept_response>
    <result>
        <success>true</success>
        <error_message>服务异常</error_message>
        <error_code>15</error_code>
        <data>
            <success>true</success>
        </data>
    </result>
</alibaba_ascp_industry_ecology_delivery_intercept_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

返回
顶部