商旅火车票结算记账查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenIsvBillSettlementSearchRq | 可选 | 请求入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResultSupport | result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripCorpopBtriptrainBillsettlementQueryRequest req = new AlitripBtripCorpopBtriptrainBillsettlementQueryRequest(); AlitripBtripCorpopBtriptrainBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq obj1 = new AlitripBtripCorpopBtriptrainBillsettlementQueryRequest.OpenIsvBillSettlementSearchRq(); obj1.setCorpId( "corp1" ); obj1.setPageSize(100L); obj1.setVersion(2L); obj1.setPageNo(1L); obj1.setCategory(1L); obj1.setPeriodStart( "2021-10-01" ); obj1.setPeriodEnd( "2021-10-02" ); req.setRq(obj1); AlitripBtripCorpopBtriptrainBillsettlementQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | < alitrip_btrip_corpop_btriptrain_billsettlement_query_response > < result > < success >true</ success > < module > < corp_id >aliba2342343423234234</ corp_id > < total_num >1542</ total_num > < data_list > < open_isv_bill_settlement_btrip_train_rs > < traveler_name >张三</ traveler_name > < refund_fee >0</ refund_fee > < dept_station >沈阳北</ dept_station > < arr_date >2021-10-14</ arr_date > < train_type >高铁</ train_type > < order_id >23432692343243432</ order_id > < dept_time >09:44</ dept_time > < department_id >23423432</ department_id > < train_no >G906</ train_no > < change_fee >23.0</ change_fee > < primary_id >4740293</ primary_id > < over_apply_id >534545345</ over_apply_id > < apply_id >103189557</ apply_id > < seat_type >二等座</ seat_type > < ticket_no >2115242342342424067354</ ticket_no > < booker_id >al_xinuan.zsy</ booker_id > < project_code >2345235435</ project_code > < cascade_department >张三事业群-营运部-北方营运大区</ cascade_department > < order_price >350</ order_price > < run_time >2时46分</ run_time > < cost_center_number >T85</ cost_center_number > < seat_no >004F</ seat_no > < department >北方营运大区</ department > < invoice_title >张三有限公司</ invoice_title > < service_fee >23.0</ service_fee > < settlement_type >2</ settlement_type > < ticket_price >350</ ticket_price > < coupon >0</ coupon > < arr_station >北京朝阳</ arr_station > < cost_center >张三集团</ cost_center > < alipay_trade_no >2021123432260</ alipay_trade_no > < settlement_fee >350</ settlement_fee > < index >4740293</ index > < book_time >2021-10-08 23:38:55</ book_time > < booker_name >张三</ booker_name > < fee_type >6001</ fee_type > < traveler_id >al_xinuan.zsy</ traveler_id > < capital_direction >1</ capital_direction > < settlement_time >2021-10-08 23:39:01</ settlement_time > < project_name >张三-张三制线-公共</ project_name > < arr_time >12:30</ arr_time > < dept_date >2021-10-14</ dept_date > < status >1</ status > < booker_job_no >234342332</ booker_job_no > < traveler_job_no >2423432423432</ traveler_job_no > < voucher_type >11</ voucher_type > < bill_record_time >2021-10-12 13:51:43</ bill_record_time > < settlement_grant_fee >4.56</ settlement_grant_fee > < remark >线下改签</ remark > < coach_no >01</ coach_no > < short_ticket_no >EH2234567</ short_ticket_no > < apply_extend_field >{"cost_center":"成本中心"}</ apply_extend_field > </ open_isv_bill_settlement_btrip_train_rs > </ data_list > < category >6</ category > < period_start >2021-10-13</ period_start > < period_end >2021-10-14</ period_end > </ module > < result_code >0</ result_code > < result_msg >成功</ result_msg > </ result > </ alitrip_btrip_corpop_btriptrain_billsettlement_query_response > |
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 > |
错误码 | 错误描述 | 解决方案 |
---|