java.lang.Object
com.ringcentral.paths.restapi.account.extension.messagestore.content.Index

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent, String attachmentId)
  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String path()
    • get

      public byte[] get(ReadMessageContentParameters queryParams) throws RestException, IOException
      Returns media content of a message attachment. The content is typically an audio file (`audio/mpeg` or `audio/wav`) for voicemails, TIFF or PDF for faxes and image/audio/video for MMS.

      **This API must be called via media API entry point, e.g. https://media.ringcentral.com**

      HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId}/content/{attachmentId} Rate Limit Group: Medium App Permission: ReadMessages

      Throws:
      RestException
      IOException
    • get

      public byte[] get() throws RestException, IOException
      Throws:
      RestException
      IOException