[Index]
Model ref.: device/cucm/Region
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": { "defaultCodec": { "description": "Not valid for get and list", "title": "Default Codec", "minItems": 0, "required": false, "default": "G.711", "maxItems": 1, "type": "string" }, "name": { "description": " Enter a unique name for this region. This name can comprise up to 30 characters. Valid characters include letters, numbers, dashes, dots (periods), blanks, and underscores. \n \n \n \n Note\u00a0\u00a0\u00a0 \n Cisco recommends that you reset devices after changing a region name. \n \n \n ", "title": "Name", "minItems": 1, "required": true, "maxItems": 1, "maxLength": 50, "type": "string" }, "relatedRegions": { "title": "Related Regions", "minItems": 0, "required": false, "maxItems": 1, "type": [ "object", "null" ], "properties": { "relatedRegion": { "name": "relatedRegion", "title": "Related Region", "minItems": 1, "items": { "type": [ "object", "null" ], "properties": { "lossyNetwork": { "name": "lossyNetwork", "title": "Lossy Network", "minItems": 0, "required": false, "choices": [ { "value": "Keep Current Setting", "title": "Keep Current Setting" }, { "value": "Use System Default", "title": "Use System Default" }, { "value": "Low Loss", "title": "Low Loss" }, { "value": "Lossy", "title": "Lossy" } ], "maxItems": 1, "type": "string" }, "bandwidth": { "description": " The entries in this column specify the maximum audio bit rate between the region that you are configuring and the region that displays in the corresponding row. ", "title": "Bandwidth", "minItems": 1, "required": true, "choices": [ { "value": "0", "title": "Use System Default" }, { "value": "7", "title": "7 kbps (GSM-HR, G.723.1)" }, { "value": "8", "title": "8 kbps (G.729)" }, { "value": "13", "title": "13 kbps (GSM-FR, AMR)" }, { "value": "16", "title": "16 kbps (iLBC, G.728)" }, { "value": "24", "title": "24 kbps (AMR-WB)" }, { "value": "32", "title": "32 kbps (iSAC, G.722.1)" }, { "value": "64", "title": "64 kbps (G.711, G.722)" }, { "value": "128", "title": "128 kbps (AAC-LD [LATM])" }, { "value": "256", "title": "256 kbps (L16, AAC-LD)" } ], "default": "64", "maxItems": 1, "type": "string", "name": "bandwidth" }, "immersiveVideoBandwidth": { "description": " The entries in this column specify the maximum immersive video bit rate (including audio) between the region that you are configuring and the region that displays in the corresponding row. ", "title": "Immersive Video Bandwidth", "minItems": 1, "required": true, "choices": [ { "value": "-2", "title": "Use System Default" }, { "value": "0", "title": "Not Allowed" } ], "default": 2147483647, "maxItems": 1, "type": "integer", "name": "immersiveVideoBandwidth" }, "videoBandwidth": { "description": " The entries in this column specify the maximum video bit rate (including audio) between the region that you are configuring and the region that displays in the corresponding row. ", "title": "Video Bandwidth (kbps)", "minItems": 1, "required": true, "choices": [ { "value": "-2", "title": "Use System Default" }, { "value": "0", "title": "Not Allowed" } ], "default": 384, "maxItems": 1, "type": "integer", "name": "videoBandwidth" }, "codecPreference": { "description": " The entries in this column specify the audio codec preference relationship between the region that you are configuring and the region that displays in the corresponding row. ", "title": "Codec Preference", "minItems": 0, "required": false, "maxItems": 1, "type": [ "string", "null" ], "name": "codecPreference" }, "regionName": { "description": " The entries in this window pane specify all existing regions, including the Default region, the region that you are configuring, and all other regions. Choose a region in this pane prior to configuring the relationships between the region that you are configuring and the chosen region. ", "name": "regionName", "format": "uri", "minItems": 1, "title": "Regions", "required": true, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/Region", "type": "string", "target": "/api/device/cucm/Region/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "required": true, "type": "array" } } } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cucm/Region/add/ |
|
The GUI Add form of device/cucm/Region 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/Region | 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/Region/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cucm/Region/[pkid1]", "/api/device/cucm/Region/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cucm/Region/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/Region/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/Region/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/Region/[pkid1]", "/api/v0/device/cucm/Region/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/Region/?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/Region |
|
{"hrefs": ["/api/device/cucm/Region/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/Region |
|
{"hrefs": ["/api/device/cucm/Region/[pkid1]", "/api/device/cucm/Region/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/Region; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/Region/export/ |
|
{ "hrefs":["/api/device/cucm/Region/[pkid1]", "/api/device/cucm/Region/[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/Region and the JSON format can be used to import instances of device/cucm/Region.
GET http://[host-proxy]/api/device/cucm/Region/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/Region | POST | /api/device/cucm/Region/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/Region/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/Region/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cucm/Region/ |
|
The device/cucm/Region schema and all instances as JSON. |
(The list will return 0 to 3 device/cucm/Region instances)
{ "operations": [ "field_display_policy", "configuration_template", "export_bulkload_template", "move", "transform", "export", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/device/cucm/Region/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 9 }, "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/Region/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/Region/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/cucm/Region/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/Region", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/Region/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/Region/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/cucm/Region/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/cucm/Region/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/cucm/Region/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/Region/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/Region/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cucm/Region", "model_specific_actions": [ "field_display_policy", "configuration_template", "help", "get", "clone", "move", "list", "update", "remove", "bulk_update_form", "add", "export", "apply", "export_bulkload_template", "restart" ], "summary_attrs": [ { "name": "name", "title": "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": "5f3ae81ace894e001205c1c2", "meta": { "tags": [], "cached": true, "title": "Cu1Si1-Region", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "5f3ae58ace894e00120550c2", "href": "/api/v0/data/CallManager/5f3ae58ace894e00120550c2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae81ace894e001205c1c2", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/" } ], "parent": [ { "pkid": "5f3ae615ce894e001205697d", "href": "/api/data/HierarchyNode/5f3ae615ce894e001205697d" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5f3ae81ace894e001205c1c2/?model_type=device/cucm/Region", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/help", "method": "GET", "title": "Help" } }, { "apply": { "title": "Apply", "support_async": true, "method": "POST", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/+apply/", "class": "custom", "view": "/api/device/cucm/Region/+apply/schema/" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/purge/", "method": "POST", "title": "Purge" } }, { "restart": { "title": "Restart", "support_async": true, "method": "POST", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/+restart/", "class": "custom", "view": "/api/device/cucm/Region/+restart/schema/" } } ], "model_type": "device/cucm/Region", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae615ce894e001205697d", "5f3ae81ace894e001205c1c2" ], "summary_attrs": [ { "name": "name", "title": "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": { "hierarchy_friendly_name": "CL1-AB-C-Paris (Site)", "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "name": "Cu1Si1-Region", "relatedRegions": { "relatedRegion": [ { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Cu1Si1-Region" }, { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Default" } ] }, "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Paris" } }, { "pkid": "5f3ae841ce894e001205d1e0", "meta": { "tags": [], "cached": true, "title": "Cu1Si2-Region", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "5f3ae58ace894e00120550c2", "href": "/api/v0/data/CallManager/5f3ae58ace894e00120550c2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae841ce894e001205d1e0", "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/" } ], "parent": [ { "pkid": "5f3ae621ce894e0012056c72", "href": "/api/data/HierarchyNode/5f3ae621ce894e0012056c72" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5f3ae841ce894e001205d1e0/?model_type=device/cucm/Region", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/help", "title": "Help", "class": "help", "method": "GET" } }, { "apply": { "title": "Apply", "support_async": true, "class": "custom", "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/+apply/", "method": "POST", "view": "/api/device/cucm/Region/+apply/schema/" } }, { "purge": { "support_async": false, "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/purge/", "title": "Purge", "class": "purge", "method": "POST" } }, { "restart": { "title": "Restart", "support_async": true, "class": "custom", "href": "/api/device/cucm/Region/5f3ae841ce894e001205d1e0/+restart/", "method": "POST", "view": "/api/device/cucm/Region/+restart/schema/" } } ], "model_type": "device/cucm/Region", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae621ce894e0012056c72", "5f3ae841ce894e001205d1e0" ], "summary_attrs": [ { "name": "name", "title": "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": { "hierarchy_friendly_name": "CL1-AB-C-Grenoble (Site)", "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "name": "Cu1Si2-Region", "relatedRegions": { "relatedRegion": [ { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Cu1Si2-Region" }, { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Default" } ] }, "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Grenoble" } }, { "pkid": "5f3ae875ce894e001205e1f5", "meta": { "tags": [], "cached": true, "title": "Cu1Si3-Region", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "5f3ae58ace894e00120550c2", "href": "/api/v0/data/CallManager/5f3ae58ace894e00120550c2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae875ce894e001205e1f5", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/" } ], "parent": [ { "pkid": "5f3ae62dce894e0012056f66", "href": "/api/data/HierarchyNode/5f3ae62dce894e0012056f66" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/5f3ae875ce894e001205e1f5/?model_type=device/cucm/Region", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/help", "class": "help", "title": "Help" } }, { "apply": { "title": "Apply", "support_async": true, "class": "custom", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/+apply/", "method": "POST", "view": "/api/device/cucm/Region/+apply/schema/" } }, { "purge": { "support_async": false, "method": "POST", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/purge/", "class": "purge", "title": "Purge" } }, { "restart": { "title": "Restart", "support_async": true, "class": "custom", "href": "/api/device/cucm/Region/5f3ae875ce894e001205e1f5/+restart/", "method": "POST", "view": "/api/device/cucm/Region/+restart/schema/" } } ], "model_type": "device/cucm/Region", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae62dce894e0012056f66", "5f3ae875ce894e001205e1f5" ], "summary_attrs": [ { "name": "name", "title": "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": { "hierarchy_friendly_name": "CL1-AB-C-Rennes (Site)", "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "name": "Cu1Si3-Region", "relatedRegions": { "relatedRegion": [ { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Cu1Si3-Region" }, { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Default" } ] }, "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Rennes" } } ] }
(Show the first instance)
{ "pkid": "5f3ae81ace894e001205c1c2", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "Cu1Si1-Region", "business_key": {}, "schema_version": "11.5", "references": { "parent": [ { "pkid": "5f3ae615ce894e001205697d", "href": "/api/data/HierarchyNode/5f3ae615ce894e001205697d" } ], "self": [ { "pkid": "5f3ae81ace894e001205c1c2", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/" } ], "foreign_key": [], "device": [ { "pkid": "5f3ae58ace894e00120550c2", "href": "/api/v0/data/CallManager/5f3ae58ace894e00120550c2" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5f3ae81ace894e001205c1c2/?hierarchy=[hierarchy]&model_type=device/cucm/Region", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "apply": { "title": "Apply", "support_async": true, "method": "POST", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/+apply/?hierarchy=[hierarchy]", "class": "custom", "view": "/api/device/cucm/Region/+apply/schema/?auth_token=[authtoken] } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } }, { "restart": { "title": "Restart", "support_async": true, "method": "POST", "href": "/api/device/cucm/Region/5f3ae81ace894e001205c1c2/+restart/?hierarchy=[hierarchy]", "class": "custom", "view": "/api/device/cucm/Region/+restart/schema/?auth_token=[authtoken] } } ], "model_type": "device/cucm/Region", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae615ce894e001205697d", "5f3ae81ace894e001205c1c2" ], "summary_attrs": [ { "name": "name", "title": "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": { "name": "Cu1Si1-Region", "relatedRegions": { "relatedRegion": [ { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Cu1Si1-Region" }, { "lossyNetwork": "Use System Default", "bandwidth": "64", "immersiveVideoBandwidth": 2147483647, "videoBandwidth": 384, "codecPreference": "Use System Default", "regionName": "Default" } ] } } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/Region. | GET | /api/device/cucm/Region/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/Region as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cucm/Region/[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/Region/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/Region/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/Region/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/Region | 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/Region; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/Region/[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/Region and the JSON format can be used to import instances of device/cucm/Region.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/Region/[pkid] | hierarchy=[hierarchy] | The device/cucm/Region instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/Region/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/Region. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Apply | POST | /api/device/cucm/Region/[pkid]/+apply | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/Region/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Restart | POST | /api/device/cucm/Region/[pkid]/+restart | hierarchy=[hierarchy] | If payload required: |