Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.extension.answeringrule.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Deletes a custom call handling rule by a particular ID.get()
get
(ReadAnsweringRuleParameters queryParams) Returns a call handling rule by ID.list()
list
(ListAnsweringRulesParameters queryParams) Returns call handling rules of an extension.path()
post
(CreateAnsweringRuleRequest createAnsweringRuleRequest) Creates a custom call handling rule for a particular caller ID.put
(UpdateAnsweringRuleRequest updateAnsweringRuleRequest) Updates a custom call handling rule for a particular caller ID.
-
Field Details
-
rc
-
parent
-
ruleId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public UserAnsweringRuleList list(ListAnsweringRulesParameters queryParams) throws RestException, IOException Returns call handling rules of an extension. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/answering-rule Rate Limit Group: Medium App Permission: ReadAccounts User Permission: ReadUserAnsweringRules- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
post
public CustomAnsweringRuleInfo post(CreateAnsweringRuleRequest createAnsweringRuleRequest) throws RestException, IOException Creates a custom call handling rule for a particular caller ID. HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/answering-rule Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserAnsweringRules- Throws:
RestException
IOException
-
get
public AnsweringRuleInfo get(ReadAnsweringRuleParameters queryParams) throws RestException, IOException Returns a call handling rule by ID. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId} Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadUserAnsweringRules- Throws:
RestException
IOException
-
get
- Throws:
RestException
IOException
-
put
public AnsweringRuleInfo put(UpdateAnsweringRuleRequest updateAnsweringRuleRequest) throws RestException, IOException Updates a custom call handling rule for a particular caller ID. HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId} Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserAnsweringRules- Throws:
RestException
IOException
-
delete
Deletes a custom call handling rule by a particular ID. HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId} Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserAnsweringRules- Throws:
RestException
IOException
-