McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 605

↗ View in doc context
page
605
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::571

200 OK <?xml version="1.0" encoding="UTF-8"?> <RoutingRuleConditions total="2"> <RoutingRuleCondition> <URI>/vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a/routingruleconditions/2a5263b7-<ObjectId>2a5263b7-c896-47ff-ad8c-749e0459a28c</ObjectId> <RoutingRuleObjectId>d2f86bc0-4cab-4c29-9321-d756fe3add6a</RoutingRuleObjectId> <RoutingRuleURI>/vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a</RoutingRuleURI> <Parameter>1</Parameter> <Operator>2</Operator> <OperandValue>12345</OperandValue> </RoutingRuleCondition> <RoutingRuleCondition> <URI>/vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a/routingruleconditions/d9635722-<ObjectId>d9635722-f1ee-4459-a2d4-533f85cd2c24</ObjectId> <RoutingRuleObjectId>d2f86bc0-4cab-4c29-9321-d756fe3add6a</RoutingRuleObjectId> <RoutingRuleURI>/vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a</RoutingRuleURI> <Parameter>7</Parameter> <Operator>2</Operator> <OperandValue>4cc6c1be-e1ba-4fcf-be81-95bce20acbec</OperandValue> </RoutingRuleCondition> </RoutingRuleConditions> To retrieve a specific Routing Rule Condition by its ObjectId: GET https://<connection-server>/vmrest/routingrules/<routingruleobjectid>/routingruleconditions/<objectid> Creating The required fields for creating a Routing Rule Condition are Parameter, Operator, and OperandValue. All other Routing Rule Condition fields are optional. The following is an example of a POST that creates a Routing Rule Condition with Parameter=2 (Dialed Number), Operator=2 (Equals), and OperandValue=8675309: <RoutingRuleCondition> <Parameter>2</Parameter> <Operator>2</Operator> <OperandValue>8675309</OperandValue> </RoutingRuleCondition> The following is the response from the above POST request: 201 Created /vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a/routingruleconditions/74b50eeb-8c06-4e86 Updating The following is an example of a PUT request that modifies the OperandValue of an existing Routing Rule Condition to 5551212: PUT https://<connection-server>/vmrest/routingrules/d2f86bc0-4cab-4c29-9321-d756fe3add6a/routingruleconditions <RoutingRuleCondition> <OperandValue>5551212</OperandValue> </RoutingRuleCondition> Cisco Unity Connection Provisioning Interface (CUPI) API 573 Cisco Unity Connection Provisioning Interface (CUPI) API--Call Routing Creating