question

matt-spinks2179 avatar image
matt-spinks2179 asked Tyler Liu answered

Is there any documentation for the max length of CallerInfo fields in the CallLog api?

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?
topic-default
1 |1000

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

1 Answer

·
Tyler Liu avatar image
Tyler Liu answered
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.
1 |1000

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.