Package com.mypurecloud.sdk.v2.api
Class UsageApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.UsageApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOauthClientUsageQueryResultAsync(GetOauthClientUsageQueryResultRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage querygetOauthClientUsageQueryResultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage querygetOauthClientUsageSummaryAsync(GetOauthClientUsageSummaryRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 IdgetOauthClientUsageSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 IdgetUsageAggregatesQueryJobAsync(GetUsageAggregatesQueryJobRequest request, AsyncApiCallback<OrganizationPublicApiUsageResultsResponse> callback) Get the status and results of the usage querygetUsageAggregatesQueryJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<OrganizationPublicApiUsageResultsResponse>> callback) Get the status and results of the usage querygetUsageClientClientIdAggregatesQueryJobAsync(GetUsageClientClientIdAggregatesQueryJobRequest request, AsyncApiCallback<ClientPublicApiUsageResultsResponse> callback) Get the status and results of the usage querygetUsageClientClientIdAggregatesQueryJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ClientPublicApiUsageResultsResponse>> callback) Get the status and results of the usage querygetUsageQueryExecutionIdResultsAsync(GetUsageQueryExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage querygetUsageQueryExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage querygetUsageSimplesearchExecutionIdResultsAsync(GetUsageSimplesearchExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage search.getUsageSimplesearchExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage search.postOauthClientUsageQueryAsync(PostOauthClientUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 IdpostOauthClientUsageQueryAsync(ApiRequest<ApiUsageClientQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 IdpostUsageAggregatesQueryJobsAsync(PostUsageAggregatesQueryJobsRequest request, AsyncApiCallback<OrganizationUsageQueryResponse> callback) Query your organization's public api usage.postUsageAggregatesQueryJobsAsync(ApiRequest<OrganizationPublicApiUsageQueryRequest> request, AsyncApiCallback<ApiResponse<OrganizationUsageQueryResponse>> callback) Query your organization's public api usage.postUsageClientClientIdAggregatesQueryJobsAsync(PostUsageClientClientIdAggregatesQueryJobsRequest request, AsyncApiCallback<ClientUsageQueryResponse> callback) Query your client's public api usage.postUsageClientClientIdAggregatesQueryJobsAsync(ApiRequest<ClientPublicApiUsageQueryRequest> request, AsyncApiCallback<ApiResponse<ClientUsageQueryResponse>> callback) Query your client's public api usage.postUsageQueryAsync(PostUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageQueryAsync(ApiRequest<ApiUsageOrganizationQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageSimplesearchAsync(PostUsageSimplesearchRequest request, AsyncApiCallback<UsageExecutionResult> callback) Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.postUsageSimplesearchAsync(ApiRequest<ApiUsageSimpleSearch> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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
-
UsageApiAsync
public UsageApiAsync() -
UsageApiAsync
-
-
Method Details
-
getOauthClientUsageQueryResultAsync
public Future<ApiUsageQueryResult> getOauthClientUsageQueryResultAsync(GetOauthClientUsageQueryResultRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageQueryResultAsync
public Future<ApiResponse<ApiUsageQueryResult>> getOauthClientUsageQueryResultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageSummaryAsync
public Future<UsageExecutionResult> getOauthClientUsageSummaryAsync(GetOauthClientUsageSummaryRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageSummaryAsync
public Future<ApiResponse<UsageExecutionResult>> getOauthClientUsageSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageAggregatesQueryJobAsync
public Future<OrganizationPublicApiUsageResultsResponse> getUsageAggregatesQueryJobAsync(GetUsageAggregatesQueryJobRequest request, AsyncApiCallback<OrganizationPublicApiUsageResultsResponse> callback) Get the status and results of the usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageAggregatesQueryJobAsync
public Future<ApiResponse<OrganizationPublicApiUsageResultsResponse>> getUsageAggregatesQueryJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<OrganizationPublicApiUsageResultsResponse>> callback) Get the status and results of the usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageClientClientIdAggregatesQueryJobAsync
public Future<ClientPublicApiUsageResultsResponse> getUsageClientClientIdAggregatesQueryJobAsync(GetUsageClientClientIdAggregatesQueryJobRequest request, AsyncApiCallback<ClientPublicApiUsageResultsResponse> callback) Get the status and results of the usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageClientClientIdAggregatesQueryJobAsync
public Future<ApiResponse<ClientPublicApiUsageResultsResponse>> getUsageClientClientIdAggregatesQueryJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ClientPublicApiUsageResultsResponse>> callback) Get the status and results of the usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageQueryExecutionIdResultsAsync
public Future<ApiUsageQueryResult> getUsageQueryExecutionIdResultsAsync(GetUsageQueryExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageQueryExecutionIdResultsAsync
public Future<ApiResponse<ApiUsageQueryResult>> getUsageQueryExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageSimplesearchExecutionIdResultsAsync
public Future<ApiUsageQueryResult> getUsageSimplesearchExecutionIdResultsAsync(GetUsageSimplesearchExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageSimplesearchExecutionIdResultsAsync
public Future<ApiResponse<ApiUsageQueryResult>> getUsageSimplesearchExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postOauthClientUsageQueryAsync
public Future<UsageExecutionResult> postOauthClientUsageQueryAsync(PostOauthClientUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postOauthClientUsageQueryAsync
public Future<ApiResponse<UsageExecutionResult>> postOauthClientUsageQueryAsync(ApiRequest<ApiUsageClientQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageAggregatesQueryJobsAsync
public Future<OrganizationUsageQueryResponse> postUsageAggregatesQueryJobsAsync(PostUsageAggregatesQueryJobsRequest request, AsyncApiCallback<OrganizationUsageQueryResponse> callback) Query your organization's public api usage. After calling this method, you will need to save the queryExecutionId from the response and use it in a call to the results endpoint to get the results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageAggregatesQueryJobsAsync
public Future<ApiResponse<OrganizationUsageQueryResponse>> postUsageAggregatesQueryJobsAsync(ApiRequest<OrganizationPublicApiUsageQueryRequest> request, AsyncApiCallback<ApiResponse<OrganizationUsageQueryResponse>> callback) Query your organization's public api usage. After calling this method, you will need to save the queryExecutionId from the response and use it in a call to the results endpoint to get the results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageClientClientIdAggregatesQueryJobsAsync
public Future<ClientUsageQueryResponse> postUsageClientClientIdAggregatesQueryJobsAsync(PostUsageClientClientIdAggregatesQueryJobsRequest request, AsyncApiCallback<ClientUsageQueryResponse> callback) Query your client's public api usage. After calling this method, you will need to save the queryExecutionId from the response and use it in a call to the results endpoint to get the results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageClientClientIdAggregatesQueryJobsAsync
public Future<ApiResponse<ClientUsageQueryResponse>> postUsageClientClientIdAggregatesQueryJobsAsync(ApiRequest<ClientPublicApiUsageQueryRequest> request, AsyncApiCallback<ApiResponse<ClientUsageQueryResponse>> callback) Query your client's public api usage. After calling this method, you will need to save the queryExecutionId from the response and use it in a call to the results endpoint to get the results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageQueryAsync
public Future<UsageExecutionResult> postUsageQueryAsync(PostUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageQueryAsync
public Future<ApiResponse<UsageExecutionResult>> postUsageQueryAsync(ApiRequest<ApiUsageOrganizationQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageSimplesearchAsync
public Future<UsageExecutionResult> postUsageSimplesearchAsync(PostUsageSimplesearchRequest request, AsyncApiCallback<UsageExecutionResult> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageSimplesearchAsync
public Future<ApiResponse<UsageExecutionResult>> postUsageSimplesearchAsync(ApiRequest<ApiUsageSimpleSearch> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) 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 objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-