Package com.mypurecloud.sdk.v2.api
Class AlertingApi
java.lang.Object
com.mypurecloud.sdk.v2.api.AlertingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete an alertdeleteAlertingAlert(ApiRequest<Void> request) Delete an alertvoiddeleteAlertingAlert(String alertId) Delete an alertDelete all alerts for the userDelete all alerts for the userdeleteAlertingAlertsAll(ApiRequest<Void> request) Delete all alerts for the userDelete all alerts for the userdeleteAlertingAlertWithHttpInfo(String alertId) Delete an alertvoidDelete a rule.deleteAlertingRule(ApiRequest<Void> request) Delete a rule.voiddeleteAlertingRule(String ruleId) Delete a rule.deleteAlertingRuleWithHttpInfo(String ruleId) Delete a rule.getAlertingAlert(GetAlertingAlertRequest request) Get an alertgetAlertingAlert(ApiRequest<Void> request) Get an alertgetAlertingAlert(String alertId) Get an alertgetAlertingAlertWithHttpInfo(String alertId) Get an alertgetAlertingRule(GetAlertingRuleRequest request) Get a rule.getAlertingRule(ApiRequest<Void> request) Get a rule.getAlertingRule(String ruleId) Get a rule.getAlertingRuleWithHttpInfo(String ruleId) Get a rule.Allows an entity to mute/snooze an alert or update the unread status of the alert.patchAlertingAlert(ApiRequest<AlertRequest> request) Allows an entity to mute/snooze an alert or update the unread status of the alert.patchAlertingAlert(String alertId, AlertRequest body) Allows an entity to mute/snooze an alert or update the unread status of the alert.Updates all alertsUpdates all alertsUpdates all alertsUpdates all alertsBulk alert updatesBulk alert updatesBulk alert updatesBulk alert updatespatchAlertingAlertWithHttpInfo(String alertId, AlertRequest body) Allows an entity to mute/snooze an alert or update the unread status of the alert.Bulk update of notification listsBulk update of notification listsBulk update of notification listsBulk update of notification listsGets a paged list of alerts.postAlertingAlertsQuery(ApiRequest<GetAlertQuery> request) Gets a paged list of alerts.Gets a paged list of alerts.Gets a paged list of alerts.Create a Rule.postAlertingRules(ApiRequest<CommonRule> request) Create a Rule.postAlertingRules(CommonRule body) Create a Rule.Bulk remove rulesBulk remove rulesBulk remove rulesBulk remove rulesGet a paged list of rules.postAlertingRulesQuery(ApiRequest<GetRulesQuery> request) Get a paged list of rules.Get a paged list of rules.Get a paged list of rules.Create a Rule.putAlertingAlert(PutAlertingAlertRequest request) Update an alert read statusputAlertingAlert(ApiRequest<AlertingUnreadStatus> request) Update an alert read statusputAlertingAlert(String alertId, AlertingUnreadStatus body) Update an alert read statusputAlertingAlertWithHttpInfo(String alertId, AlertingUnreadStatus body) Update an alert read statusputAlertingRule(PutAlertingRuleRequest request) Update a ruleUpdate a ruleputAlertingRule(String ruleId, ModifiableRuleProperties body) Update a ruleputAlertingRuleWithHttpInfo(String ruleId, ModifiableRuleProperties body) Update a rule
-
Constructor Details
-
AlertingApi
public AlertingApi() -
AlertingApi
-
-
Method Details
-
deleteAlertingAlert
Delete an alert- Parameters:
alertId- Alert ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlertWithHttpInfo
Delete an alert- Parameters:
alertId- Alert ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingAlert
public void deleteAlertingAlert(DeleteAlertingAlertRequest request) throws IOException, ApiException Delete an alert- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlert
Delete an alert- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingAlertsAll
Delete all alerts for the user- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlertsAllWithHttpInfo
Delete all alerts for the user- Returns:
- Empty
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingAlertsAll
public Empty deleteAlertingAlertsAll(DeleteAlertingAlertsAllRequest request) throws IOException, ApiException Delete all alerts for the user- Parameters:
request- The request object- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlertsAll
Delete all alerts for the user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
ruleId- Rule Id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingRuleWithHttpInfo
Delete a rule.- Parameters:
ruleId- Rule Id (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlert
Get an alert- Parameters:
alertId- Alert ID (required)- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlertWithHttpInfo
Get an alert- Parameters:
alertId- Alert ID (required)- Returns:
- CommonAlert
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlert
public CommonAlert getAlertingAlert(GetAlertingAlertRequest request) throws IOException, ApiException Get an alert- Parameters:
request- The request object- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlert
Get an alert- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
ruleId- Rule Id (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingRuleWithHttpInfo
Get a rule.- Parameters:
ruleId- Rule Id (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlert
public CommonAlert patchAlertingAlert(String alertId, AlertRequest body) throws IOException, ApiException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertWithHttpInfo
public ApiResponse<CommonAlert> patchAlertingAlertWithHttpInfo(String alertId, AlertRequest body) throws IOException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- CommonAlert
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlert
public CommonAlert patchAlertingAlert(PatchAlertingAlertRequest request) throws IOException, ApiException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
request- The request object- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlert
public ApiResponse<CommonAlert> patchAlertingAlert(ApiRequest<AlertRequest> request) throws IOException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsAll
public Empty patchAlertingAlertsAll(CommonAllAlertUpdateRequest body) throws IOException, ApiException Updates all alerts- Parameters:
body- (optional)- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsAllWithHttpInfo
public ApiResponse<Empty> patchAlertingAlertsAllWithHttpInfo(CommonAllAlertUpdateRequest body) throws IOException Updates all alerts- Parameters:
body- (optional)- Returns:
- Empty
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsAll
public Empty patchAlertingAlertsAll(PatchAlertingAlertsAllRequest request) throws IOException, ApiException Updates all alerts- Parameters:
request- The request object- Returns:
- Empty
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsAll
public ApiResponse<Empty> patchAlertingAlertsAll(ApiRequest<CommonAllAlertUpdateRequest> request) throws IOException Updates all alerts- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public BulkResponse patchAlertingAlertsBulk(CommonAlertBulkUpdateRequest body) throws IOException, ApiException Bulk alert updates- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsBulkWithHttpInfo
public ApiResponse<BulkResponse> patchAlertingAlertsBulkWithHttpInfo(CommonAlertBulkUpdateRequest body) throws IOException Bulk alert updates- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public BulkResponse patchAlertingAlertsBulk(PatchAlertingAlertsBulkRequest request) throws IOException, ApiException Bulk alert updates- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public ApiResponse<BulkResponse> patchAlertingAlertsBulk(ApiRequest<CommonAlertBulkUpdateRequest> request) throws IOException Bulk alert updates- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingRulesBulk
public BulkResponse patchAlertingRulesBulk(CommonRuleBulkUpdateNotificationsRequest body) throws IOException, ApiException Bulk update of notification lists- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingRulesBulkWithHttpInfo
public ApiResponse<BulkResponse> patchAlertingRulesBulkWithHttpInfo(CommonRuleBulkUpdateNotificationsRequest body) throws IOException Bulk update of notification lists- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
patchAlertingRulesBulk
public BulkResponse patchAlertingRulesBulk(PatchAlertingRulesBulkRequest request) throws IOException, ApiException Bulk update of notification lists- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingRulesBulk
public ApiResponse<BulkResponse> patchAlertingRulesBulk(ApiRequest<CommonRuleBulkUpdateNotificationsRequest> request) throws IOException Bulk update of notification lists- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingAlertsQuery
Gets a paged list of alerts. The max page size is 50- Parameters:
body- (optional)- Returns:
- AlertListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingAlertsQueryWithHttpInfo
public ApiResponse<AlertListing> postAlertingAlertsQueryWithHttpInfo(GetAlertQuery body) throws IOException Gets a paged list of alerts. The max page size is 50- Parameters:
body- (optional)- Returns:
- AlertListing
- Throws:
IOException- if the request fails to be processed
-
postAlertingAlertsQuery
public AlertListing postAlertingAlertsQuery(PostAlertingAlertsQueryRequest request) throws IOException, ApiException Gets a paged list of alerts. The max page size is 50- Parameters:
request- The request object- Returns:
- AlertListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingAlertsQuery
public ApiResponse<AlertListing> postAlertingAlertsQuery(ApiRequest<GetAlertQuery> request) throws IOException Gets a paged list of alerts. The max page size is 50- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRules
Create a Rule.- Parameters:
body- rule to be created (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesWithHttpInfo
Create a Rule.- Parameters:
body- rule to be created (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
postAlertingRules
public CommonRule postAlertingRules(PostAlertingRulesRequest request) throws IOException, ApiException Create a Rule.- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRules
Create a Rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public BulkResponse postAlertingRulesBulkRemove(CommonRuleBulkDeleteRequest body) throws IOException, ApiException Bulk remove rules- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesBulkRemoveWithHttpInfo
public ApiResponse<BulkResponse> postAlertingRulesBulkRemoveWithHttpInfo(CommonRuleBulkDeleteRequest body) throws IOException Bulk remove rules- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public BulkResponse postAlertingRulesBulkRemove(PostAlertingRulesBulkRemoveRequest request) throws IOException, ApiException Bulk remove rules- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public ApiResponse<BulkResponse> postAlertingRulesBulkRemove(ApiRequest<CommonRuleBulkDeleteRequest> request) throws IOException Bulk remove rules- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesQuery
public CommonRuleContainer postAlertingRulesQuery(GetRulesQuery body) throws IOException, ApiException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
body- (optional)- Returns:
- CommonRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesQueryWithHttpInfo
public ApiResponse<CommonRuleContainer> postAlertingRulesQueryWithHttpInfo(GetRulesQuery body) throws IOException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
body- (optional)- Returns:
- CommonRuleContainer
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesQuery
public CommonRuleContainer postAlertingRulesQuery(PostAlertingRulesQueryRequest request) throws IOException, ApiException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
request- The request object- Returns:
- CommonRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesQuery
public ApiResponse<CommonRuleContainer> postAlertingRulesQuery(ApiRequest<GetRulesQuery> request) throws IOException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingAlert
public AlertingUnreadStatus putAlertingAlert(String alertId, AlertingUnreadStatus body) throws IOException, ApiException Update an alert read status- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- AlertingUnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingAlertWithHttpInfo
public ApiResponse<AlertingUnreadStatus> putAlertingAlertWithHttpInfo(String alertId, AlertingUnreadStatus body) throws IOException Update an alert read status- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- AlertingUnreadStatus
- Throws:
IOException- if the request fails to be processed
-
putAlertingAlert
public AlertingUnreadStatus putAlertingAlert(PutAlertingAlertRequest request) throws IOException, ApiException Update an alert read status- Parameters:
request- The request object- Returns:
- AlertingUnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingAlert
public ApiResponse<AlertingUnreadStatus> putAlertingAlert(ApiRequest<AlertingUnreadStatus> request) throws IOException Update an alert read status- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingRule
public CommonRule putAlertingRule(String ruleId, ModifiableRuleProperties body) throws IOException, ApiException Update a rule- Parameters:
ruleId- Rule Id (required)body- rule to be updated (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingRuleWithHttpInfo
public ApiResponse<CommonRule> putAlertingRuleWithHttpInfo(String ruleId, ModifiableRuleProperties body) throws IOException Update a rule- Parameters:
ruleId- Rule Id (required)body- rule to be updated (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
putAlertingRule
Update a rule- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingRule
public ApiResponse<CommonRule> putAlertingRule(ApiRequest<ModifiableRuleProperties> request) throws IOException Update a rule- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-