Method set.call_processing_rule_is_active
Description Setting the call processing rule activity
Available to Agent, Client

Request parameters

Title Type Required Description
access_token string yes Authentication session key
user_id number no Unique user identifier of the client agent on behalf of which the request is made
Is required for the agent
To obtain a list of client users, you must use the method "get.customer_users"
id number yes Call processing rule ID "getobj.call_processing_rules"
type enum yes Rule type. Valid values scenario
is_active boolean yes Rule activity status

JSON request structure```json

{ "jsonrpc":"2.0", "id":"number", "method":"set.call_processing_rule_is_active", "params":{ "access_token":"string", "user_id":"number", "id": "number", "type": "enum", "is_active": "boolean" } }

### JSON response structure```json
{
   "jsonrpc": "2.0",
   "id": "number",
   "result":    {
      "data": {},
      "metadata": {}
   }
}

List of returned errors

See the section "List of errors for methods with the verb get"