alitrip.btrip.supplychain.vacation.suborder.notify (商旅度假-子订单-供应商通知商旅)

商旅度假-子订单-供应商通知商旅

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
vacation_sub_order_notify_request VacationSubOrderNotifyRequest 必须 子订单通知参数
  • └ btrip_sub_order_id
  • String
  • 必须
  • 10120312414
  • 商旅子订单id
  • └ btrip_order_id
  • String
  • 必须
  • 1231451515
  • 商旅订单id
  • └ notify_type
  • Number
  • 必须
  • 200
  • 通知类型,遵循商旅通知事件枚举
  • └ notify_message
  • String
  • 可选
  • USER_PAY_SUCCESS
  • 通知信息
  • └ time_stamp
  • Number
  • 必须
  • 1231451515
  • 通知时间,毫秒时间戳

响应参数

名称 类型 示例值 描述
result_success Boolean true 请求是否成功
result_code String 200 结果码,200代表成功,其他失败
result_msg String Invalid Params 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBtripSupplychainVacationSuborderNotifyRequest req = new AlitripBtripSupplychainVacationSuborderNotifyRequest();
AlitripBtripSupplychainVacationSuborderNotifyRequest.VacationSubOrderNotifyRequest obj1 = new AlitripBtripSupplychainVacationSuborderNotifyRequest.VacationSubOrderNotifyRequest();
obj1.setBtripSubOrderId("10120312414");
obj1.setBtripOrderId("1231451515");
obj1.setNotifyType(200L);
obj1.setNotifyMessage("USER_PAY_SUCCESS");
obj1.setTimeStamp(1231451515L);
req.setVacationSubOrderNotifyRequest(obj1);
AlitripBtripSupplychainVacationSuborderNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_btrip_supplychain_vacation_suborder_notify_response>
    <result_success>true</result_success>
    <result_code>200</result_code>
    <result_msg>Invalid Params</result_msg>
</alitrip_btrip_supplychain_vacation_suborder_notify_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

返回
顶部