Package com.mypurecloud.sdk.v2.api
Class UsageApi
java.lang.Object
com.mypurecloud.sdk.v2.api.UsageApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the results of a usage querygetOauthClientUsageQueryResult(ApiRequest<Void> request) Get the results of a usage querygetOauthClientUsageQueryResult(String executionId, String clientId) Get the results of a usage querygetOauthClientUsageQueryResultWithHttpInfo(String executionId, String clientId) Get the results of a usage queryGet a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdgetOauthClientUsageSummary(ApiRequest<Void> request) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdgetOauthClientUsageSummary(String clientId, String days) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdgetOauthClientUsageSummaryWithHttpInfo(String clientId, String days) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdGet the results of a usage querygetUsageQueryExecutionIdResults(ApiRequest<Void> request) Get the results of a usage querygetUsageQueryExecutionIdResults(String executionId) Get the results of a usage querygetUsageQueryExecutionIdResultsWithHttpInfo(String executionId) Get the results of a usage queryGet the results of a usage search.Get the results of a usage search.getUsageSimplesearchExecutionIdResults(String executionId) Get the results of a usage search.getUsageSimplesearchExecutionIdResultsWithHttpInfo(String executionId) Get the results of a usage search.Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdQuery for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdpostOauthClientUsageQuery(String clientId, ApiUsageClientQuery body) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdpostOauthClientUsageQueryWithHttpInfo(String clientId, ApiUsageClientQuery body) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageQuery(PostUsageQueryRequest request) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdQuery organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdQuery organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdQuery organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdSearch organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.
-
Constructor Details
-
UsageApi
public UsageApi() -
UsageApi
-
-
Method Details
-
getOauthClientUsageQueryResult
public ApiUsageQueryResult getOauthClientUsageQueryResult(String executionId, String clientId) throws IOException, ApiException Get the results of a usage query- Parameters:
executionId- ID of the query execution (required)clientId- Client ID (required)- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getOauthClientUsageQueryResultWithHttpInfo
public ApiResponse<ApiUsageQueryResult> getOauthClientUsageQueryResultWithHttpInfo(String executionId, String clientId) throws IOException Get the results of a usage query- Parameters:
executionId- ID of the query execution (required)clientId- Client ID (required)- Returns:
- ApiUsageQueryResult
- Throws:
IOException- if the request fails to be processed
-
getOauthClientUsageQueryResult
public ApiUsageQueryResult getOauthClientUsageQueryResult(GetOauthClientUsageQueryResultRequest request) throws IOException, ApiException Get the results of a usage query- Parameters:
request- The request object- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getOauthClientUsageQueryResult
public ApiResponse<ApiUsageQueryResult> getOauthClientUsageQueryResult(ApiRequest<Void> request) throws IOException Get the results of a usage query- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getOauthClientUsageSummary
public UsageExecutionResult getOauthClientUsageSummary(String clientId, String days) throws IOException, ApiException Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
clientId- Client ID (required)days- Previous number of days to query (optional, default to 7)- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getOauthClientUsageSummaryWithHttpInfo
public ApiResponse<UsageExecutionResult> getOauthClientUsageSummaryWithHttpInfo(String clientId, String days) throws IOException Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
clientId- Client ID (required)days- Previous number of days to query (optional, default to 7)- Returns:
- UsageExecutionResult
- Throws:
IOException- if the request fails to be processed
-
getOauthClientUsageSummary
public UsageExecutionResult getOauthClientUsageSummary(GetOauthClientUsageSummaryRequest request) throws IOException, ApiException Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getOauthClientUsageSummary
public ApiResponse<UsageExecutionResult> getOauthClientUsageSummary(ApiRequest<Void> request) throws IOException Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUsageQueryExecutionIdResults
public ApiUsageQueryResult getUsageQueryExecutionIdResults(String executionId) throws IOException, ApiException Get the results of a usage query- Parameters:
executionId- ID of the query execution (required)- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageQueryExecutionIdResultsWithHttpInfo
public ApiResponse<ApiUsageQueryResult> getUsageQueryExecutionIdResultsWithHttpInfo(String executionId) throws IOException Get the results of a usage query- Parameters:
executionId- ID of the query execution (required)- Returns:
- ApiUsageQueryResult
- Throws:
IOException- if the request fails to be processed
-
getUsageQueryExecutionIdResults
public ApiUsageQueryResult getUsageQueryExecutionIdResults(GetUsageQueryExecutionIdResultsRequest request) throws IOException, ApiException Get the results of a usage query- Parameters:
request- The request object- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageQueryExecutionIdResults
public ApiResponse<ApiUsageQueryResult> getUsageQueryExecutionIdResults(ApiRequest<Void> request) throws IOException Get the results of a usage query- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUsageSimplesearchExecutionIdResults
public ApiUsageQueryResult getUsageSimplesearchExecutionIdResults(String executionId) throws IOException, ApiException Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
executionId- ID of the search execution (required)- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageSimplesearchExecutionIdResultsWithHttpInfo
public ApiResponse<ApiUsageQueryResult> getUsageSimplesearchExecutionIdResultsWithHttpInfo(String executionId) throws IOException Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
executionId- ID of the search execution (required)- Returns:
- ApiUsageQueryResult
- Throws:
IOException- if the request fails to be processed
-
getUsageSimplesearchExecutionIdResults
public ApiUsageQueryResult getUsageSimplesearchExecutionIdResults(GetUsageSimplesearchExecutionIdResultsRequest request) throws IOException, ApiException Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- The request object- Returns:
- ApiUsageQueryResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageSimplesearchExecutionIdResults
public ApiResponse<ApiUsageQueryResult> getUsageSimplesearchExecutionIdResults(ApiRequest<Void> request) throws IOException Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postOauthClientUsageQuery
public UsageExecutionResult postOauthClientUsageQuery(String clientId, ApiUsageClientQuery body) throws IOException, ApiException Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
clientId- Client ID (required)body- Query (required)- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postOauthClientUsageQueryWithHttpInfo
public ApiResponse<UsageExecutionResult> postOauthClientUsageQueryWithHttpInfo(String clientId, ApiUsageClientQuery body) throws IOException Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
clientId- Client ID (required)body- Query (required)- Returns:
- UsageExecutionResult
- Throws:
IOException- if the request fails to be processed
-
postOauthClientUsageQuery
public UsageExecutionResult postOauthClientUsageQuery(PostOauthClientUsageQueryRequest request) throws IOException, ApiException Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postOauthClientUsageQuery
public ApiResponse<UsageExecutionResult> postOauthClientUsageQuery(ApiRequest<ApiUsageClientQuery> request) throws IOException Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUsageQuery
public UsageExecutionResult postUsageQuery(ApiUsageOrganizationQuery body) throws IOException, ApiException Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
body- Query (required)- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUsageQueryWithHttpInfo
public ApiResponse<UsageExecutionResult> postUsageQueryWithHttpInfo(ApiUsageOrganizationQuery body) throws IOException Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
body- Query (required)- Returns:
- UsageExecutionResult
- Throws:
IOException- if the request fails to be processed
-
postUsageQuery
public UsageExecutionResult postUsageQuery(PostUsageQueryRequest request) throws IOException, ApiException Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUsageQuery
public ApiResponse<UsageExecutionResult> postUsageQuery(ApiRequest<ApiUsageOrganizationQuery> request) throws IOException Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postUsageSimplesearch
public UsageExecutionResult postUsageSimplesearch(ApiUsageSimpleSearch body) throws IOException, ApiException Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
body- SimpleSearch (required)- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUsageSimplesearchWithHttpInfo
public ApiResponse<UsageExecutionResult> postUsageSimplesearchWithHttpInfo(ApiUsageSimpleSearch body) throws IOException Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
body- SimpleSearch (required)- Returns:
- UsageExecutionResult
- Throws:
IOException- if the request fails to be processed
-
postUsageSimplesearch
public UsageExecutionResult postUsageSimplesearch(PostUsageSimplesearchRequest request) throws IOException, ApiException Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
request- The request object- Returns:
- UsageExecutionResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postUsageSimplesearch
public ApiResponse<UsageExecutionResult> postUsageSimplesearch(ApiRequest<ApiUsageSimpleSearch> request) throws IOException Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-