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

  • 1
  • Question
  • Updated 10 months ago

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,

Photo of Keith Stephens Fax

Keith Stephens Fax

  • 150 Points 100 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,908 Points 5k badge 2x thumb
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...