Class SyncMessagesParameters

java.lang.Object
com.ringcentral.definitions.SyncMessagesParameters

public class SyncMessagesParameters extends Object
Query parameters for operation syncMessages
  • Field Details

    • conversationId

      public Long conversationId
      Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only. Format: int64
    • dateFrom

      public String dateFrom
      The start date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours Format: date-time
    • dateTo

      public String dateTo
      The end date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time Format: date-time
    • direction

      public String[] direction
      Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted Enum: Inbound, Outbound
    • distinctConversations

      public Boolean distinctConversations
      If `true`, then the latest messages per every conversation ID are returned
    • messageType

      public String[] messageType
      Type for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted Enum: Fax, SMS, VoiceMail, Pager
    • recordCount

      public Long recordCount
      Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) Format: int32
    • syncToken

      public String syncToken
      A `syncToken` value from the previous sync response (for `ISync` mode only, mandatory)
    • syncType

      public String syncType
      Type of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISync
    • voicemailOwner

      public String[] voicemailOwner
      Deprecated. Filters voicemail messages based on the owner extension. Supported if the 'SharedVoicemail' feature is enabled. Default: Personal Enum: Any, Personal, Shared
    • owner

      public String[] owner
      Filters shared messages based on the owner extension. Supported if the 'SharedVoicemail' or 'CallQueueSmsRecipient' feature is enabled. Default: Personal Enum: Any, Personal, Shared
    • ownerExtensionType

      public String[] ownerExtensionType
      Filters shared messages based on the owner extension type. Supported if "SharedVoicemail" or "CallQueueSmsRecipient" feature is enabled. Enum: User, Department, Announcement, Voicemail, DigitalUser, VirtualUser, FaxUser, PagingOnly, SharedLinesGroup, DelegatedLinesGroup, GroupCallPickup, IvrMenu, ApplicationExtension, ProxyAdmin, RoomConnector, ParkLocation, Limited, Bot, Site, Room, FlexibleUser, Unknown
  • Constructor Details

    • SyncMessagesParameters

      public SyncMessagesParameters()
  • Method Details