Missed parameter.
Hello!
In the 'TrafficSituation' API, it seems you have missed a 'ID' Int32 parameter as part of the response data/TrafficType to be precise.
Have a good day!
In the 'TrafficSituation' API, it seems you have missed a 'ID' Int32 parameter as part of the response data/TrafficType to be precise.
Have a good day!
Följ inlägget
0
följare
Loved your latest movie! 😉
The TrafficSituation API that you are refering to is that the SL Trafikläget 2 API?
Is it missing in the documentation, API response or both?
Best regards
Kenneth
Thanks for that, I think I got the acting done just right haha :P.
Anyhow, yes I do refer to Trafikläget.
Every 'TrafficType' has a assigned ID in the API response, but nowhere to be found in the documentation.
Also while I'm here, I'd like to say that the API documentation for NearbyStopsV2 (https://www.trafiklab.se/node/25595/documentation) is incorrect/the API response responds incorrectly. The standard StatusCode, ExecutionTime, etc. are not in the API response, I am unsure if it's a bug or intended but in the API documentation it states differently.
Kindest regard,
Venom AKA Karim Obeia.
Thanks for the feedback. We need to look into this issue together with SL. Will get back to you as soon as we know more.
Kind regards
Kenneth