teference / zoho-dotnet

Zoho API .NET SDK
MIT License
7 stars 11 forks source link

Service Location US vs EU #3

Closed kruijs closed 7 years ago

kruijs commented 7 years ago

ZOHO uses different API endpoints for US and EU customers. Currently, this information is stored in the ApiResource resx (ZsRootEndpoint).

It would be great if there was a possibility to set the URL or to have a switch property on the configuration object.

https://subscriptions.zoho.**com**/api/v1/ https://subscriptions.zoho.**eu**/api/v1/

jsinh commented 7 years ago

@kruijs - thanks for pointing this out, would have never know about the location specific API base URL

I have commit some changes to accommodate this spec, will take a second look at it and push a NuGet soon.

kruijs commented 7 years ago

That's great. Thanks a lot for your efforts.

jsinh commented 7 years ago

Pushed option to set API Base URL (do not forget to end with '/'

Release Note Nuget v0.6.15

Pardon on late response