使用车队API在挪威进行通行费和通行费计算

问题描述

我正在使用https://fleet.ls.hereapi.com/2/calculateroute.json来计算挪威的包括通行费的路线。可以了但是,挪威有一个收费通行证,即AutopASS,我无法使用该参数进行计算。

我尝试过: ...&tollpass =自动通过 ...&tollpass =年度,自动通行证,EasyGO ...&tollpass =高级通行证,应答器,年度,Nr_of_Days,Nr_of_Months,SunPass,E-Z Pass,AutopASS,EasyGo

当将应答器设置在收费通行证中时,我会得到91欧元或88欧元。 使用以下命令:https://www.fjellinjen.no/privat/bompengekalkulator/我可以看到没有通行费通行证的费用是962挪威克朗,相当于91欧元。通行费通行费等于446挪威克朗,等于42欧元。

如何使用norwegian AutopASS获得通行费?

我已从以下链接删除了我的API密钥: https://fleet.ls.hereapi.com/2/calculateroute.json?waypoint0=59.08597,country;tollsys&mode=fastest;truck;traffic:disabled&length=17m&commercial=1&limitedWeight=40t&height=4m&currency=EUR&tollVehicleType=3&trailerType=2&trailersCount=1&vehicleNumberAxles=3&trailerNumberAxles=2&tollPass=AutoPASS

解决方法

以下请求正在使用tollPass = AutoPass,我们将获得44.92欧元:

https://fleet.ls.hereapi.com/2/calculateroute.json?waypoint0=59.08597,country;tollsys&mode=fastest;truck;traffic:disabled&length=17m&commercial=1&limitedWeight=40t&height=4m&currency=EUR&tollVehicleType=3&trailerType=2&trailersCount=1&vehicleNumberAxles=3&trailerNumberAxles=2&tollPass=AutoPass