Class Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()Deletes the extension's interaction rule by ID specified in URL.get()Returns the extension's interaction rule by ID specified in URL.list()list(ListVoiceInteractionRulesParameters queryParams) Returns a list of extension's interaction rules with the detailed information on each rule.patch(CommInteractionRuleUpdateRequest commInteractionRuleUpdateRequest) Updates the extension's interaction rule by ID specified in URL.path()post(CommInteractionRuleCreateRequest commInteractionRuleCreateRequest) Creates the extension's interaction rule.
-
Field Details
-
rc
-
parent
-
ruleId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public CommInteractionRulesResource list(ListVoiceInteractionRulesParameters queryParams) throws RestException, IOException Returns a list of extension's interaction rules with the detailed information on each rule.*Interaction* rule is a call handling rule, managing voice call on the basis of the user's **contact** or a **phone number** which is calling and/or being called.
**Please note:** Interaction rules are applicable to the User extension types only: User, DigitalUser, FaxUser, VirtualUser.
HTTP Method: get Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/comm-handling/voice/interaction-rules Rate Limit Group: Medium App Permission: ReadAccounts
- Throws:
RestExceptionIOException
-
list
- Throws:
RestExceptionIOException
-
post
public CommInteractionRuleResource post(CommInteractionRuleCreateRequest commInteractionRuleCreateRequest) throws RestException, IOException Creates the extension's interaction rule.*Interaction* rule is a call handling rule, managing voice call on the basis of the user's **contact** or a **phone number** which is calling and/or being called.
**Please note:** Interaction rules are applicable to the User extension types only: User, DigitalUser, FaxUser, VirtualUser.
HTTP Method: post Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/comm-handling/voice/interaction-rules Rate Limit Group: Medium App Permission: EditExtensions
- Throws:
RestExceptionIOException
-
get
Returns the extension's interaction rule by ID specified in URL.*Interaction* rule is a call handling rule, managing voice call on the basis of the user's **contact** or a **phone number** which is calling and/or being called.
HTTP Method: get Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/comm-handling/voice/interaction-rules/{ruleId} Rate Limit Group: Medium App Permission: ReadAccounts
- Throws:
RestExceptionIOException
-
delete
Deletes the extension's interaction rule by ID specified in URL. HTTP Method: delete Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/comm-handling/voice/interaction-rules/{ruleId} Rate Limit Group: Medium App Permission: EditExtensions- Throws:
RestExceptionIOException
-
patch
public CommInteractionRuleResource patch(CommInteractionRuleUpdateRequest commInteractionRuleUpdateRequest) throws RestException, IOException Updates the extension's interaction rule by ID specified in URL. HTTP Method: patch Endpoint: /restapi/v2/accounts/{accountId}/extensions/{extensionId}/comm-handling/voice/interaction-rules/{ruleId} Rate Limit Group: Medium App Permission: EditExtensions- Throws:
RestExceptionIOException
-