question

yanmei avatar image
yanmei asked benjamin-dean answered

Call log in sandBox (worked several days ago, same code, stop working today)

I test call log in Sand box, simple call log request, worked very well several days ago, today I tried to run it again, stopped working, nothing changed.

return status code = 200 , content is empty.

Here is response:



+ Me {REST_API.Form1, Text: Form1} REST_API.Form1+ API_request {System.Net.HttpWebRequest} System.Net.HttpWebRequest

- response {System.Net.HttpWebResponse} System.Net.HttpWebResponse

__identity Nothing Object

CharacterSet "UTF-8" String

ConnectionGroupName Nothing String

ContentEncoding "" String

ContentLength -1 Long

ContentType "application/json; charset=UTF-8" String

+ Cookies {System.Net.CookieCollection} System.Net.CookieCollection

+ CoreResponseData {System.Net.CoreResponseData} System.Net.CoreResponseData

+ Headers {Transfer-Encoding: chunked Connection: keep-alive RCRequestId: b4403588-97d2-11e6-9a4e-005056bb26b9 RoutingKey: SJC11P01PAS01 Content-Language: en-US Vary: Accept-Encoding, User-Agent x-throttling-group: Heavy X-Rate-Limit-Group: heavy X-Rate-Limit-Limit: 10 X-Rate-Limit-Remaining: 9 X-Rate-Limit-Window: 60 X-AGW-Host: sjc11-c01-agw13.devtest.ringcentral.com Content-Type: application/json; charset=UTF-8 Date: Fri, 21 Oct 2016 21:09:50 GMT Set-Cookie: RCRoutingInfo=B:JjvG963zMhLp2i9ovcWFNFBA3Z0SlO9Db3kZ8SMmxrq2PPC09d0V6DyGF34WxjqZ; Path=/ Server: nginx/1.8.0 } System.Net.WebHeaderCollection

Identity Nothing Object

InternalSetFromCache Write Only Properties are not supported Boolean

InternalSetIsCacheFresh Write Only Properties are not supported Boolean

InternalSetIsMutuallyAuthenticated Write Only Properties are not supported Boolean

IsCacheFresh False Boolean

IsFromCache False Boolean

IsMutuallyAuthenticated False Boolean

IsWebSocketResponse False Boolean

KeepAlive True Boolean

LastModified #10/21/2016 4:10:03 PM# Date

m_Certificate Nothing System.Security.Cryptography.X509Certificates.X509Certificate

m_CharacterSet "UTF-8" String

m_ConnectionGroupName Nothing String

+ m_ConnectStream {System.Net.ConnectStream} System.IO.Stream

m_ContentLength -1 Long

+ m_cookies {System.Net.CookieCollection} System.Net.CookieCollection

+ m_CoreResponseData {System.Net.CoreResponseData} System.Net.CoreResponseData

m_disposed False Boolean

+ m_HttpResponseHeaders {Transfer-Encoding: chunked Connection: keep-alive RCRequestId: b4403588-97d2-11e6-9a4e-005056bb26b9 RoutingKey: SJC11P01PAS01 Content-Language: en-US Vary: Accept-Encoding, User-Agent x-throttling-group: Heavy X-Rate-Limit-Group: heavy X-Rate-Limit-Limit: 10 X-Rate-Limit-Remaining: 9 X-Rate-Limit-Window: 60 X-AGW-Host: sjc11-c01-agw13.devtest.ringcentral.com Content-Type: application/json; charset=UTF-8 Date: Fri, 21 Oct 2016 21:09:50 GMT Set-Cookie: RCRoutingInfo=B:JjvG963zMhLp2i9ovcWFNFBA3Z0SlO9Db3kZ8SMmxrq2PPC09d0V6DyGF34WxjqZ; Path=/ Server: nginx/1.8.0 } System.Net.WebHeaderCollection

m_IsCacheFresh False Boolean

m_IsFromCache False Boolean

m_IsMutuallyAuthenticated False Boolean

m_IsVersionHttp11 True Boolean

m_IsWebSocketResponse False Boolean

m_MediaType Nothing String

m_propertiesDisposed False Boolean

m_StatusCode OK {200} System.Net.HttpStatusCode

m_StatusDescription "OK" String

+ m_Uri {

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log} System.Uri

m_UsesProxySemantics False Boolean

+ m_Verb {System.Net.KnownHttpVerb} System.Net.KnownHttpVerb

m_WebSocketConnectionStream Nothing System.IO.Stream

Method "GET" String

+ ProtocolVersion {1.1} System.Version

+ ResponseStream {System.Net.ConnectStream} System.IO.Stream

+ ResponseUri {

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log} System.Uri

Server "nginx/1.8.0" String

StatusCode OK {200} System.Net.HttpStatusCode

StatusDescription "OK" String

SupportsHeaders True Boolean

str_return Nothing String

+ URL {

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log} System.Uri



developer sandbox
1 |1500 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

benjamin-dean avatar image
benjamin-dean answered
Have you verified that you have calls logs which are available from within the past 24 hours (which is the default time-range for call-log results to be fetched)? Or you might want to include the 'dateTo' and 'dateFrom' query parameters in your request set to the ISO8601 values as indicated in the API Docs for Call Log:  https://developers.ringcentral.com/api-docs/latest/index.html#!#RefExtensionCallLog.html
1 |1500 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.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys