Package com.mypurecloud.sdk.v2.api
Class AuditApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.AuditApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuditsQueryRealtimeServicemappingAsync(GetAuditsQueryRealtimeServicemappingRequest request, AsyncApiCallback<AuditQueryServiceMapping> callback) Get service mapping information used in realtime audits.getAuditsQueryRealtimeServicemappingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryServiceMapping>> callback) Get service mapping information used in realtime audits.getAuditsQueryServicemappingAsync(GetAuditsQueryServicemappingRequest request, AsyncApiCallback<AuditQueryServiceMapping> callback) Get service mapping information used in audits.getAuditsQueryServicemappingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryServiceMapping>> callback) Get service mapping information used in audits.getAuditsQueryTransactionIdAsync(GetAuditsQueryTransactionIdRequest request, AsyncApiCallback<AuditQueryExecutionStatusResponse> callback) Get status of audit query executiongetAuditsQueryTransactionIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionStatusResponse>> callback) Get status of audit query executiongetAuditsQueryTransactionIdResultsAsync(GetAuditsQueryTransactionIdResultsRequest request, AsyncApiCallback<AuditQueryExecutionResultsResponse> callback) Get results of audit querygetAuditsQueryTransactionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionResultsResponse>> callback) Get results of audit querypostAuditsQueryAsync(PostAuditsQueryRequest request, AsyncApiCallback<AuditQueryExecutionStatusResponse> callback) Create audit query execution Use /api/v2/audits/query/servicemapping endpoint for a list of valid valuespostAuditsQueryAsync(ApiRequest<AuditQueryRequest> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionStatusResponse>> callback) Create audit query execution Use /api/v2/audits/query/servicemapping endpoint for a list of valid valuespostAuditsQueryRealtimeAsync(PostAuditsQueryRealtimeRequest request, AsyncApiCallback<AuditRealtimeQueryResultsResponse> callback) This endpoint will only retrieve 14 days worth of audits for certain services.postAuditsQueryRealtimeAsync(ApiRequest<AuditRealtimeQueryRequest> request, AsyncApiCallback<ApiResponse<AuditRealtimeQueryResultsResponse>> callback) This endpoint will only retrieve 14 days worth of audits for certain services.postAuditsQueryRealtimeRelatedAsync(PostAuditsQueryRealtimeRelatedRequest request, AsyncApiCallback<AuditRealtimeRelatedResultsResponse> callback) Often a single action results in multiple audits.postAuditsQueryRealtimeRelatedAsync(ApiRequest<AuditRealtimeRelatedRequest> request, AsyncApiCallback<ApiResponse<AuditRealtimeRelatedResultsResponse>> callback) Often a single action results in multiple audits.
-
Constructor Details
-
AuditApiAsync
public AuditApiAsync() -
AuditApiAsync
-
-
Method Details
-
getAuditsQueryRealtimeServicemappingAsync
public Future<AuditQueryServiceMapping> getAuditsQueryRealtimeServicemappingAsync(GetAuditsQueryRealtimeServicemappingRequest request, AsyncApiCallback<AuditQueryServiceMapping> callback) Get service mapping information used in realtime audits.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryRealtimeServicemappingAsync
public Future<ApiResponse<AuditQueryServiceMapping>> getAuditsQueryRealtimeServicemappingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryServiceMapping>> callback) Get service mapping information used in realtime audits.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryServicemappingAsync
public Future<AuditQueryServiceMapping> getAuditsQueryServicemappingAsync(GetAuditsQueryServicemappingRequest request, AsyncApiCallback<AuditQueryServiceMapping> callback) Get service mapping information used in audits.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryServicemappingAsync
public Future<ApiResponse<AuditQueryServiceMapping>> getAuditsQueryServicemappingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryServiceMapping>> callback) Get service mapping information used in audits.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryTransactionIdAsync
public Future<AuditQueryExecutionStatusResponse> getAuditsQueryTransactionIdAsync(GetAuditsQueryTransactionIdRequest request, AsyncApiCallback<AuditQueryExecutionStatusResponse> callback) Get status of audit query execution- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryTransactionIdAsync
public Future<ApiResponse<AuditQueryExecutionStatusResponse>> getAuditsQueryTransactionIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionStatusResponse>> callback) Get status of audit query execution- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryTransactionIdResultsAsync
public Future<AuditQueryExecutionResultsResponse> getAuditsQueryTransactionIdResultsAsync(GetAuditsQueryTransactionIdResultsRequest request, AsyncApiCallback<AuditQueryExecutionResultsResponse> callback) Get results of audit query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAuditsQueryTransactionIdResultsAsync
public Future<ApiResponse<AuditQueryExecutionResultsResponse>> getAuditsQueryTransactionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionResultsResponse>> callback) Get results of audit query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryAsync
public Future<AuditQueryExecutionStatusResponse> postAuditsQueryAsync(PostAuditsQueryRequest request, AsyncApiCallback<AuditQueryExecutionStatusResponse> callback) Create audit query execution Use /api/v2/audits/query/servicemapping endpoint for a list of valid values- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryAsync
public Future<ApiResponse<AuditQueryExecutionStatusResponse>> postAuditsQueryAsync(ApiRequest<AuditQueryRequest> request, AsyncApiCallback<ApiResponse<AuditQueryExecutionStatusResponse>> callback) Create audit query execution Use /api/v2/audits/query/servicemapping endpoint for a list of valid values- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryRealtimeAsync
public Future<AuditRealtimeQueryResultsResponse> postAuditsQueryRealtimeAsync(PostAuditsQueryRealtimeRequest request, AsyncApiCallback<AuditRealtimeQueryResultsResponse> callback) This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits. Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryRealtimeAsync
public Future<ApiResponse<AuditRealtimeQueryResultsResponse>> postAuditsQueryRealtimeAsync(ApiRequest<AuditRealtimeQueryRequest> request, AsyncApiCallback<ApiResponse<AuditRealtimeQueryResultsResponse>> callback) This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits. Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryRealtimeRelatedAsync
public Future<AuditRealtimeRelatedResultsResponse> postAuditsQueryRealtimeRelatedAsync(PostAuditsQueryRealtimeRelatedRequest request, AsyncApiCallback<AuditRealtimeRelatedResultsResponse> callback) Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAuditsQueryRealtimeRelatedAsync
public Future<ApiResponse<AuditRealtimeRelatedResultsResponse>> postAuditsQueryRealtimeRelatedAsync(ApiRequest<AuditRealtimeRelatedRequest> request, AsyncApiCallback<ApiResponse<AuditRealtimeRelatedResultsResponse>> callback) Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-