Description
if you head over to https://docs.microsoft.com/en-us/odata/webapi/attribute-routing you get a ton of information about routing (conventions and this page with attribttes) but EVERY single example is starting with an entity set.
This is not all there is.
There are unbound actions, too. And I now have to refer to REST (i.e. non odata) beause I can not get it working. And there is no documentation.
http://api.obb.tuev-daily.de/odata/$metadata
(which is valid) defines an action GeoCode. No entity set it is in the EntityContainer:
And defined as
This should result in the URL being "/Tools.GeoCode" (under the root folder). I can not enter this. Like at all. I always get
The path template 'Tools.GeoCode' on the action 'GeoCode' in controller 'Tools' is not a valid OData path template. Resource not found for the segment 'Tools.GeoCode'
for:
[ODataRoute("/Tools.GeoCode")]
and
[ODataRoute("Tools.GeoCode")]
Without proper documentation - this is not solvable. And possibly also an error.