Resolve request DTO based on route path

Hello all,

I was wondering whether it is possible to resolve a request DTO type based on the path that is specified in the Route attribute?

So I have the path like “/menu/413”, which should match route path “/menu/{MenuId}”. Is there a way I can resolve the request DTO type based on the path?

Any help would be greatly appreciated.


Never mind, found it!

For the ones interested: RestHandler.FindMatchingRestPath

1 Like