【发布时间】:2016-06-10 08:08:09
【问题描述】:
我目前正在使用带有 Netweaver 的 Camel 从以下位置请求信息: https://sapes4.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/FlightCollection/?sap-ds-debug=true
通过 Beans 和以下代码:
"FlightCollection(carrid='AA',connid='0017',fldate=datetime'2016-05-05T00:00:00')"
从上面的链接请求信息。
我想知道是否有任何方法可以通过使用相同的原则(不使用 JavaScript)来请求具有 fromCity/toCity 的航班的信息
编辑:好的,所以我想出了如何编写语法正确的请求...
https://sapes4.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/GetAvailableFlights?cityfrom='berlin'&cityto='FRANKFURT'&fromdate=datetime'2015-10-31T01%3A00%3A00'&todate=datetime'2015-0-31T11%3A00%3A00'
但是,我没有得到任何数据。有什么建议吗?
【问题讨论】:
-
你确定 MS Dynamics Nav(ision) 与这个问题有关吗?
-
不,它没有。对不起,我想写 netweaver。