Class ScreenMonitoringApi

java.lang.Object
com.mypurecloud.sdk.v2.api.ScreenMonitoringApi

public class ScreenMonitoringApi extends Object
  • Constructor Details

    • ScreenMonitoringApi

      public ScreenMonitoringApi()
    • ScreenMonitoringApi

      public ScreenMonitoringApi(ApiClient apiClient)
  • Method Details

    • deleteConversationParticipantScreenmonitorsSession

      public void deleteConversationParticipantScreenmonitorsSession(String conversationId, String participantId, String screenMonitoringId) throws IOException, ApiException
      Stop a conversation-level screen monitoring session.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteConversationParticipantScreenmonitorsSessionWithHttpInfo

      public ApiResponse<Void> deleteConversationParticipantScreenmonitorsSessionWithHttpInfo(String conversationId, String participantId, String screenMonitoringId) throws IOException
      Stop a conversation-level screen monitoring session.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteConversationParticipantScreenmonitorsSession

      public void deleteConversationParticipantScreenmonitorsSession(DeleteConversationParticipantScreenmonitorsSessionRequest request) throws IOException, ApiException
      Stop a conversation-level screen monitoring session.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteConversationParticipantScreenmonitorsSession

      public ApiResponse<Void> deleteConversationParticipantScreenmonitorsSession(ApiRequest<Void> request) throws IOException
      Stop a conversation-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteUserScreenmonitorsSession

      public void deleteUserScreenmonitorsSession(String userId, String screenMonitoringId) throws IOException, ApiException
      Stop an agent-level screen monitoring session.
      Parameters:
      userId - User ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteUserScreenmonitorsSessionWithHttpInfo

      public ApiResponse<Void> deleteUserScreenmonitorsSessionWithHttpInfo(String userId, String screenMonitoringId) throws IOException
      Stop an agent-level screen monitoring session.
      Parameters:
      userId - User ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteUserScreenmonitorsSession

      public void deleteUserScreenmonitorsSession(DeleteUserScreenmonitorsSessionRequest request) throws IOException, ApiException
      Stop an agent-level screen monitoring session.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteUserScreenmonitorsSession

      public ApiResponse<Void> deleteUserScreenmonitorsSession(ApiRequest<Void> request) throws IOException
      Stop an agent-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getConversationParticipantScreenmonitorsSession

      public ScreenMonitoringSession getConversationParticipantScreenmonitorsSession(String conversationId, String participantId, String screenMonitoringId) throws IOException, ApiException
      Get a conversation-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Returns:
      ScreenMonitoringSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getConversationParticipantScreenmonitorsSessionWithHttpInfo

      public ApiResponse<ScreenMonitoringSession> getConversationParticipantScreenmonitorsSessionWithHttpInfo(String conversationId, String participantId, String screenMonitoringId) throws IOException
      Get a conversation-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Returns:
      ScreenMonitoringSession
      Throws:
      IOException - if the request fails to be processed
    • getConversationParticipantScreenmonitorsSession

      public ScreenMonitoringSession getConversationParticipantScreenmonitorsSession(GetConversationParticipantScreenmonitorsSessionRequest request) throws IOException, ApiException
      Get a conversation-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      request - The request object
      Returns:
      ScreenMonitoringSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getConversationParticipantScreenmonitorsSession

      public ApiResponse<ScreenMonitoringSession> getConversationParticipantScreenmonitorsSession(ApiRequest<Void> request) throws IOException
      Get a conversation-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsSessionsDetails

      public ScreenMonitoringDetails getScreenmonitorsSessionsDetails() throws IOException, ApiException
      Get the details of all screen monitoring sessions for the current organization.
      Returns:
      ScreenMonitoringDetails
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsSessionsDetailsWithHttpInfo

      public ApiResponse<ScreenMonitoringDetails> getScreenmonitorsSessionsDetailsWithHttpInfo() throws IOException
      Get the details of all screen monitoring sessions for the current organization.
      Returns:
      ScreenMonitoringDetails
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsSessionsDetails

      public ScreenMonitoringDetails getScreenmonitorsSessionsDetails(GetScreenmonitorsSessionsDetailsRequest request) throws IOException, ApiException
      Get the details of all screen monitoring sessions for the current organization.
      Parameters:
      request - The request object
      Returns:
      ScreenMonitoringDetails
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsSessionsDetails

      public ApiResponse<ScreenMonitoringDetails> getScreenmonitorsSessionsDetails(ApiRequest<Void> request) throws IOException
      Get the details of all screen monitoring sessions for the current organization.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsSettings

      public ScreenMonitorSettings getScreenmonitorsSettings() throws IOException, ApiException
      Get the Screen Monitor Settings for the Organization
      Returns:
      ScreenMonitorSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsSettingsWithHttpInfo

      public ApiResponse<ScreenMonitorSettings> getScreenmonitorsSettingsWithHttpInfo() throws IOException
      Get the Screen Monitor Settings for the Organization
      Returns:
      ScreenMonitorSettings
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsSettings

      public ScreenMonitorSettings getScreenmonitorsSettings(GetScreenmonitorsSettingsRequest request) throws IOException, ApiException
      Get the Screen Monitor Settings for the Organization
      Parameters:
      request - The request object
      Returns:
      ScreenMonitorSettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsSettings

      public ApiResponse<ScreenMonitorSettings> getScreenmonitorsSettings(ApiRequest<Void> request) throws IOException
      Get the Screen Monitor Settings for the Organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsUserSessions

      public ScreenMonitoringSessionEntityListing getScreenmonitorsUserSessions(String userId) throws IOException, ApiException
      Get all screen monitoring sessions for the supplied userId.
      Parameters:
      userId - User ID (required)
      Returns:
      ScreenMonitoringSessionEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsUserSessionsWithHttpInfo

      public ApiResponse<ScreenMonitoringSessionEntityListing> getScreenmonitorsUserSessionsWithHttpInfo(String userId) throws IOException
      Get all screen monitoring sessions for the supplied userId.
      Parameters:
      userId - User ID (required)
      Returns:
      ScreenMonitoringSessionEntityListing
      Throws:
      IOException - if the request fails to be processed
    • getScreenmonitorsUserSessions

      Get all screen monitoring sessions for the supplied userId.
      Parameters:
      request - The request object
      Returns:
      ScreenMonitoringSessionEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getScreenmonitorsUserSessions

      public ApiResponse<ScreenMonitoringSessionEntityListing> getScreenmonitorsUserSessions(ApiRequest<Void> request) throws IOException
      Get all screen monitoring sessions for the supplied userId.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getUserScreenmonitorsSession

      public ScreenMonitoringSession getUserScreenmonitorsSession(String userId, String screenMonitoringId) throws IOException, ApiException
      Get an agent-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      userId - User ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Returns:
      ScreenMonitoringSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getUserScreenmonitorsSessionWithHttpInfo

      public ApiResponse<ScreenMonitoringSession> getUserScreenmonitorsSessionWithHttpInfo(String userId, String screenMonitoringId) throws IOException
      Get an agent-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      userId - User ID (required)
      screenMonitoringId - Screen Monitoring ID (required)
      Returns:
      ScreenMonitoringSession
      Throws:
      IOException - if the request fails to be processed
    • getUserScreenmonitorsSession

      public ScreenMonitoringSession getUserScreenmonitorsSession(GetUserScreenmonitorsSessionRequest request) throws IOException, ApiException
      Get an agent-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      request - The request object
      Returns:
      ScreenMonitoringSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getUserScreenmonitorsSession

      public ApiResponse<ScreenMonitoringSession> getUserScreenmonitorsSession(ApiRequest<Void> request) throws IOException
      Get an agent-level screen monitoring session object using the supplied screenMonitoringId.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postConversationParticipantScreenmonitorsSessions

      public StartScreenMonitorResponseBody postConversationParticipantScreenmonitorsSessions(String conversationId, String participantId) throws IOException, ApiException
      Start a conversation-level screen monitoring session.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postConversationParticipantScreenmonitorsSessionsWithHttpInfo

      public ApiResponse<StartScreenMonitorResponseBody> postConversationParticipantScreenmonitorsSessionsWithHttpInfo(String conversationId, String participantId) throws IOException
      Start a conversation-level screen monitoring session.
      Parameters:
      conversationId - Conversation ID (required)
      participantId - Participant ID (required)
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      IOException - if the request fails to be processed
    • postConversationParticipantScreenmonitorsSessions

      public StartScreenMonitorResponseBody postConversationParticipantScreenmonitorsSessions(PostConversationParticipantScreenmonitorsSessionsRequest request) throws IOException, ApiException
      Start a conversation-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postConversationParticipantScreenmonitorsSessions

      public ApiResponse<StartScreenMonitorResponseBody> postConversationParticipantScreenmonitorsSessions(ApiRequest<Void> request) throws IOException
      Start a conversation-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postScreenmonitorsSessionsUsersDetails

      public ScreenMonitoringUserDetailsEntityListing postScreenmonitorsSessionsUsersDetails(List<String> body) throws IOException, ApiException
      Get screen monitor session details for one or more users.
      Parameters:
      body - List of target user IDs (required)
      Returns:
      ScreenMonitoringUserDetailsEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postScreenmonitorsSessionsUsersDetailsWithHttpInfo

      public ApiResponse<ScreenMonitoringUserDetailsEntityListing> postScreenmonitorsSessionsUsersDetailsWithHttpInfo(List<String> body) throws IOException
      Get screen monitor session details for one or more users.
      Parameters:
      body - List of target user IDs (required)
      Returns:
      ScreenMonitoringUserDetailsEntityListing
      Throws:
      IOException - if the request fails to be processed
    • postScreenmonitorsSessionsUsersDetails

      Get screen monitor session details for one or more users.
      Parameters:
      request - The request object
      Returns:
      ScreenMonitoringUserDetailsEntityListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postScreenmonitorsSessionsUsersDetails

      public ApiResponse<ScreenMonitoringUserDetailsEntityListing> postScreenmonitorsSessionsUsersDetails(ApiRequest<List<String>> request) throws IOException
      Get screen monitor session details for one or more users.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postUserScreenmonitorsSessions

      public StartScreenMonitorResponseBody postUserScreenmonitorsSessions(String userId) throws IOException, ApiException
      Start an agent-level screen monitoring session.
      Parameters:
      userId - User ID (required)
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postUserScreenmonitorsSessionsWithHttpInfo

      public ApiResponse<StartScreenMonitorResponseBody> postUserScreenmonitorsSessionsWithHttpInfo(String userId) throws IOException
      Start an agent-level screen monitoring session.
      Parameters:
      userId - User ID (required)
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      IOException - if the request fails to be processed
    • postUserScreenmonitorsSessions

      public StartScreenMonitorResponseBody postUserScreenmonitorsSessions(PostUserScreenmonitorsSessionsRequest request) throws IOException, ApiException
      Start an agent-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      StartScreenMonitorResponseBody
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postUserScreenmonitorsSessions

      public ApiResponse<StartScreenMonitorResponseBody> postUserScreenmonitorsSessions(ApiRequest<Void> request) throws IOException
      Start an agent-level screen monitoring session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putScreenmonitorsSettings

      public void putScreenmonitorsSettings(ScreenMonitorSettings body) throws IOException, ApiException
      Update the Screen Monitor Settings for the Organization
      Parameters:
      body - Screen Monitor settings (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putScreenmonitorsSettingsWithHttpInfo

      public ApiResponse<Void> putScreenmonitorsSettingsWithHttpInfo(ScreenMonitorSettings body) throws IOException
      Update the Screen Monitor Settings for the Organization
      Parameters:
      body - Screen Monitor settings (required)
      Throws:
      IOException - if the request fails to be processed
    • putScreenmonitorsSettings

      public void putScreenmonitorsSettings(PutScreenmonitorsSettingsRequest request) throws IOException, ApiException
      Update the Screen Monitor Settings for the Organization
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putScreenmonitorsSettings

      public ApiResponse<Void> putScreenmonitorsSettings(ApiRequest<ScreenMonitorSettings> request) throws IOException
      Update the Screen Monitor Settings for the Organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed