[Index]
Model ref.: device/cucm/RoutePattern
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "destination": { "title": "Destination", "minItems": 1, "required": true, "maxItems": 1, "type": "object", "properties": { "routeListName": { "description": " Choose the gateway or route list for which you are adding a route pattern. \n \n \n \n Note\u00a0\u00a0\u00a0 \n If the gateway is included in a Route Group, this drop-down list box does not display the gateway. When a gateway is chosen in the drop-down list box, \n Cisco Unified Communications Manager uses all the ports in the gateway to route/block this route pattern. This action does not apply for MGCP gateways. \n \n \n ", "format": "uri", "minItems": 0, "title": "Gateway/Route List", "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target": "/api/device/cucm/RouteList/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "device/cucm/RouteList", "type": "string", "name": "routeListName" }, "gatewayName": { "name": "gatewayName", "format": "uri", "minItems": 0, "title": "Gateway Name", "required": false, "choices": [], "target_attr": "domainName", "maxItems": 1, "target_model_type": "device/cucm/Gateway", "type": "string", "target": "/api/device/cucm/Gateway/choices/?field=domainName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "clientCodeRequired": { "description": " If you want to use client matter codes with this route pattern, check this check box. The CMC feature does not support overlap sending because the \n Cisco Unified Communications Manager cannot determine when to prompt the user for the code. If you check the Allow Overlap Sending check box, the Require Client Matter Code check box become disabled. ", "title": "Require Client Matter Code", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "callingPartyPrefixDigits": { "description": " Enter prefix digits in the Prefix Digits (Outgoing Calls) field. Valid entries for the National Numbering Plan include the digits 0 through 9, the wildcard characters asterisk (*) and octothorpe (#), the international escape character +, and blank. \n \n \n \n Note\u00a0\u00a0\u00a0 \n The appended prefix digit does not affect which directory numbers route to the assigned device. \n \n \n ", "title": "Prefix Digits (Outgoing Calls)", "minItems": 0, "pattern": "^[0-9*#+]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] }, "callingPartyNumberingPlan": { "description": " Choose the format for the numbering plan in calling party directory numbers. \n Cisco Unified Communications Manager sets the calling DN numbering plan. Cisco recommends that you do not change the default value unless you have advanced experience with dialing plans such as NANP or the European dialing plan. You may need to change the default in Europe because \n Cisco Unified Communications Manager does not recognize European national dialing patterns. You can also change this setting when you are connecting to PBXs by using routing as a non national type number. Choose one of the following options: \n \n \n \n \n Cisco Unified Communications Manager\u2014Use when the \n Cisco Unified Communications Manager sets the Numbering Plan in the directory number. \n \n ISDN\u2014Use when you are dialing outside the dialing plan for your country. \n \n National Standard\u2014Use when you are dialing within the dialing plan for your country. \n \n Private\u2014Use when you are dialing within a private network. \n \n Unknown\u2014Use when the dialing plan is unknown. \n ", "title": "Calling Party Numbering Plan", "minItems": 0, "required": false, "choices": [ { "value": "Cisco CallManager", "title": "Cisco CallManager" }, { "value": "ISDN", "title": "ISDN" }, { "value": "National Standard", "title": "National Standard" }, { "value": "Private", "title": "Private" }, { "value": "Unknown", "title": "Unknown" } ], "default": "Cisco CallManager", "maxItems": 1, "type": "string" }, "connectedLinePresentationBit": { "description": " \n Cisco Unified Communications Manager uses connected line ID presentation (COLP/COLR) as a supplementary service to allow or restrict the called party phone number on a call-by-call basis. Choose whether you want \n Cisco Unified Communications Manager to allow or restrict the display of the connected party phone number on the calling party phone display for this route pattern. Choose Default if you do not want to change the connected line ID presentation. Choose Allowed if you want to display the connected party phone number. Choose Restricted if you want \n Cisco Unified Communications Manager to block the display of the connected party phone number. If a call that originates from an IP phone on Cisco Unified Communications Manager encounters a device, such as a trunk, gateway, or route pattern, that has the Connected Line ID Presentation set to Default, the presentation value is automatically set to Allowed. ", "title": "Connected Line ID Presentation", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Allowed", "title": "Allowed" }, { "value": "Restricted", "title": "Restricted" } ], "default": "Default", "maxItems": 1, "type": "string" }, "routePartitionName": { "description": " If you want to use a partition to restrict access to the route pattern, choose the desired partition from the drop-down list box. If you do not want to restrict access to the route pattern, choose <None> for the partition. You can configure the number of partitions that display in this drop-down list box by using the Max List Box Items enterprise parameter. If more partitions exist than the Max List Box Items enterprise parameter specifies, the Find button displays next to the drop-down list box. Click the Find button to display the Find and List Partitions window, then find and choose a partition name. \n \n \n \n Note\u00a0\u00a0\u00a0 \n To set the maximum list box items, choose System > Enterprise Parameters and choose CCMAdmin Parameters. \n \n \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n Make sure that the combination of route pattern, route filter, and partition is unique within the \n Cisco Unified Communications Manager cluster. \n \n \n ", "format": "uri", "minItems": 1, "title": "Route Partition", "required": true, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/RoutePartition", "type": [ "string", "null" ], "target": "/api/device/cucm/RoutePartition/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "blockedCallPercentage": { "description": "This tag is only valid when value of enabledccenforcement is true", "title": "Blocked Call Percentage", "minItems": 0, "required": false, "maxItems": 1, "type": [ "string", "null" ] }, "blockEnable": { "minItems": 1, "required": false, "type": "boolean", "maxItems": 1, "title": "Block Enable" }, "callingPartyNumberType": { "description": " Choose the format for the number type in calling party directory numbers. \n Cisco Unified Communications Manager sets the calling directory number (DN) type. Cisco recommends that you do not change the default value unless you have advanced experience with dialing plans such as NANP or the European dialing plan. You may need to change the default in Europe because \n Cisco Unified Communications Manager does not recognize European national dialing patterns. You can also change this setting when you are connecting to a PBX that expects the calling directory number to be encoded to a non-national numbering plan type. Choose one of the following options: \n \n \n \n \n Cisco Unified Communications Manager\u2014The \n Cisco Unified Communications Manager sets the directory number type. \n \n Unknown\u2014Use when the dialing plan is unknown. \n \n National\u2014Use when you are dialing within the dialing plan for your country. \n \n International\u2014Use when you are dialing outside the dialing plan for your country. \n \n Subscriber\u2014Use when you are dialing a subscriber by using a shortened subscriber number. \n ", "title": "Calling Party Number Type", "minItems": 0, "required": false, "choices": [ { "value": "Cisco CallManager", "title": "Cisco CallManager" }, { "value": "Unknown", "title": "Unknown" }, { "value": "National", "title": "National" }, { "value": "International", "title": "International" }, { "value": "Subscriber", "title": "Subscriber" } ], "default": "Cisco CallManager", "maxItems": 1, "type": "string" }, "externalCallControl": { "description": "In \n Cisco Unified Communications Manager, you enable external call control by assigning an external call control profile to a route pattern. If the route pattern has an external call control profile assigned to it, when a call occurs that matches the route pattern, \n Cisco Unified Communications Manager immediately sends a call-routing query to an adjunct route server, and the adjunct route server directs \n Cisco Unified Communications Manager on how to handle the call. From the drop-down list box, choose the external call profile that you want to assign to the route pattern. ", "format": "uri", "minItems": 0, "title": "External Call Control", "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/ExternalCallControlProfile", "type": [ "string", "null" ], "target": "/api/device/cucm/ExternalCallControlProfile/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "provideOutsideDialtone": { "description": " Check this check box to provide outside dial tone. To route the call in the network, leave the check box unchecked. ", "title": "Provide Outside Dial Tone", "minItems": 0, "required": false, "default": true, "maxItems": 1, "type": "boolean" }, "calledPartyTransformationMask": { "description": " Enter a transformation mask value. Valid entries for the National Numbering Plan include the digits 0 through 9; the wildcard characters X, asterisk (*), and octothorpe (#); the international escape character +; and blank. If the field is blank, no transformation takes place. \n Cisco Unified Communications Manager sends the dialed digits exactly as dialed. ", "title": "Called Party Transform Mask", "minItems": 0, "pattern": "^[0-9*#+X]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] }, "pattern": { "description": " Enter the route pattern, including numbers and wildcards (do not use spaces); for example, for NANP, enter 9.@ for typical local access or 8XXX for a typical private network numbering plan. Valid characters include the uppercase characters A, B, C, and D and \\+, which represents the international escape character +. \n \n \n \n Note\u00a0\u00a0\u00a0 \n Ensure that the directory route pattern, which uses the chosen partition, route filter, and numbering plan combination, is unique. Check the route pattern, translation pattern, directory number, call park number, call pickup number, message waiting on/off, or meet me number if you receive an error that indicates duplicate entries. You can also check the route plan report. \n \n \n ", "title": "Route Pattern", "minItems": 1, "required": true, "maxItems": 1, "type": "string" }, "patternPrecedence": { "description": " Choose an MLPP precedence setting for this route pattern from the drop-down list box: \n \n \n \n Executive Override\u2014Highest precedence setting for MLPP calls. \n \n Flash Override\u2014Second highest precedence setting for MLPP calls. \n \n Flash\u2014Third highest precedence setting for MLPP calls. \n \n Immediate\u2014Fourth highest precedence setting for MLPP calls. \n \n Priority\u2014Fifth highest precedence setting for MLPP calls. \n \n Routine\u2014Lowest precedence setting for MLPP calls. \n \n Default\u2014Does not override the incoming precedence level but rather lets it pass unchanged. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n You cannot configure the Multilevel Precedence Preemption (MLPP) level on the Route Pattern page to flash, flash override, or executive override levels if you want to enable the DCC feature. You must set the MLPP level to these levels at the translation pattern instead. \n \n \n ", "title": "MLPP Precedence", "minItems": 0, "required": false, "choices": [ { "value": "Flash Override", "title": "Flash Override" }, { "value": "Flash", "title": "Flash" }, { "value": "Immediate", "title": "Immediate" }, { "value": "Priority", "title": "Priority" }, { "value": "Routine", "title": "Routine" }, { "value": "Default", "title": "Default" }, { "value": "Executive Override", "title": "Executive Override" } ], "default": "Default", "maxItems": 1, "type": "string" }, "releaseClause": { "description": " The Route Option designation indicates whether you want this route pattern to be used for routing calls (such as 9.@ or 8[2-9]XX) or for blocking calls. Choose the Route this pattern or Block this pattern radio button. If you choose the Block this pattern radio button, you must choose the reason for which you want this route pattern to block calls. Choose a value from the drop-down list box: \n \n \n \n No Error \n \n Unallocated Number \n \n Call Rejected \n \n Number Changed \n \n Invalid Number Format \n \n Precedence Level Exceeded \n ", "title": "Block this pattern", "minItems": 0, "required": false, "choices": [ { "value": "No Error", "title": "No Error" }, { "value": "Unallocated Number", "title": "Unallocated Number" }, { "value": "Call Rejected", "title": "Call Rejected" }, { "value": "Number Changed", "title": "Number Changed" }, { "value": "Invalid Number Format", "title": "Invalid Number Format" }, { "value": "Precedence Level Exceeded", "title": "Precedence Level Exceeded" } ], "default": "No Error", "maxItems": 1, "type": "string" }, "prefixDigitsOut": { "description": " Enter prefix digits in the Prefix Digits (Outgoing Calls) field. Valid entries for the National Numbering Plan include the digits 0 through 9, the wildcard characters asterisk (*) and octothorpe (#), the international escape character +, and blank. \n \n \n \n Note\u00a0\u00a0\u00a0 \n The appended prefix digit does not affect which directory numbers route to the assigned device. \n \n \n ", "title": "Prefix Digits (Outgoing Calls)", "minItems": 1, "pattern": "^[0-9*#+]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] }, "calledPartyNumberingPlan": { "description": " Choose the format for the numbering plan in called party directory numbers. \n Cisco Unified Communications Manager sets the called DN numbering plan. Cisco recommends that you do not change the default value unless you have advanced experience with dialing plans such as NANP or the European dialing plan. You may need to change the default in Europe because \n Cisco Unified Communications Manager does not recognize European national dialing patterns. You can also change this setting when you are connecting to PBXs by using routing as a non national type number. Choose one of the following options: \n \n \n \n \n Cisco Unified Communications Manager\u2014Use when the \n Cisco Unified Communications Manager sets the Numbering Plan in the directory number. \n \n ISDN\u2014Use when you are dialing outside the dialing plan for your country. \n \n National Standard\u2014Use when you are dialing within the dialing plan for your country. \n \n Private\u2014Use when you are dialing within a private network. \n \n Unknown\u2014Use when the dialing plan is unknown. \n ", "title": "Called Party Numbering Plan", "minItems": 0, "required": false, "choices": [ { "value": "Cisco CallManager", "title": "Cisco CallManager" }, { "value": "ISDN", "title": "ISDN" }, { "value": "National Standard", "title": "National Standard" }, { "value": "Private", "title": "Private" }, { "value": "Unknown", "title": "Unknown" } ], "default": "Cisco CallManager", "maxItems": 1, "type": "string" }, "connectedNamePresentationBit": { "description": " \n Cisco Unified Communications Manager uses connected name presentation (CONP/CONR) as a supplementary service to allow or restrict the called party name on a call-by-call basis. Choose whether you want \n Cisco Unified Communications Manager to allow or restrict the display of the connected party name on the calling party phone display for this route pattern. Choose Default if you do not want to change the connected name presentation. Choose Allowed if you want to display the connected party name. Choose Restricted if you want \n Cisco Unified Communications Manager to block the display of the connected party name. ", "title": "Connected Name Presentation", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Allowed", "title": "Allowed" }, { "value": "Restricted", "title": "Restricted" } ], "default": "Default", "maxItems": 1, "type": "string" }, "description": { "description": " Enter a description of the route pattern. The description can include up to 50 characters in any language, but it cannot include double-quotes (\"), percentage sign (%), ampersand (&), or angle brackets (<>). ", "title": "Description", "minItems": 0, "required": false, "maxItems": 1, "maxLength": 50, "type": "string" }, "routeClass": { "description": " Choose a route class setting for this translation pattern from the drop-down list box: \n \n \n \n Default \n \n Voice \n \n Data \n \n Satellite Avoidance \n \n Hotline voice \n \n Hotline data \n The route class is a DSN code that identifies the class of traffic for a call. The route class informs downstream devices about special routing or termination requirements. The Default setting uses the existing route class of the incoming call. You can use non-default route class settings to translate an inbound T1 CAS route class digit into a \n Cisco Unified Communications Manager route class value (and strip off the digit). You should not need to assign a non-default route class setting to any other inbound calls that use pattern configuration. If the route pattern points to a SIP trunk supporting G.Clear, then specify Data or Hotline as the Route Class. ", "title": "Route Class", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Voice", "title": "Voice" }, { "value": "Data", "title": "Data" }, { "value": "Satellite Avoidance", "title": "Satellite Avoidance" }, { "value": "Hotline Voice", "title": "Hotline Voice" }, { "value": "Hotline Data", "title": "Hotline Data" } ], "default": "Default", "maxItems": 1, "type": "string" }, "callingNamePresentationBit": { "description": " \n Cisco Unified Communications Manager uses calling name presentation (CNIP/CNIR) as a supplementary service to allow or restrict the originating caller name on a call-by-call basis. Choose whether you want the \n Cisco Unified Communications Manager to allow or restrict the display of the calling party name on the called party phone display for this route pattern. Choose Default if you do not want to change calling name presentation. Choose Allowed if you want \n Cisco Unified Communications Manager to display the calling name information. Choose Restricted if you want \n Cisco Unified Communications Manager to block the display of the calling name information. ", "title": "Calling Name Presentation", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Allowed", "title": "Allowed" }, { "value": "Restricted", "title": "Restricted" } ], "default": "Default", "maxItems": 1, "type": "string" }, "dialPlanName": { "description": " Choose a numbering plan. ", "format": "uri", "minItems": 1, "title": "Numbering Plan", "required": true, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/DialPlan", "type": [ "string", "null" ], "target": "/api/device/cucm/DialPlan/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "authorizationLevelRequired": { "description": " Enter the authorization level for the route pattern. The number that you specify in this field determines the minimum authorization level that is needed to successfully route a call through this route pattern. \n \n \n \n Tip\u00a0\u00a0\u00a0 \n To activate the authorization code, you must check the Require Forced Authorization Code. If you do not check the check box, a message displays when you insert the route pattern that indicates that the authorization code cannot be activated. To activate the code, click Cancel, check the Require Forced Authorization Code check box, and click Insert. To activate the code at a later time, click OK. \n \n \n ", "title": "Authorization Level", "minItems": 0, "required": false, "default": 0, "maxItems": 1, "type": "integer" }, "digitDiscardInstructionName": { "description": " From the Discard Digits drop-down list box, choose the discard digits instructions that you want to associate with this route pattern. The discard digits that display depend on the numbering plan that you choose from the Numbering Plan drop-down list box. \n \n \n \n Note\u00a0\u00a0\u00a0 \n The called party transformation settings that are assigned to the route groups in a route list override any called party transformation settings that are assigned to a route pattern that is associated with that route list. \n \n \n ", "title": "Discard Digits", "minItems": 1, "required": true, "maxItems": 1, "type": [ "string", "null" ] }, "resourcePriorityNamespaceName": { "description": " Choose a Resource Priority Namespace Network Domain from the drop-down list box. To configure the Resource Priority Namespace Network Domains, choose System > MLPP > Namespace > Resource Priority Namespace Network Domain. ", "format": "uri", "minItems": 0, "title": "Resource Priority Namespace Network Domain", "required": false, "choices": [], "target_attr": "namespace", "maxItems": 1, "target_model_type": "device/cucm/ResourcePriorityNamespace", "type": [ "string", "null" ], "target": "/api/device/cucm/ResourcePriorityNamespace/choices/?field=namespace&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "enableDccEnforcement": { "description": " Check this check box to enable the Destination Code Control (DCC) feature. By enabling DCC, all calls other than flash and higher precedence calls made to the destination are filtered and allowed or disallowed based on the Call Blocking Percentage quota set for the destination. Flash and higher precedence calls are allowed at all times. DCC is disabled by default. \n \n \n \n Note\u00a0\u00a0\u00a0 \n The Apply Call Blocking Percentage field gets enabled only if the MLPP level is immediate, priority, routine or default. \n \n \n ", "title": "Apply Call Blocking Percentage", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "useCallingPartyPhoneMask": { "description": " Check the check box if you want the full, external phone number to be used for calling line identification (CLID) on outgoing calls. You may also configure an External Phone Number Mask on all phone devices. \n \n \n \n Note\u00a0\u00a0\u00a0 \n The calling party transformation settings that are assigned to the route groups in a route list override any calling party transformation settings that are assigned to a route pattern that is associated with that route list. \n \n \n ", "title": "Use Calling Party's External Phone Number Mask", "minItems": 1, "required": false, "choices": [ { "value": "Off", "title": "Off" }, { "value": "On", "title": "On" }, { "value": "Default", "title": "Default" } ], "default": "Default", "maxItems": 1, "type": "string" }, "callingPartyTransformationMask": { "description": " Enter a transformation mask value. Valid entries for the National Numbering Plan include the digits 0 through 9; the wildcard characters X, asterisk (*), and octothorpe (#); the international escape character +; and blank. If this field is blank and the preceding field is not checked, no calling party transformation takes place. ", "title": "Calling Party Transform Mask", "minItems": 0, "pattern": "^[0-9*#+X]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] }, "calledPartyNumberType": { "description": " Choose the format for the number type in called party directory numbers. \n Cisco Unified Communications Manager sets the called directory number (DN) type. Cisco recommends that you do not change the default value unless you have advanced experience with dialing plans such as NANP or the European dialing plan. You may need to change the default in Europe because \n Cisco Unified Communications Manager does not recognize European national dialing patterns. You can also change this setting when you are connecting to a PBX that expects the called directory number to be encoded to a non-national type numbering plan. Choose one of the following options: \n \n \n \n \n Cisco Unified Communications Manager\u2014Use when the \n Cisco Unified Communications Manager sets the directory number type. \n \n Unknown\u2014Use when the dialing plan is unknown. \n \n National\u2014Use when you are dialing within the dialing plan for your country. \n \n International\u2014Use when you are dialing outside the dialing plan for your country. \n \n Subscriber\u2014Use when you are dialing a subscriber by using a shortened subscriber number. \n ", "title": "Called Party Number Type", "minItems": 0, "required": false, "choices": [ { "value": "Cisco CallManager", "title": "Cisco CallManager" }, { "value": "Unknown", "title": "Unknown" }, { "value": "National", "title": "National" }, { "value": "International", "title": "International" }, { "value": "Subscriber", "title": "Subscriber" } ], "default": "Cisco CallManager", "maxItems": 1, "type": "string" }, "authorizationCodeRequired": { "description": " If you want to use forced authorization codes with this route pattern, check this check box. The FAC feature does not support overlap sending because the \n Cisco Unified Communications Manager cannot determine when to prompt the user for the code. If you check the Allow Overlap Sending check box, the system disables the Require Forced Authorization Code check box. ", "title": "Require Forced Authorization Code", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "routeFilterName": { "description": " If your route pattern includes the @ wildcard, you may choose a route filter. The optional act of choosing a route filter restricts certain number patterns. The route filters that display depend on the numbering plan that you choose from the Numbering Plan drop-down list box. You can configure the number of items that display in this drop-down list box by using the Max List Box Items enterprise parameter. If more route filters exist than the Max List Box Items enterprise parameter specifies, the Find button displays next to the drop-down list box. Click the Find button to display the Find and List Route Filters window, then find and choose a route filter name. \n \n \n \n Note\u00a0\u00a0\u00a0 \n To set the maximum list box items, choose System > Enterprise Parameters and choose CCMAdmin Parameters. \n \n \n ", "title": "Route Filter", "minItems": 1, "required": true, "maxItems": 1, "type": [ "string", "null" ] }, "patternUrgency": { "description": " If the dial plan contains overlapping route patterns, \n Cisco Unified Communications Manager does not route the call until the interdigit timer expires (even if dialing a sequence of digits to choose a current match is possible). Check this check box to interrupt interdigit timing when \n Cisco Unified Communications Manager must route a call immediately. ", "title": "Urgent Priority", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "allowDeviceOverride": { "description": " This check box remains unchecked by default. When the check box is checked, the system uses the Call Classification setting that is configured on the associated gateway or trunk to consider the outgoing call as OffNet or OnNet. ", "title": "Allow Device Override", "minItems": 0, "required": false, "default": false, "maxItems": 1, "type": "boolean" }, "isEmergencyServiceNumber": { "description": "Enable this route pattern to be used for Emergency Call handling. Emergency Call Handler helps you to manage emergency calls in your telephony network while following local ordinances and regulations. \n \n \n \n Note\u00a0\u00a0\u00a0 \n This setting applies only to the Emergency Call Handler feature, and not to other external emergency calling solutions such as Cisco Emergency Responder. \n \n \n ", "title": "Is Emergency Service Number", "minItems": 0, "required": false, "default": false, "maxItems": 1, "type": "boolean" }, "networkLocation": { "title": "Call Classification", "minItems": 1, "required": true, "choices": [ { "value": "OnNet", "title": "OnNet" }, { "value": "OffNet", "title": "OffNet" }, { "value": "Use System Default", "title": "Use System Default" } ], "default": "OnNet", "maxItems": 1, "type": "string" }, "callingLinePresentationBit": { "description": " \n Cisco Unified Communications Manager uses calling line ID presentation (CLIP/CLIR) as a supplementary service to allow or restrict the originating caller phone number on a call-by-call basis. Choose whether you want the \n Cisco Unified Communications Manager to allow or restrict the display of the calling party phone number on the called party phone display for this route pattern. Choose Default if you do not want to change calling line ID presentation. Choose Allowed if you want \n Cisco Unified Communications Manager to allow the display of the calling number. Choose Restricted if you want \n Cisco Unified Communications Manager to block the display of the calling number. ", "title": "Calling Line ID Presentation", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Allowed", "title": "Allowed" }, { "value": "Restricted", "title": "Restricted" } ], "default": "Default", "maxItems": 1, "type": "string" }, "isdnNsfInfoElement": { "title": "Isdn Nsf Info Element", "minItems": 0, "required": false, "maxItems": 1, "type": [ "object", "null" ], "properties": { "cic": { "description": " Enter the appropriate carrier identification code (0, 3, or 4 digits) in the Carrier Identification Code field. Carrier identification codes allow customers to reach the services of interexchange carriers. The following list shows examples of commonly used carrier identification codes: \n \n \n \n ATT\u20140288 \n \n Sprint\u20140333 \n \n WorldCom/MCI\u20140222 \n For a complete list of NANP carrier identification codes, visit the NANPA website. ", "title": "Carrier Identification Code", "minItems": 0, "required": false, "maxItems": 1, "type": "string", "name": "cic" }, "networkServiceProtocol": { "description": " From the Network Service Protocol drop-down list box, choose the PRI protocol that matches the protocol of the terminating gateway. ", "title": "Network Service Protocol", "minItems": 1, "required": true, "choices": [ { "value": "PRI 4ESS", "title": "PRI 4ESS" }, { "value": "PRI 5E8", "title": "PRI 5E8" }, { "value": "PRI 5E8 TELEOS", "title": "PRI 5E8 TELEOS" }, { "value": "PRI 5E8 INTECOME", "title": "PRI 5E8 INTECOME" }, { "value": "PRI 5E9", "title": "PRI 5E9" }, { "value": "PRI DMS-100", "title": "PRI DMS-100" }, { "value": "PRI DMS-250", "title": "PRI DMS-250" }, { "value": "PRI EURO", "title": "PRI EURO" }, { "value": "PRI NI2", "title": "PRI NI2" }, { "value": "PRI AUSTRALIAN", "title": "PRI AUSTRALIAN" }, { "value": "PRI 5E8 CUSTOM", "title": "PRI 5E8 CUSTOM" }, { "value": "PRI ETSI SC", "title": "PRI ETSI SC" }, { "value": "PRI NTT", "title": "PRI NTT" }, { "value": "PRI ISO QSIG T1", "title": "PRI ISO QSIG T1" }, { "value": "PRI ISO QSIG E1", "title": "PRI ISO QSIG E1" } ], "maxItems": 1, "type": "string", "name": "networkServiceProtocol" }, "paramValue": { "description": " Enter the appropriate service parameter value. Valid entries include the digits 0 through 9. If a service parameter does not exist for the network service, \n Cisco Unified Communications Manager Administration disables this field. ", "title": "Service Parameter Value", "minItems": 0, "required": false, "maxItems": 1, "type": "string", "name": "paramValue" }, "networkService": { "description": " From the Network Service Protocol drop-down list box, choose the PRI protocol that matches the protocol of the terminating gateway. ", "title": "Network Service", "minItems": 0, "required": false, "choices": [ { "value": "ACCUNET Switched Digital Service", "title": "ACCUNET Switched Digital Service" }, { "value": "Billing Number Only", "title": "Billing Number Only" }, { "value": "Billing Number Preferred", "title": "Billing Number Preferred" }, { "value": "Calling Party Number Only", "title": "Calling Party Number Only" }, { "value": "Calling Party Number Preferred", "title": "Calling Party Number Preferred" }, { "value": "Foreign Exchange", "title": "Foreign Exchange" }, { "value": "Foreign Exchange Selection", "title": "Foreign Exchange Selection" }, { "value": "International Long Distance Service", "title": "International Long Distance Service" }, { "value": "InterLATAOUTWATS", "title": "InterLATAOUTWATS" }, { "value": "IntraLATAOUTWATS", "title": "IntraLATAOUTWATS" }, { "value": "Long Distance Service", "title": "Long Distance Service" }, { "value": "MEGACOM Telecom Service", "title": "MEGACOM Telecom Service" }, { "value": "National ISDN Banded OUTWATS", "title": "National ISDN Banded OUTWATS" }, { "value": "National ISDN Unbanded OUTWATS", "title": "National ISDN Unbanded OUTWATS" }, { "value": "OUTWATS Selection", "title": "OUTWATS Selection" }, { "value": "Private", "title": "Private" }, { "value": "Private Selection", "title": "Private Selection" }, { "value": "Software Defined Network", "title": "Software Defined Network" }, { "value": "Tie Trunk (Cut-through)", "title": "Tie Trunk (Cut-through)" }, { "value": "Tie Trunk (Senderized)", "title": "Tie Trunk (Senderized)" }, { "value": "Tie Trunk Selection (Cut-through)", "title": "Tie Trunk Selection (Cut-through)" }, { "value": "Tie Trunk Selection (Senderized)", "title": "Tie Trunk Selection (Senderized)" }, { "value": "WATS Band Selection", "title": "WATS Band Selection" }, { "value": "WATS Maximal Subscribed Band", "title": "WATS Maximal Subscribed Band" } ], "maxItems": 1, "type": "string", "name": "networkService" } } }, "supportOverlapSending": { "description": " With overlap sending enabled, when \n Cisco Unified Communications Manager passes a call to the PSTN, it relies on overlap sending in the PSTN to determine how many digits to collect and where to route the call. Check this check box for each route pattern that you consider to be assigned to a gateway or route list that routes the calls to a PSTN that supports overlap sending. The CMC and FAC features do not support overlap sending because the \n Cisco Unified Communications Manager cannot determine when to prompt the user for the code. If you check the Require Forced Authorization Code or the Require Client Matter Code check box, the system disables the Allow Overlap Sending check box. ", "title": "Allow Overlap Sending", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cucm/RoutePattern/add/ |
|
The GUI Add form of device/cucm/RoutePattern as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Create | POST | /api/device/cucm/RoutePattern/ | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/device/cucm/RoutePattern/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cucm/RoutePattern/[pkid1]", "/api/device/cucm/RoutePattern/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/RoutePattern/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/RoutePattern/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/RoutePattern/[pkid1]", "/api/v0/device/cucm/RoutePattern/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/cucm/RoutePattern |
|
{"hrefs": ["/api/device/cucm/RoutePattern/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/RoutePattern |
|
{"hrefs": ["/api/device/cucm/RoutePattern/[pkid1]", "/api/device/cucm/RoutePattern/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/RoutePattern; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/RoutePattern/export/ |
|
{ "hrefs":["/api/device/cucm/RoutePattern/[pkid1]", "/api/device/cucm/RoutePattern/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of device/cucm/RoutePattern and the JSON format can be used to import instances of device/cucm/RoutePattern.
GET http://[host-proxy]/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/RoutePattern | POST | /api/device/cucm/RoutePattern/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/device/cucm/RoutePattern/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/cucm/RoutePattern/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cucm/RoutePattern/ |
|
The device/cucm/RoutePattern schema and all instances as JSON. |
(The list will return 0 to 3 device/cucm/RoutePattern instances)
{ "operations": [ "field_display_policy", "configuration_template", "export_bulkload_template", "move", "transform", "export", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "pattern", "maximum_limit": 2000, "skip": 0, "current": "/api/device/cucm/RoutePattern/?skip=0&limit=3&order_by=pattern&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 240 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "14.0", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/device/cucm/RoutePattern/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/cucm/RoutePattern/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/cucm/RoutePattern", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/RoutePattern/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/device/cucm/RoutePattern/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/cucm/RoutePattern/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/cucm/RoutePattern/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/RoutePattern/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/RoutePattern/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cucm/RoutePattern", "model_specific_actions": [ "field_display_policy", "configuration_template", "help", "get", "clone", "move", "list", "update", "remove", "bulk_update_form", "add", "export", "export_bulkload_template" ], "summary_attrs": [ { "name": "pattern", "title": "Route Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition" }, { "name": "isEmergencyServiceNumber", "title": "Is Emergency Service Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "61b13554eadb826afd7d2665", "meta": { "tags": [], "cached": true, "title": "**001.!", "business_key": {}, "schema_version": "12.5", "summary": "false", "references": { "device": [ { "pkid": "61b12f2feadb826afd7b858f", "href": "/api/v0/data/CallManager/61b12f2feadb826afd7b858f" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13554eadb826afd7d2665", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b13554eadb826afd7d2665/?model_type=device/cucm/RoutePattern", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/cucm/RoutePattern", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13554eadb826afd7d2665" ], "summary_attrs": [ { "name": "pattern", "title": "Route Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition" }, { "name": "isEmergencyServiceNumber", "title": "Is Emergency Service Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "destination": { "routeListName": "Cu1-USAIntl-RL" }, "clientCodeRequired": false, "callingPartyPrefixDigits": null, "callingPartyNumberingPlan": "Cisco CallManager", "connectedLinePresentationBit": "Default", "hierarchy_friendly_name": "AAAGlobal (Customer)", "routePartitionName": "Cu1-USADP-LBRteSel-PT", "releaseClause": "No Error", "blockEnable": false, "callingPartyNumberType": "Cisco CallManager", "externalCallControl": null, "provideOutsideDialtone": false, "calledPartyTransformationMask": null, "pattern": "**001.!", "patternPrecedence": "Default", "prefixDigitsOut": "+", "calledPartyNumberingPlan": "Cisco CallManager", "connectedNamePresentationBit": "Default", "description": "USA Intl Call Type - no FAC no CMC", "routeClass": "Default", "callingNamePresentationBit": "Default", "dialPlanName": null, "authorizationLevelRequired": 0, "digitDiscardInstructionName": "PreDot", "resourcePriorityNamespaceName": null, "useCallingPartyPhoneMask": "On", "callingPartyTransformationMask": null, "calledPartyNumberType": "Cisco CallManager", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "authorizationCodeRequired": false, "routeFilterName": null, "patternUrgency": true, "allowDeviceOverride": false, "isEmergencyServiceNumber": false, "networkLocation": "OffNet", "callingLinePresentationBit": "Default", "isdnNsfInfoElement": {}, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-NB.AAAGlobal", "supportOverlapSending": false } }, { "pkid": "61b137b2eadb826afd7d71e9", "meta": { "tags": [], "cached": true, "title": "**001.!", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "61b12f7ceadb826afd7b9861", "href": "/api/v0/data/CallManager/61b12f7ceadb826afd7b9861" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b137b2eadb826afd7d71e9", "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b137b2eadb826afd7d71e9/?model_type=device/cucm/RoutePattern", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/help", "title": "Help", "class": "help", "method": "GET" } }, { "purge": { "support_async": false, "href": "/api/device/cucm/RoutePattern/61b137b2eadb826afd7d71e9/purge/", "title": "Purge", "class": "purge", "method": "POST" } } ], "model_type": "device/cucm/RoutePattern", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b137b2eadb826afd7d71e9" ], "summary_attrs": [ { "name": "pattern", "title": "Route Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition" }, { "name": "isEmergencyServiceNumber", "title": "Is Emergency Service Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "destination": { "routeListName": "Cu1-USAIntl-RL" }, "clientCodeRequired": false, "callingPartyPrefixDigits": null, "callingPartyNumberingPlan": "Cisco CallManager", "connectedLinePresentationBit": "Default", "hierarchy_friendly_name": "AAAGlobal (Customer)", "routePartitionName": "Cu1-USADP-LBRteSel-PT", "releaseClause": "No Error", "blockEnable": false, "callingPartyNumberType": "Cisco CallManager", "externalCallControl": null, "provideOutsideDialtone": false, "calledPartyTransformationMask": null, "pattern": "**001.!", "patternPrecedence": "Default", "prefixDigitsOut": "+", "calledPartyNumberingPlan": "Cisco CallManager", "connectedNamePresentationBit": "Default", "description": "USA Intl Call Type - no FAC no CMC", "routeClass": "Default", "callingNamePresentationBit": "Default", "dialPlanName": null, "authorizationLevelRequired": 0, "digitDiscardInstructionName": "PreDot", "resourcePriorityNamespaceName": null, "enableDccEnforcement": false, "useCallingPartyPhoneMask": "On", "callingPartyTransformationMask": null, "calledPartyNumberType": "Cisco CallManager", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "authorizationCodeRequired": false, "routeFilterName": null, "patternUrgency": true, "allowDeviceOverride": false, "isEmergencyServiceNumber": false, "networkLocation": "OffNet", "callingLinePresentationBit": "Default", "isdnNsfInfoElement": {}, "summary_device": "Dedicated CUCM, 192.168.100.16, 8443, hcs.CS-P.CS-NB.AAAGlobal", "supportOverlapSending": false } }, { "pkid": "61b13555eadb826afd7d26aa", "meta": { "tags": [], "cached": true, "title": "**001.X!", "business_key": {}, "schema_version": "12.5", "summary": "false", "references": { "device": [ { "pkid": "61b12f2feadb826afd7b858f", "href": "/api/v0/data/CallManager/61b12f2feadb826afd7b858f" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13555eadb826afd7d26aa", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/61b13555eadb826afd7d26aa/?model_type=device/cucm/RoutePattern", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/help", "class": "help", "title": "Help" } }, { "purge": { "support_async": false, "method": "POST", "href": "/api/device/cucm/RoutePattern/61b13555eadb826afd7d26aa/purge/", "class": "purge", "title": "Purge" } } ], "model_type": "device/cucm/RoutePattern", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13555eadb826afd7d26aa" ], "summary_attrs": [ { "name": "pattern", "title": "Route Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition" }, { "name": "isEmergencyServiceNumber", "title": "Is Emergency Service Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "destination": { "routeListName": "Cu1-USAIntl-SLRG-RL" }, "clientCodeRequired": false, "callingPartyPrefixDigits": null, "callingPartyNumberingPlan": "Cisco CallManager", "connectedLinePresentationBit": "Default", "hierarchy_friendly_name": "AAAGlobal (Customer)", "routePartitionName": "Cu1-USADP-DBRteSel-PT", "releaseClause": "No Error", "blockEnable": false, "callingPartyNumberType": "Cisco CallManager", "externalCallControl": null, "provideOutsideDialtone": false, "calledPartyTransformationMask": null, "pattern": "**001.X!", "patternPrecedence": "Default", "prefixDigitsOut": "+", "calledPartyNumberingPlan": "Cisco CallManager", "connectedNamePresentationBit": "Default", "description": "USA CT=IntlXnFACnCMC use Intl RL", "routeClass": "Default", "callingNamePresentationBit": "Default", "dialPlanName": null, "authorizationLevelRequired": 0, "digitDiscardInstructionName": "PreDot", "resourcePriorityNamespaceName": null, "useCallingPartyPhoneMask": "On", "callingPartyTransformationMask": null, "calledPartyNumberType": "Cisco CallManager", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "authorizationCodeRequired": false, "routeFilterName": null, "patternUrgency": true, "allowDeviceOverride": false, "isEmergencyServiceNumber": false, "networkLocation": "OffNet", "callingLinePresentationBit": "Default", "isdnNsfInfoElement": {}, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-NB.AAAGlobal", "supportOverlapSending": false } } ] }
(Show the first instance)
{ "pkid": "61b13554eadb826afd7d2665", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "**001.!", "business_key": {}, "schema_version": "12.5", "references": { "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "self": [ { "pkid": "61b13554eadb826afd7d2665", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/" } ], "foreign_key": [], "device": [ { "pkid": "61b12f2feadb826afd7b858f", "href": "/api/v0/data/CallManager/61b12f2feadb826afd7b858f" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b13554eadb826afd7d2665/?hierarchy=[hierarchy]&model_type=device/cucm/RoutePattern", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/RoutePattern/61b13554eadb826afd7d2665/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cucm/RoutePattern", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13554eadb826afd7d2665" ], "summary_attrs": [ { "name": "pattern", "title": "Route Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition" }, { "name": "isEmergencyServiceNumber", "title": "Is Emergency Service Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "patternPrecedence": "Default", "clientCodeRequired": false, "callingPartyPrefixDigits": null, "callingPartyNumberingPlan": "Cisco CallManager", "connectedLinePresentationBit": "Default", "routePartitionName": "Cu1-USADP-LBRteSel-PT", "releaseClause": "No Error", "description": "USA Intl Call Type - no FAC no CMC", "callingPartyNumberType": "Cisco CallManager", "externalCallControl": null, "provideOutsideDialtone": false, "calledPartyTransformationMask": null, "pattern": "**001.!", "destination": { "routeListName": "Cu1-USAIntl-RL" }, "prefixDigitsOut": "+", "calledPartyNumberingPlan": "Cisco CallManager", "connectedNamePresentationBit": "Default", "blockEnable": false, "routeClass": "Default", "callingNamePresentationBit": "Default", "dialPlanName": null, "authorizationLevelRequired": 0, "digitDiscardInstructionName": "PreDot", "resourcePriorityNamespaceName": null, "useCallingPartyPhoneMask": "On", "callingPartyTransformationMask": null, "calledPartyNumberType": "Cisco CallManager", "authorizationCodeRequired": false, "routeFilterName": null, "patternUrgency": true, "allowDeviceOverride": false, "isEmergencyServiceNumber": false, "networkLocation": "OffNet", "callingLinePresentationBit": "Default", "supportOverlapSending": false } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/RoutePattern. | GET | /api/device/cucm/RoutePattern/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/RoutePattern as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cucm/RoutePattern/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/cucm/RoutePattern/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/RoutePattern/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/RoutePattern/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/RoutePattern | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of device/cucm/RoutePattern; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/RoutePattern/[pkid]/export/ |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of device/cucm/RoutePattern and the JSON format can be used to import instances of device/cucm/RoutePattern.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/RoutePattern/[pkid]/ | hierarchy=[hierarchy] | The device/cucm/RoutePattern instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/RoutePattern/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/RoutePattern. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/RoutePattern/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |