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

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

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
vacation_order_notify_request VacationOrderNotifyRequest 必须 通知参数
  • └ time_stamp
  • Number
  • 必须
  • 1231451515
  • 通知时间,毫秒时间戳
  • └ btrip_order_id
  • String
  • 必须
  • 12124151
  • 商旅订单id
  • └ notify_type
  • Number
  • 必须
  • 2
  • 通知类型,遵循商旅类型枚举
  • └ notify_message
  • String
  • 可选
  • 采购成功
  • 通知信息

响应参数

名称 类型 示例值 描述
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);
AlitripBtripSupplychainVacationOrderNotifyRequest req = new AlitripBtripSupplychainVacationOrderNotifyRequest();
AlitripBtripSupplychainVacationOrderNotifyRequest.VacationOrderNotifyRequest obj1 = new AlitripBtripSupplychainVacationOrderNotifyRequest.VacationOrderNotifyRequest();
obj1.setTimeStamp(1231451515L);
obj1.setBtripOrderId("12124151");
obj1.setNotifyType(2L);
obj1.setNotifyMessage("采购成功");
req.setVacationOrderNotifyRequest(obj1);
AlitripBtripSupplychainVacationOrderNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

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

返回
顶部