文档中心 > API类目 > 天猫供应链

alibaba.ascp.industry.inquiry.extracharge.cancel (送货入户并安装服务商取消增加费用)

送货入户并安装服务商取消增加费用

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
oms_cancel_extra_charge_parameter OmsCancelExtraChargeParameter 必须
  • 默认值:{}
  • 请求对象
    • └ wds_coordination_order_id
    • String
    • 必须
    • BFC123
    • BFC单号
    • └ extra_charge_service_order_id
    • String
    • 必须
    • 11111
    • 增加费用服务调整单ID
    • └ desc
    • String
    • 可选
    • 1
    • 描述
    • └ feature
    • String
    • 可选
    • {"test":"xx"}
    • 扩展字段
    • └ seller_id
    • String
    • 必须
    • 222222
    • 商家id

    响应参数

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

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaAscpIndustryInquiryExtrachargeCancelRequest req = new AlibabaAscpIndustryInquiryExtrachargeCancelRequest();
    AlibabaAscpIndustryInquiryExtrachargeCancelRequest.OmsCancelExtraChargeParameter obj1 = new AlibabaAscpIndustryInquiryExtrachargeCancelRequest.OmsCancelExtraChargeParameter();
    obj1.setWdsCoordinationOrderId("BFC123");
    obj1.setExtraChargeServiceOrderId("11111");
    obj1.setDesc("1");
    obj1.setFeature("{\"test\":\"xx\"}");
    obj1.setSellerId("222222");
    req.setOmsCancelExtraChargeParameter(obj1);
    AlibabaAscpIndustryInquiryExtrachargeCancelResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

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

    返回
    顶部