Package com.mypurecloud.sdk.v2.api
Class VoicemailApi
java.lang.Object
com.mypurecloud.sdk.v2.api.VoicemailApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a voicemail message.deleteVoicemailMessage(ApiRequest<Void> request) Delete a voicemail message.voiddeleteVoicemailMessage(String messageId) Delete a voicemail message.voidDelete all voicemail messagesvoidDelete all voicemail messagesdeleteVoicemailMessages(ApiRequest<Void> request) Delete all voicemail messagesDelete all voicemail messagesdeleteVoicemailMessageWithHttpInfo(String messageId) Delete a voicemail message.Get the group's mailbox informationgetVoicemailGroupMailbox(ApiRequest<Void> request) Get the group's mailbox informationgetVoicemailGroupMailbox(String groupId) Get the group's mailbox informationGet the group's mailbox informationList voicemail messagesgetVoicemailGroupMessages(ApiRequest<Void> request) List voicemail messagesgetVoicemailGroupMessages(String groupId, Integer pageSize, Integer pageNumber) List voicemail messagesgetVoicemailGroupMessagesWithHttpInfo(String groupId, Integer pageSize, Integer pageNumber) List voicemail messagesGet a group's voicemail policygetVoicemailGroupPolicy(ApiRequest<Void> request) Get a group's voicemail policygetVoicemailGroupPolicy(String groupId) Get a group's voicemail policyGet a group's voicemail policyGet the current user's mailbox informationGet the current user's mailbox informationgetVoicemailMailbox(ApiRequest<Void> request) Get the current user's mailbox informationGet the current user's mailbox informationGet the current user's mailbox informationGet the current user's mailbox informationgetVoicemailMeMailbox(ApiRequest<Void> request) Get the current user's mailbox informationGet the current user's mailbox informationList voicemail messagesgetVoicemailMeMessages(ApiRequest<Void> request) List voicemail messagesgetVoicemailMeMessages(Integer pageSize, Integer pageNumber) List voicemail messagesgetVoicemailMeMessagesWithHttpInfo(Integer pageSize, Integer pageNumber) List voicemail messagesGet the current user's voicemail policyGet the current user's voicemail policygetVoicemailMePolicy(ApiRequest<Void> request) Get the current user's voicemail policyGet the current user's voicemail policyGet a voicemail messagegetVoicemailMessage(ApiRequest<Void> request) Get a voicemail messagegetVoicemailMessage(String messageId, List<String> expand) Get a voicemail messageGet media playback URI for this voicemail messagegetVoicemailMessageMedia(ApiRequest<Void> request) Get media playback URI for this voicemail messagegetVoicemailMessageMedia(String messageId, String formatId) Get media playback URI for this voicemail messagegetVoicemailMessageMediaWithHttpInfo(String messageId, String formatId) Get media playback URI for this voicemail messageList voicemail messagesgetVoicemailMessages(ApiRequest<Void> request) List voicemail messagesgetVoicemailMessages(String ids, List<String> expand) List voicemail messagesgetVoicemailMessagesWithHttpInfo(String ids, List<String> expand) List voicemail messagesgetVoicemailMessageWithHttpInfo(String messageId, List<String> expand) Get a voicemail messageGet a policyGet a policygetVoicemailPolicy(ApiRequest<Void> request) Get a policyGet a policyList voicemail messagesgetVoicemailQueueMessages(ApiRequest<Void> request) List voicemail messagesgetVoicemailQueueMessages(String queueId, Integer pageSize, Integer pageNumber) List voicemail messagesgetVoicemailQueueMessagesWithHttpInfo(String queueId, Integer pageSize, Integer pageNumber) List voicemail messagesSearch voicemails using the q64 value returned from a previous searchgetVoicemailSearch(ApiRequest<Void> request) Search voicemails using the q64 value returned from a previous searchgetVoicemailSearch(String q64, List<String> expand) Search voicemails using the q64 value returned from a previous searchgetVoicemailSearchWithHttpInfo(String q64, List<String> expand) Search voicemails using the q64 value returned from a previous searchGet a user's voicemail policygetVoicemailUserpolicy(ApiRequest<Void> request) Get a user's voicemail policygetVoicemailUserpolicy(String userId) Get a user's voicemail policyGet a user's voicemail policyUpdate a group's voicemail policyUpdate a group's voicemail policypatchVoicemailGroupPolicy(String groupId, VoicemailGroupPolicy body) Update a group's voicemail policypatchVoicemailGroupPolicyWithHttpInfo(String groupId, VoicemailGroupPolicy body) Update a group's voicemail policyUpdate the current user's voicemail policyUpdate the current user's voicemail policyUpdate the current user's voicemail policyUpdate the current user's voicemail policyUpdate a voicemail message A user voicemail can only be modified by its associated user.patchVoicemailMessage(ApiRequest<VoicemailMessage> request) Update a voicemail message A user voicemail can only be modified by its associated user.patchVoicemailMessage(String messageId, VoicemailMessage body) Update a voicemail message A user voicemail can only be modified by its associated user.patchVoicemailMessageWithHttpInfo(String messageId, VoicemailMessage body) Update a voicemail message A user voicemail can only be modified by its associated user.Update a user's voicemail policyUpdate a user's voicemail policypatchVoicemailUserpolicy(String userId, VoicemailUserPolicy body) Update a user's voicemail policypatchVoicemailUserpolicyWithHttpInfo(String userId, VoicemailUserPolicy body) Update a user's voicemail policyCopy a voicemail message to a user or groupCopy a voicemail message to a user or groupCopy a voicemail message to a user or groupCopy a voicemail message to a user or groupSearch voicemailsSearch voicemailsSearch voicemailsSearch voicemailsUpdate a voicemail message A user voicemail can only be modified by its associated user.putVoicemailMessage(ApiRequest<VoicemailMessage> request) Update a voicemail message A user voicemail can only be modified by its associated user.putVoicemailMessage(String messageId, VoicemailMessage body) Update a voicemail message A user voicemail can only be modified by its associated user.putVoicemailMessageWithHttpInfo(String messageId, VoicemailMessage body) Update a voicemail message A user voicemail can only be modified by its associated user.Update a policyUpdate a policyUpdate a policyUpdate a policyUpdate a user's voicemail policyUpdate a user's voicemail policyputVoicemailUserpolicy(String userId, VoicemailUserPolicy body) Update a user's voicemail policyputVoicemailUserpolicyWithHttpInfo(String userId, VoicemailUserPolicy body) Update a user's voicemail policy
-
Constructor Details
-
VoicemailApi
public VoicemailApi() -
VoicemailApi
-
-
Method Details
-
deleteVoicemailMessage
Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
messageId- Message ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteVoicemailMessageWithHttpInfo
Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
messageId- Message ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteVoicemailMessage
public void deleteVoicemailMessage(DeleteVoicemailMessageRequest request) throws IOException, ApiException Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteVoicemailMessage
Delete a voicemail message. A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteVoicemailMessages
Delete all voicemail messages- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteVoicemailMessagesWithHttpInfo
Delete all voicemail messages- Throws:
IOException- if the request fails to be processed
-
deleteVoicemailMessages
public void deleteVoicemailMessages(DeleteVoicemailMessagesRequest request) throws IOException, ApiException Delete all voicemail messages- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteVoicemailMessages
Delete all voicemail messages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupMailbox
public VoicemailMailboxInfo getVoicemailGroupMailbox(String groupId) throws IOException, ApiException Get the group's mailbox information- Parameters:
groupId- groupId (required)- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupMailboxWithHttpInfo
public ApiResponse<VoicemailMailboxInfo> getVoicemailGroupMailboxWithHttpInfo(String groupId) throws IOException Get the group's mailbox information- Parameters:
groupId- groupId (required)- Returns:
- VoicemailMailboxInfo
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupMailbox
public VoicemailMailboxInfo getVoicemailGroupMailbox(GetVoicemailGroupMailboxRequest request) throws IOException, ApiException Get the group's mailbox information- Parameters:
request- The request object- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupMailbox
public ApiResponse<VoicemailMailboxInfo> getVoicemailGroupMailbox(ApiRequest<Void> request) throws IOException Get the group's mailbox information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupMessages
public VoicemailMessageEntityListing getVoicemailGroupMessages(String groupId, Integer pageSize, Integer pageNumber) throws IOException, ApiException List voicemail messages- Parameters:
groupId- Group ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupMessagesWithHttpInfo
public ApiResponse<VoicemailMessageEntityListing> getVoicemailGroupMessagesWithHttpInfo(String groupId, Integer pageSize, Integer pageNumber) throws IOException List voicemail messages- Parameters:
groupId- Group ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupMessages
public VoicemailMessageEntityListing getVoicemailGroupMessages(GetVoicemailGroupMessagesRequest request) throws IOException, ApiException List voicemail messages- Parameters:
request- The request object- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupMessages
public ApiResponse<VoicemailMessageEntityListing> getVoicemailGroupMessages(ApiRequest<Void> request) throws IOException List voicemail messages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupPolicy
public VoicemailGroupPolicy getVoicemailGroupPolicy(String groupId) throws IOException, ApiException Get a group's voicemail policy- Parameters:
groupId- Group ID (required)- Returns:
- VoicemailGroupPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupPolicyWithHttpInfo
public ApiResponse<VoicemailGroupPolicy> getVoicemailGroupPolicyWithHttpInfo(String groupId) throws IOException Get a group's voicemail policy- Parameters:
groupId- Group ID (required)- Returns:
- VoicemailGroupPolicy
- Throws:
IOException- if the request fails to be processed
-
getVoicemailGroupPolicy
public VoicemailGroupPolicy getVoicemailGroupPolicy(GetVoicemailGroupPolicyRequest request) throws IOException, ApiException Get a group's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailGroupPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailGroupPolicy
public ApiResponse<VoicemailGroupPolicy> getVoicemailGroupPolicy(ApiRequest<Void> request) throws IOException Get a group's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMailbox
Get the current user's mailbox information- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMailboxWithHttpInfo
Get the current user's mailbox information- Returns:
- VoicemailMailboxInfo
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMailbox
public VoicemailMailboxInfo getVoicemailMailbox(GetVoicemailMailboxRequest request) throws IOException, ApiException Get the current user's mailbox information- Parameters:
request- The request object- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMailbox
public ApiResponse<VoicemailMailboxInfo> getVoicemailMailbox(ApiRequest<Void> request) throws IOException Get the current user's mailbox information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMeMailbox
Get the current user's mailbox information- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMeMailboxWithHttpInfo
Get the current user's mailbox information- Returns:
- VoicemailMailboxInfo
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMeMailbox
public VoicemailMailboxInfo getVoicemailMeMailbox(GetVoicemailMeMailboxRequest request) throws IOException, ApiException Get the current user's mailbox information- Parameters:
request- The request object- Returns:
- VoicemailMailboxInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMeMailbox
public ApiResponse<VoicemailMailboxInfo> getVoicemailMeMailbox(ApiRequest<Void> request) throws IOException Get the current user's mailbox information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMeMessages
public VoicemailMessageEntityListing getVoicemailMeMessages(Integer pageSize, Integer pageNumber) throws IOException, ApiException List voicemail messages- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMeMessagesWithHttpInfo
public ApiResponse<VoicemailMessageEntityListing> getVoicemailMeMessagesWithHttpInfo(Integer pageSize, Integer pageNumber) throws IOException List voicemail messages- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMeMessages
public VoicemailMessageEntityListing getVoicemailMeMessages(GetVoicemailMeMessagesRequest request) throws IOException, ApiException List voicemail messages- Parameters:
request- The request object- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMeMessages
public ApiResponse<VoicemailMessageEntityListing> getVoicemailMeMessages(ApiRequest<Void> request) throws IOException List voicemail messages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMePolicy
Get the current user's voicemail policy- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMePolicyWithHttpInfo
Get the current user's voicemail policy- Returns:
- VoicemailUserPolicy
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMePolicy
public VoicemailUserPolicy getVoicemailMePolicy(GetVoicemailMePolicyRequest request) throws IOException, ApiException Get the current user's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMePolicy
public ApiResponse<VoicemailUserPolicy> getVoicemailMePolicy(ApiRequest<Void> request) throws IOException Get the current user's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessage
public VoicemailMessage getVoicemailMessage(String messageId, List<String> expand) throws IOException, ApiException Get a voicemail message- Parameters:
messageId- Message ID (required)expand- If the caller is a known user, which fields, if any, to expand (optional)- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessageWithHttpInfo
public ApiResponse<VoicemailMessage> getVoicemailMessageWithHttpInfo(String messageId, List<String> expand) throws IOException Get a voicemail message- Parameters:
messageId- Message ID (required)expand- If the caller is a known user, which fields, if any, to expand (optional)- Returns:
- VoicemailMessage
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessage
public VoicemailMessage getVoicemailMessage(GetVoicemailMessageRequest request) throws IOException, ApiException Get a voicemail message- Parameters:
request- The request object- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessage
public ApiResponse<VoicemailMessage> getVoicemailMessage(ApiRequest<Void> request) throws IOException Get a voicemail message- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessageMedia
public VoicemailMediaInfo getVoicemailMessageMedia(String messageId, String formatId) throws IOException, ApiException Get media playback URI for this voicemail message- Parameters:
messageId- Message ID (required)formatId- The desired media format. (optional, default to WEBM)- Returns:
- VoicemailMediaInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessageMediaWithHttpInfo
public ApiResponse<VoicemailMediaInfo> getVoicemailMessageMediaWithHttpInfo(String messageId, String formatId) throws IOException Get media playback URI for this voicemail message- Parameters:
messageId- Message ID (required)formatId- The desired media format. (optional, default to WEBM)- Returns:
- VoicemailMediaInfo
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessageMedia
public VoicemailMediaInfo getVoicemailMessageMedia(GetVoicemailMessageMediaRequest request) throws IOException, ApiException Get media playback URI for this voicemail message- Parameters:
request- The request object- Returns:
- VoicemailMediaInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessageMedia
public ApiResponse<VoicemailMediaInfo> getVoicemailMessageMedia(ApiRequest<Void> request) throws IOException Get media playback URI for this voicemail message- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessages
public VoicemailMessageEntityListing getVoicemailMessages(String ids, List<String> expand) throws IOException, ApiException List voicemail messages- Parameters:
ids- An optional comma separated list of VoicemailMessage ids (optional)expand- If the caller is a known user, which fields, if any, to expand (optional)- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessagesWithHttpInfo
public ApiResponse<VoicemailMessageEntityListing> getVoicemailMessagesWithHttpInfo(String ids, List<String> expand) throws IOException List voicemail messages- Parameters:
ids- An optional comma separated list of VoicemailMessage ids (optional)expand- If the caller is a known user, which fields, if any, to expand (optional)- Returns:
- VoicemailMessageEntityListing
- Throws:
IOException- if the request fails to be processed
-
getVoicemailMessages
public VoicemailMessageEntityListing getVoicemailMessages(GetVoicemailMessagesRequest request) throws IOException, ApiException List voicemail messages- Parameters:
request- The request object- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailMessages
public ApiResponse<VoicemailMessageEntityListing> getVoicemailMessages(ApiRequest<Void> request) throws IOException List voicemail messages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailPolicy
Get a policy- Returns:
- VoicemailOrganizationPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailPolicyWithHttpInfo
Get a policy- Returns:
- VoicemailOrganizationPolicy
- Throws:
IOException- if the request fails to be processed
-
getVoicemailPolicy
public VoicemailOrganizationPolicy getVoicemailPolicy(GetVoicemailPolicyRequest request) throws IOException, ApiException Get a policy- Parameters:
request- The request object- Returns:
- VoicemailOrganizationPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailPolicy
public ApiResponse<VoicemailOrganizationPolicy> getVoicemailPolicy(ApiRequest<Void> request) throws IOException Get a policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailQueueMessages
public VoicemailMessageEntityListing getVoicemailQueueMessages(String queueId, Integer pageSize, Integer pageNumber) throws IOException, ApiException List voicemail messages- Parameters:
queueId- Queue ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailQueueMessagesWithHttpInfo
public ApiResponse<VoicemailMessageEntityListing> getVoicemailQueueMessagesWithHttpInfo(String queueId, Integer pageSize, Integer pageNumber) throws IOException List voicemail messages- Parameters:
queueId- Queue ID (required)pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- VoicemailMessageEntityListing
- Throws:
IOException- if the request fails to be processed
-
getVoicemailQueueMessages
public VoicemailMessageEntityListing getVoicemailQueueMessages(GetVoicemailQueueMessagesRequest request) throws IOException, ApiException List voicemail messages- Parameters:
request- The request object- Returns:
- VoicemailMessageEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailQueueMessages
public ApiResponse<VoicemailMessageEntityListing> getVoicemailQueueMessages(ApiRequest<Void> request) throws IOException List voicemail messages- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailSearch
public VoicemailsSearchResponse getVoicemailSearch(String q64, List<String> expand) throws IOException, ApiException Search voicemails using the q64 value returned from a previous search- Parameters:
q64- q64 (required)expand- expand (optional)- Returns:
- VoicemailsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailSearchWithHttpInfo
public ApiResponse<VoicemailsSearchResponse> getVoicemailSearchWithHttpInfo(String q64, List<String> expand) throws IOException Search voicemails using the q64 value returned from a previous search- Parameters:
q64- q64 (required)expand- expand (optional)- Returns:
- VoicemailsSearchResponse
- Throws:
IOException- if the request fails to be processed
-
getVoicemailSearch
public VoicemailsSearchResponse getVoicemailSearch(GetVoicemailSearchRequest request) throws IOException, ApiException Search voicemails using the q64 value returned from a previous search- Parameters:
request- The request object- Returns:
- VoicemailsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailSearch
public ApiResponse<VoicemailsSearchResponse> getVoicemailSearch(ApiRequest<Void> request) throws IOException Search voicemails using the q64 value returned from a previous search- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getVoicemailUserpolicy
Get a user's voicemail policy- Parameters:
userId- User ID (required)- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailUserpolicyWithHttpInfo
public ApiResponse<VoicemailUserPolicy> getVoicemailUserpolicyWithHttpInfo(String userId) throws IOException Get a user's voicemail policy- Parameters:
userId- User ID (required)- Returns:
- VoicemailUserPolicy
- Throws:
IOException- if the request fails to be processed
-
getVoicemailUserpolicy
public VoicemailUserPolicy getVoicemailUserpolicy(GetVoicemailUserpolicyRequest request) throws IOException, ApiException Get a user's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getVoicemailUserpolicy
public ApiResponse<VoicemailUserPolicy> getVoicemailUserpolicy(ApiRequest<Void> request) throws IOException Get a user's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailGroupPolicy
public VoicemailGroupPolicy patchVoicemailGroupPolicy(String groupId, VoicemailGroupPolicy body) throws IOException, ApiException Update a group's voicemail policy- Parameters:
groupId- Group ID (required)body- The group's voicemail policy (required)- Returns:
- VoicemailGroupPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailGroupPolicyWithHttpInfo
public ApiResponse<VoicemailGroupPolicy> patchVoicemailGroupPolicyWithHttpInfo(String groupId, VoicemailGroupPolicy body) throws IOException Update a group's voicemail policy- Parameters:
groupId- Group ID (required)body- The group's voicemail policy (required)- Returns:
- VoicemailGroupPolicy
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailGroupPolicy
public VoicemailGroupPolicy patchVoicemailGroupPolicy(PatchVoicemailGroupPolicyRequest request) throws IOException, ApiException Update a group's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailGroupPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailGroupPolicy
public ApiResponse<VoicemailGroupPolicy> patchVoicemailGroupPolicy(ApiRequest<VoicemailGroupPolicy> request) throws IOException Update a group's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailMePolicy
public VoicemailUserPolicy patchVoicemailMePolicy(VoicemailUserPolicy body) throws IOException, ApiException Update the current user's voicemail policy- Parameters:
body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailMePolicyWithHttpInfo
public ApiResponse<VoicemailUserPolicy> patchVoicemailMePolicyWithHttpInfo(VoicemailUserPolicy body) throws IOException Update the current user's voicemail policy- Parameters:
body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailMePolicy
public VoicemailUserPolicy patchVoicemailMePolicy(PatchVoicemailMePolicyRequest request) throws IOException, ApiException Update the current user's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailMePolicy
public ApiResponse<VoicemailUserPolicy> patchVoicemailMePolicy(ApiRequest<VoicemailUserPolicy> request) throws IOException Update the current user's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailMessage
public VoicemailMessage patchVoicemailMessage(String messageId, VoicemailMessage body) throws IOException, ApiException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
messageId- Message ID (required)body- VoicemailMessage (required)- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailMessageWithHttpInfo
public ApiResponse<VoicemailMessage> patchVoicemailMessageWithHttpInfo(String messageId, VoicemailMessage body) throws IOException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
messageId- Message ID (required)body- VoicemailMessage (required)- Returns:
- VoicemailMessage
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailMessage
public VoicemailMessage patchVoicemailMessage(PatchVoicemailMessageRequest request) throws IOException, ApiException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- The request object- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailMessage
public ApiResponse<VoicemailMessage> patchVoicemailMessage(ApiRequest<VoicemailMessage> request) throws IOException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailUserpolicy
public VoicemailUserPolicy patchVoicemailUserpolicy(String userId, VoicemailUserPolicy body) throws IOException, ApiException Update a user's voicemail policy- Parameters:
userId- User ID (required)body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailUserpolicyWithHttpInfo
public ApiResponse<VoicemailUserPolicy> patchVoicemailUserpolicyWithHttpInfo(String userId, VoicemailUserPolicy body) throws IOException Update a user's voicemail policy- Parameters:
userId- User ID (required)body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
IOException- if the request fails to be processed
-
patchVoicemailUserpolicy
public VoicemailUserPolicy patchVoicemailUserpolicy(PatchVoicemailUserpolicyRequest request) throws IOException, ApiException Update a user's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchVoicemailUserpolicy
public ApiResponse<VoicemailUserPolicy> patchVoicemailUserpolicy(ApiRequest<VoicemailUserPolicy> request) throws IOException Update a user's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postVoicemailMessages
public VoicemailMessage postVoicemailMessages(CopyVoicemailMessage body) throws IOException, ApiException Copy a voicemail message to a user or group- Parameters:
body- (optional)- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postVoicemailMessagesWithHttpInfo
public ApiResponse<VoicemailMessage> postVoicemailMessagesWithHttpInfo(CopyVoicemailMessage body) throws IOException Copy a voicemail message to a user or group- Parameters:
body- (optional)- Returns:
- VoicemailMessage
- Throws:
IOException- if the request fails to be processed
-
postVoicemailMessages
public VoicemailMessage postVoicemailMessages(PostVoicemailMessagesRequest request) throws IOException, ApiException Copy a voicemail message to a user or group- Parameters:
request- The request object- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postVoicemailMessages
public ApiResponse<VoicemailMessage> postVoicemailMessages(ApiRequest<CopyVoicemailMessage> request) throws IOException Copy a voicemail message to a user or group- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postVoicemailSearch
public VoicemailsSearchResponse postVoicemailSearch(VoicemailSearchRequest body) throws IOException, ApiException Search voicemails- Parameters:
body- Search request options (required)- Returns:
- VoicemailsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postVoicemailSearchWithHttpInfo
public ApiResponse<VoicemailsSearchResponse> postVoicemailSearchWithHttpInfo(VoicemailSearchRequest body) throws IOException Search voicemails- Parameters:
body- Search request options (required)- Returns:
- VoicemailsSearchResponse
- Throws:
IOException- if the request fails to be processed
-
postVoicemailSearch
public VoicemailsSearchResponse postVoicemailSearch(PostVoicemailSearchRequest request) throws IOException, ApiException Search voicemails- Parameters:
request- The request object- Returns:
- VoicemailsSearchResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postVoicemailSearch
public ApiResponse<VoicemailsSearchResponse> postVoicemailSearch(ApiRequest<VoicemailSearchRequest> request) throws IOException Search voicemails- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putVoicemailMessage
public VoicemailMessage putVoicemailMessage(String messageId, VoicemailMessage body) throws IOException, ApiException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
messageId- Message ID (required)body- VoicemailMessage (required)- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailMessageWithHttpInfo
public ApiResponse<VoicemailMessage> putVoicemailMessageWithHttpInfo(String messageId, VoicemailMessage body) throws IOException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
messageId- Message ID (required)body- VoicemailMessage (required)- Returns:
- VoicemailMessage
- Throws:
IOException- if the request fails to be processed
-
putVoicemailMessage
public VoicemailMessage putVoicemailMessage(PutVoicemailMessageRequest request) throws IOException, ApiException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- The request object- Returns:
- VoicemailMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailMessage
public ApiResponse<VoicemailMessage> putVoicemailMessage(ApiRequest<VoicemailMessage> request) throws IOException Update a voicemail message A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putVoicemailPolicy
public VoicemailOrganizationPolicy putVoicemailPolicy(VoicemailOrganizationPolicy body) throws IOException, ApiException Update a policy- Parameters:
body- Policy (required)- Returns:
- VoicemailOrganizationPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailPolicyWithHttpInfo
public ApiResponse<VoicemailOrganizationPolicy> putVoicemailPolicyWithHttpInfo(VoicemailOrganizationPolicy body) throws IOException Update a policy- Parameters:
body- Policy (required)- Returns:
- VoicemailOrganizationPolicy
- Throws:
IOException- if the request fails to be processed
-
putVoicemailPolicy
public VoicemailOrganizationPolicy putVoicemailPolicy(PutVoicemailPolicyRequest request) throws IOException, ApiException Update a policy- Parameters:
request- The request object- Returns:
- VoicemailOrganizationPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailPolicy
public ApiResponse<VoicemailOrganizationPolicy> putVoicemailPolicy(ApiRequest<VoicemailOrganizationPolicy> request) throws IOException Update a policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putVoicemailUserpolicy
public VoicemailUserPolicy putVoicemailUserpolicy(String userId, VoicemailUserPolicy body) throws IOException, ApiException Update a user's voicemail policy- Parameters:
userId- User ID (required)body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailUserpolicyWithHttpInfo
public ApiResponse<VoicemailUserPolicy> putVoicemailUserpolicyWithHttpInfo(String userId, VoicemailUserPolicy body) throws IOException Update a user's voicemail policy- Parameters:
userId- User ID (required)body- The user's voicemail policy (required)- Returns:
- VoicemailUserPolicy
- Throws:
IOException- if the request fails to be processed
-
putVoicemailUserpolicy
public VoicemailUserPolicy putVoicemailUserpolicy(PutVoicemailUserpolicyRequest request) throws IOException, ApiException Update a user's voicemail policy- Parameters:
request- The request object- Returns:
- VoicemailUserPolicy
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putVoicemailUserpolicy
public ApiResponse<VoicemailUserPolicy> putVoicemailUserpolicy(ApiRequest<VoicemailUserPolicy> request) throws IOException Update a user's voicemail policy- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-