Result API Url with multi tenancy

Topics: Customizing Orchard, Writing modules
Jan 1, 2015 at 10:16 AM
hi..
i would like to build a restful api, which looks like this :
timeproviders/{id}
timeproviders/{id}/slots

how should i define the routes?
i tried to use attribute routing, but i cant seem to make it work.
so i think my option is IHttpRouteProvider.
My question is, if i decide to use multi tenancy later on.. hows the impact to the url ?
does below url work?
tenantUrl/timeproviders/{id}
tenantUrl/timeproviders/{id}/slots