国际火车票商家占座接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
agent_order_id | String | 必须 | 12fax | 代理商订单号 | |
apply_id | Number | 必须 | 1111 | 申请单号 | |
tp_order_id | Number | 必须 | 2222 | 订单号 | |
refund_reason | String | 必须 | 未出到票 | 退票申请原因 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultSet | 响应结果 | |
|
1 2 3 4 5 6 7 8 | QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret); AlitripRailTradeRefundapplyRequest req = new AlitripRailTradeRefundapplyRequest(); req.setAgentOrderId( "12fax" ); req.setApplyId(1111L); req.setTpOrderId(2222L); req.setRefundReason( "未出到票" ); AlitripRailTradeRefundapplyResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < result > < err_msg >系统异常</ err_msg > < err_code >sys-error</ err_code > < success >true</ success > </ result > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|