[Index]
This relation wraps the device/cucm/CallingPartyTransformationPattern element.
Model ref.: relation/HcsCgPtyXformREL
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": { "mlppPreemptionDisabled": { "description": "Check this check box to make the numbers in a transformation pattern nonpreemptable. \n \n \n \n Note\u00a0\u00a0\u00a0 \n For MLPP Preemption Disabled check box to work, create the transformation patterns and put them into partitions, import all such partitions into a CSS (for example, NonPreemptionCSS), and select the CSS in \"Non-Preemption Pattern CSS\" service parameter (System > Service Parameters). \n \n \n ", "title": "Mlpp Preemption Disabled", "minItems": 0, "required": false, "default": false, "maxItems": 1, "type": "boolean" }, "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 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": "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" }, "description": { "description": " Enter a description of the transformation pattern. ", "title": "Description", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callingPartyPrefixDigits": { "description": " Enter prefix digits in the Prefix Digits (Outgoing Calls) field. Valid entries include the digits 0 through 9, the wildcard characters asterisk (*) and octothorpe (#), and the international escape character +. \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": "Calling Party Prefix Digits", "minItems": 0, "pattern": "^[0-9*#+]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] }, "pattern": { "description": " Enter the transformation 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 pattern is unique. Check the transformation pattern, 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": "Pattern", "minItems": 1, "required": true, "maxItems": 1, "type": "string" }, "dialPlanName": { "description": " Choose a numbering plan. ", "format": "uri", "minItems": 0, "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/DialPlan", "title": "Dial Plan Name", "type": [ "string", "null" ], "target": "/api/device/cucm/DialPlan/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "routeFilterName": { "description": " If your transformation 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 ", "format": "uri", "minItems": 0, "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/RouteFilter", "title": "Route Filter Name", "type": [ "string", "null" ], "target": "/api/device/cucm/RouteFilter/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" }, "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 Presentation Bit", "minItems": 0, "required": false, "choices": [ { "value": "Default", "title": "Default" }, { "value": "Allowed", "title": "Allowed" }, { "value": "Restricted", "title": "Restricted" } ], "default": "Default", "maxItems": 1, "type": "string" }, "digitDiscardInstructionName": { "target": "/api/device/cucm/DiscardDigitInstruction/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "minItems": 0, "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/DiscardDigitInstruction", "title": "Digit Discard Instruction Name", "type": [ "string", "null" ] }, "shadow": { "items": { "type": "object", "properties": { "name": { "is_password": false, "title": "Name", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "type": "array", "maxItems": 1, "title": "Shadow" }, "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. ", "title": "Use Calling Party Phone Mask", "minItems": 0, "required": false, "choices": [ { "value": "Off", "title": "Off" }, { "value": "On", "title": "On" }, { "value": "Default", "title": "Default" } ], "default": "Default", "maxItems": 1, "type": "string" }, "routePartitionName": { "description": " If you want to use a partition to restrict access to the transformation pattern, choose the desired partition from the drop-down list box. 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 Configure transformation patterns in different non-null partitions rather than dialing patterns such as route patterns and directory numbers. For transformation pattern lookups, \n Cisco Unified Communications Manager ignores the patterns in null partitions. \n \n \n \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 pattern, route filter, and partition is unique within the \n Cisco Unified Communications Manager cluster. \n \n \n ", "format": "uri", "minItems": 1, "required": true, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/RoutePartition", "title": "Route Partition Name", "type": [ "string", "null" ], "target": "/api/device/cucm/RoutePartition/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "callingPartyTransformationMask": { "description": " Enter a transformation mask value. Valid entries include the digits 0 through 9; the wildcard characters X, asterisk (*), and octothorpe (#); and the international escape character +. If the Discard Digit Instructions field is blank, the Prefix Digits (Outgoing Calls) field is blank, the Calling Party Transformation Mask field is blank, and the Use Calling Party's External Phone Number Mask is not checked, no calling party transformation takes place. ", "title": "Calling Party Transformation Mask", "minItems": 0, "pattern": "^[0-9*#+X]{0,50}$", "required": false, "maxItems": 1, "maxLength": 50, "type": [ "string", "null" ] } }, "schema_version": "2.2" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/HcsCgPtyXformREL/add/ |
|
The GUI Add form of relation/HcsCgPtyXformREL 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/relation/HcsCgPtyXformREL/ | 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/relation/HcsCgPtyXformREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsCgPtyXformREL/[pkid1]", "/api/relation/HcsCgPtyXformREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsCgPtyXformREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=relation/HcsCgPtyXformREL |
|
{"hrefs": ["/api/relation/HcsCgPtyXformREL/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=relation/HcsCgPtyXformREL |
|
{"hrefs": ["/api/relation/HcsCgPtyXformREL/[pkid1]", "/api/relation/HcsCgPtyXformREL/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsCgPtyXformREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsCgPtyXformREL/export/ |
|
{ "hrefs":["/api/relation/HcsCgPtyXformREL/[pkid1]", "/api/relation/HcsCgPtyXformREL/[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 relation/HcsCgPtyXformREL and the JSON format can be used to import instances of relation/HcsCgPtyXformREL.
GET http://[host-proxy]/api/relation/HcsCgPtyXformREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsCgPtyXformREL | POST | /api/relation/HcsCgPtyXformREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsCgPtyXformREL/ |
|
The relation/HcsCgPtyXformREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsCgPtyXformREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "clone", "move", "list", "update", "remove", "add", "bulk_update", "export", "export_bulkload_template" ], "pagination": { "direction": "asc", "order_by": "pattern", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/HcsCgPtyXformREL/?skip=0&limit=3&order_by=pattern&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 29 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "2.2", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/HcsCgPtyXformREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/HcsCgPtyXformREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsCgPtyXformREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=relation/HcsCgPtyXformREL", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsCgPtyXformREL/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/relation/HcsCgPtyXformREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/HcsCgPtyXformREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsCgPtyXformREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsCgPtyXformREL", "model_specific_actions": [ "help", "get", "clone", "move", "list", "update", "remove", "add", "export", "export_bulkload_template" ], "summary_attrs": [ { "name": "pattern", "title": "Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition Name" }, { "name": "dialPlanName", "title": "Dial Plan Name" }, { "name": "routeFilterName", "title": "Route Filter Name" }, { "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": "63055307c46e74b4687d68cf", "meta": { "tags": [], "cached": true, "title": "!", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "63054ce5c46e74b4687be61f", "href": "/api/v0/data/CallManager/63054ce5c46e74b4687be61f" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63055307c46e74b4687d68cf", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/" } ], "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/63055307c46e74b4687d68cf/?model_type=relation/HcsCgPtyXformREL", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/help", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsCgPtyXformREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "63055307c46e74b4687d68cf" ], "summary_attrs": [ { "name": "pattern", "title": "Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition Name" }, { "name": "dialPlanName", "title": "Dial Plan Name" }, { "name": "routeFilterName", "title": "Route Filter Name" }, { "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": { "mlppPreemptionDisabled": false, "callingPartyNumberType": "Cisco CallManager", "description": "Wild card match all patterns", "callingPartyPrefixDigits": null, "pattern": "!", "dialPlanName": null, "routeFilterName": null, "callingPartyNumberingPlan": "Cisco CallManager", "callingLinePresentationBit": "Default", "digitDiscardInstructionName": null, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-NB.AAAGlobal", "hierarchy_friendly_name": "AAAGlobal (Customer)", "useCallingPartyPhoneMask": "On", "routePartitionName": "Cu1-DN2DDI4RCCN-PT", "callingPartyTransformationMask": null, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "63055501c46e74b4687da6a7", "meta": { "tags": [], "cached": true, "title": "!", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "63054d97c46e74b4687c0528", "href": "/api/v0/data/CallManager/63054d97c46e74b4687c0528" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63055501c46e74b4687da6a7", "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/" } ], "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/63055501c46e74b4687da6a7/?model_type=relation/HcsCgPtyXformREL", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/HcsCgPtyXformREL/63055501c46e74b4687da6a7/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "relation/HcsCgPtyXformREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "63055501c46e74b4687da6a7" ], "summary_attrs": [ { "name": "pattern", "title": "Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition Name" }, { "name": "dialPlanName", "title": "Dial Plan Name" }, { "name": "routeFilterName", "title": "Route Filter Name" }, { "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": { "mlppPreemptionDisabled": false, "callingPartyNumberType": "Cisco CallManager", "description": "Wild card match all patterns", "callingPartyPrefixDigits": null, "pattern": "!", "dialPlanName": null, "routeFilterName": null, "callingPartyNumberingPlan": "Cisco CallManager", "callingLinePresentationBit": "Default", "digitDiscardInstructionName": null, "summary_device": "Dedicated CUCM, 192.168.100.16, 8443, hcs.CS-P.CS-NB.AAAGlobal", "hierarchy_friendly_name": "AAAGlobal (Customer)", "useCallingPartyPhoneMask": "On", "routePartitionName": "Cu1-DN2DDI4RCCN-PT", "callingPartyTransformationMask": null, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "630577a4c46e74b46881d281", "meta": { "tags": [], "cached": true, "title": "!", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "63057778c46e74b46881cb62", "href": "/api/v0/data/CallManager/63057778c46e74b46881cb62" } ], "self": [ { "pkid": "630577a4c46e74b46881d281", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/" } ], "parent": [ { "pkid": "6305775dc46e74b46881c66a", "href": "/api/data/HierarchyNode/6305775dc46e74b46881c66a" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/630577a4c46e74b46881d281/?model_type=relation/HcsCgPtyXformREL", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/HcsCgPtyXformREL/630577a4c46e74b46881d281/help", "class": "help", "title": "Help" } } ], "model_type": "relation/HcsCgPtyXformREL", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "6305775dc46e74b46881c66a", "630577a4c46e74b46881d281" ], "summary_attrs": [ { "name": "pattern", "title": "Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition Name" }, { "name": "dialPlanName", "title": "Dial Plan Name" }, { "name": "routeFilterName", "title": "Route Filter Name" }, { "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": { "mlppPreemptionDisabled": false, "callingPartyNumberType": "Cisco CallManager", "callingPartyPrefixDigits": null, "hierarchy": "6305775dc46e74b46881c66a", "pattern": "!", "dialPlanName": null, "routeFilterName": null, "callingPartyNumberingPlan": "Cisco CallManager", "callingLinePresentationBit": "Default", "digitDiscardInstructionName": null, "summary_device": "Dedicated CUCM, 10.120.9.245, 8443, hcs.CS-P.CS-NB.Overton", "hierarchy_friendly_name": "Overton (Customer)", "useCallingPartyPhoneMask": "Off", "routePartitionName": "LBOCallingT4PubNumPT19", "callingPartyTransformationMask": "5557777", "hierarchy_path": "sys.hcs.CS-P.CS-NB.Overton" } } ] }
(Show the first instance)
{ "pkid": "63055307c46e74b4687d68cf", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "!", "business_key": {}, "schema_version": "2.2", "references": { "device": [ { "pkid": "63054ce5c46e74b4687be61f", "href": "/api/v0/data/CallManager/63054ce5c46e74b4687be61f" } ], "self": [ { "pkid": "63055307c46e74b4687d68cf", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/" } ], "children": [], "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/63055307c46e74b4687d68cf/?hierarchy=[hierarchy]&model_type=relation/HcsCgPtyXformREL", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsCgPtyXformREL/63055307c46e74b4687d68cf/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsCgPtyXformREL", "summary_attrs": [ { "name": "pattern", "title": "Pattern" }, { "name": "description", "title": "Description" }, { "name": "routePartitionName", "title": "Route Partition Name" }, { "name": "dialPlanName", "title": "Dial Plan Name" }, { "name": "routeFilterName", "title": "Route Filter Name" }, { "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": { "mlppPreemptionDisabled": false, "callingPartyNumberType": "Cisco CallManager", "description": "Wild card match all patterns", "callingPartyPrefixDigits": null, "pattern": "!", "dialPlanName": null, "routeFilterName": null, "callingPartyNumberingPlan": "Cisco CallManager", "callingLinePresentationBit": "Default", "digitDiscardInstructionName": null, "shadow": [], "useCallingPartyPhoneMask": "On", "routePartitionName": "Cu1-DN2DDI4RCCN-PT", "callingPartyTransformationMask": null } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsCgPtyXformREL. | GET | /api/relation/HcsCgPtyXformREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsCgPtyXformREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsCgPtyXformREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsCgPtyXformREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/relation/HcsCgPtyXformREL/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/relation/HcsCgPtyXformREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=relation/HcsCgPtyXformREL | 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 relation/HcsCgPtyXformREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsCgPtyXformREL/[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 relation/HcsCgPtyXformREL and the JSON format can be used to import instances of relation/HcsCgPtyXformREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsCgPtyXformREL/[pkid]/ | hierarchy=[hierarchy] | The relation/HcsCgPtyXformREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsCgPtyXformREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsCgPtyXformREL. |