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
Is there any documentation for the max length of CallerInfo fields in the CallLog api?
Tags: call logs, rest api
Sep 12, 2017 at 2:01pm   •   1 replies  •  0 likes
matt-spinks

I am writing a searchable indexing engine for calls from the call log. In setting up the database structure, I want to ensure I am using database fields that are long enough to support the data, but also short enough to be efficient if my app is processing millions of these records in a single search. I don't see any documentation for max lengths of the 4 key fields I am indexing (Name, Number, XNumber, and Location): https://developer.ringcentral.com/api-docs/latest/index.html#!#MessageStoreCallerInfo


Is there any documentation of the max length of these fields from RingCentral? If not, is there a recommended length to use?

1 Answer
answered on Sep 12, 2017 at 6:02pm  
The documentation says phone number is in https://en.wikipedia.org/wiki/E.164 format.

If you are not facing performance issues at the moment, why not just reserve more spaces for them? For example, 128 for name, 256 for location...etc.  I think it is OK to truncate them if they are abnormally long.

 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