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

alibaba.ascp.industry.launch.extra.charge (阿里巴巴.行业.增加费用.服务商发起)

阿里巴巴.行业.增加费用.服务商发起

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
oms_launch_extra_charge_parameter OmsLaunchExtraChargeParameter 必须 请求对象
  • └ wds_coordination_order_id
  • String
  • 必须
  • BFC123
  • BFC单号
  • └ price
  • Number
  • 必须
  • 12345
  • 发起调整金额 单位:分
  • └ type
  • Number
  • 必须
  • 1
  • 原因类型: 1为服务费用 2为二次上门费用 3为代付费用 4为配件费用 5为拆旧费用 6为维修费用 7为空跑费用 8为其它费用
  • └ desc
  • String
  • 可选
  • 1
  • 描述
  • └ feature
  • String
  • 可选
  • {"test":"xx"}
  • 扩展字段

响应参数

名称 类型 示例值 描述
result ResultWrapper 返回对象
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • data
  • Data
  • 12345
  • 返回对象
  • └ extra_charge_service_order_id
  • String
  • "11111"
  • 增加费用服务调整单ID
  • └ feature
  • String
  • {"test":"xxx"}
  • 扩展字段
  • └ error_message
  • String
  • 服务异常
  • 错误信息
  • └ error_code
  • String
  • 15
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustryLaunchExtraChargeRequest req = new AlibabaAscpIndustryLaunchExtraChargeRequest();
AlibabaAscpIndustryLaunchExtraChargeRequest.OmsLaunchExtraChargeParameter obj1 = new AlibabaAscpIndustryLaunchExtraChargeRequest.OmsLaunchExtraChargeParameter();
obj1.setWdsCoordinationOrderId("BFC123");
obj1.setPrice(12345L);
obj1.setType(1L);
obj1.setDesc("1");
obj1.setFeature("{\"test\":\"xx\"}");
req.setOmsLaunchExtraChargeParameter(obj1);
AlibabaAscpIndustryLaunchExtraChargeResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_industry_launch_extra_charge_response>
    <result>
        <success>true</success>
        <data>
            <extra_charge_service_order_id>&quot;11111&quot;</extra_charge_service_order_id>
            <feature>{&quot;test&quot;:&quot;xxx&quot;}</feature>
        </data>
        <error_message>服务异常</error_message>
        <error_code>15</error_code>
    </result>
</alibaba_ascp_industry_launch_extra_charge_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

返回
顶部