teference / zoho-dotnet

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

How to Get AuthToken and OrganizationId once initialize api ? #18

Closed HusseinElGanzory closed 5 years ago

jsinh commented 5 years ago

Hello Hussein,

Not completely sure what you mean to ask there or why you need to get AuthToken and OrganizationId after initialization but those are stored in the following property:

https://github.com/teference/zoho-dotnet/blob/master/source/Zoho.Api/ZohoClient.cs#L28

Hope that helps, thanks

HusseinElGanzory commented 5 years ago

organizationId & AuthCode Always Fixed . not changed for every request ? where i can get AuthToken?

jsinh commented 5 years ago

@HusseinElGanzory - If you want to keep changing those values - then create a new instance. But for that particular instance, it does not change unless you do.

Not sure what you mean by "Where I can get AuthToken?" - if you mean how can you generate one then it would be in Zoho - you can refer to their documents for it - or ask in support depending on your privileges and user setup

HusseinElGanzory commented 5 years ago

i had another question please. zoho.api support create invoices if not any sample for it

jsinh commented 5 years ago

@HusseinElGanzory It does not create invoices. This NuGet package is only translating following API endpoints: https://www.zoho.com/subscriptions/api/v1/#introduction

So those can be called from C# and .NET in a more elegant way.