News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
call log request did not work in sand box
Tags: developer sandbox
Oct 21, 2016 at 2:24pm   •   2 replies  •  0 likes
yanmei

same code for call log api, worked last week, this week I tried again, stopped working, return empty. Active call api works.



Dim URL As New Uri(WebUtility.HtmlEncode("https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log"))


API_request.Method = "GET" API_request.Headers("Authorization") = "Bearer " & Acc_Token

API_request.Accept = "application/json"

===================================


+ 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

2 Answers
answered on Oct 21, 2016 at 2:45pm  

Request:

Dim URL As New Uri(WebUtility.HtmlEncode("https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log";))

API_request.Method = "GET"

API_request.Headers("Authorization") = "Bearer " & Acc_Token

API_request.Accept = "application/json"

Response:

+  Me {REST_API.Form1, Text: Form1} REST_API.Form1
  _Stream Nothing System.IO.StreamReader
+  API_request {System.Net.HttpWebRequest} System.Net.HttpWebRequest
+  e {System.Windows.Forms.MouseEventArgs} System.EventArgs
-  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: 8ae9ca14-97d7-11e6-abc3-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-agw11.devtest.ringcentral.com  Content-Type: application/json; charset=UTF-8  Date: Fri, 21 Oct 2016 21:44:28 GMT  Set-Cookie: RCRoutingInfo=B:JjvG963zMhLp2i9ovcWFNFBA3Z0SlO9Db3kZ8SMmxrrUKU0aO0VJmtfRX8zygttx; 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:44:33 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: 8ae9ca14-97d7-11e6-abc3-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-agw11.devtest.ringcentral.com  Content-Type: application/json; charset=UTF-8  Date: Fri, 21 Oct 2016 21:44:28 GMT  Set-Cookie: RCRoutingInfo=B:JjvG963zMhLp2i9ovcWFNFBA3Z0SlO9Db3kZ8SMmxrrUKU0aO0VJmtfRX8zygttx; 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
+  sender {System.Windows.Forms.Button, Text: Call Log} Object
  str_return Nothing String
+  URL {https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log} System.Uri


 0
answered on Oct 21, 2016 at 2:41pm  
I just tested and there are no problems. Can you try again ?

If it has problems, can you give us more details with full HTTP Request and Response? 

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us