question

keith-stephens-fax avatar image
keith-stephens-fax asked ·

sample or stub code to authenticate and get call logs from ringcentral using their api calls

Hello Everyone,

I am new to using web api, and I am new to using ringcentral.

I want to use ringcentals web api to log in from a c# web application and retrieve call log information for both inbound and outbound logs.

I have followed their steps on https://github.com/ringcentral/ringcentral-csharp-client but I just cannot or do not know what I am doing or how to do it.

In my page_load I am doing the Initialization and Authorizations as in their steps but I don't get logged in.  I know my credz are fine because I can get into my testing environment ect..

Can some one provide example code of how to log in and show call logs in a c# web page?

Thanks,

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Tyler Liu avatar image
Tyler Liu answered ·
Sorry for the late reply. I missed your question. 

Here is the code for authrization:  https://github.com/ringcentral/ringcentral-csharp-client#authorization

If you want to do authorization code flow instead, here is sample code:  https://github.com/ringcentral/ringcentral-demos-oauth/tree/master/csharp-nancy/csharp-client-nancy

Here is how you can get call log:  https://github.com/ringcentral/ringcentral-csharp-client/blob/90f545e7a9b07e024f34877e8ce71059755a56...
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.