[Index]
Model ref.: device/cucm/Location
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": { "betweenLocations": { "title": "Between Locations", "minItems": 1, "required": true, "maxItems": 1, "type": [ "object", "null" ], "properties": { "betweenLocation": { "name": "betweenLocation", "title": "Between Location", "minItems": 1, "items": { "type": [ "object", "null" ], "properties": { "locationName": { "description": "Enter the name of the new location that you are creating. Three system locations are predefined: \n \n \n Hub_None\u2014 Hub_None is an example location that typically serves as a hub linking two or more locations. It is configured by default with unlimited intra-location bandwidth allocations for audio, video, and immersive bandwidth, but you can specify bandwidth allocations for each of these. By default, devices not assigned to other locations are assigned to Hub_None. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n The location that is configured in a device pool takes precedence over the location configured in the device when the location in the device is set to Hub_None. If the device location is set to any other user-defined location, standard rules apply and the device parameter takes priority. \n \n \n \n \n \n Phantom\u2014Phantom location specifies unlimited audio bandwidth, unlimited video bandwidth, and unlimited immersive video bandwidth.. Specify this location to allow successful call admission control for calls across inter-cluster trunks that use the H.323 protocol or SIP trunks to certain destinations that support the earlier Location CAC feature. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n Both Hub_None and Phantom locations do allow configuration of the associated RSVP policy setting(s). \n \n \n \n \n \n Shadow\u2014Shadow is a system location created for inter-cluster Enhanced Location CAC. In order to pass location information across clusters, the SIP ICT must be assigned to the system location Shadow. \n ", "title": "Location", "minItems": 1, "format": "uri", "required": true, "target_attr": "name", "maxItems": 1, "target": "/api/device/cucm/Location/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "type": "string", "name": "locationName", "target_model_type": "device/cucm/Location", "choices": [] }, "immersiveBandwidth": { "description": "Enter the maximum amount of immersive video bandwidth (in kb/s) that is available for all immersive video calls on the link within this location. For video calls, the immersive video bandwidth does not include overhead. Choose among the following options: \n \n \n None\u2014The system does not allow immersive video calls between this location and other locations. Immersive video calls can, however, take place within this location. \n \n Specified bandwidth\u2014Specify an immersive video bandwidth by clicking the radio button next to the kb/s box and entering a specified immersive video bandwidth. The default value specifies 384 kb/s. \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n ", "title": "Immersive Bandwidth", "minItems": 1, "required": true, "choices": [ { "value": "-1", "title": "None" }, { "value": "0", "title": "Unlimited" } ], "default": "384", "maxItems": 1, "type": "integer", "name": "immersiveBandwidth" }, "videoBandwidth": { "description": "Enter the maximum amount of video bandwidth (in kb/s) that is available for all video calls on the link between this location and other locations. For video calls, the video bandwidth does not include overhead. Choose among the following options: \n \n \n None\u2014The system does not allow video calls between this location and other locations. \n \n Specified bandwidth\u2014Specify a video bandwidth by clicking the radio button next to the kb/s box and entering a specified video bandwidth. The default value specifies 384\u00a0kb/s. \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n ", "title": "Video Bandwidth (kbps)", "minItems": 1, "required": true, "choices": [ { "value": "-1", "title": "None" }, { "value": "0", "title": "Unlimited" } ], "default": "384", "maxItems": 1, "type": "integer", "name": "videoBandwidth" }, "weight": { "description": "Enter the relative priority of this link in forming the Effective Path between any pair of Locations. The Effective Path has the least cumulative Weight of all possible paths. Valid values are 0-100. ", "title": "Weight", "minItems": 1, "required": true, "default": 50, "maxItems": 1, "type": "integer", "name": "weight" }, "audioBandwidth": { "description": "Enter the maximum amount of audio bandwidth (in kb/s) that is available for all audio calls on the link between this location and other locations. For audio calls, the audio bandwidth includes overhead. Choose between the following options: \n \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n \n Specified bandwidth\u2014Specify a bandwidth by clicking the radio button next to the kb/s box and entering a specified bandwidth. Valid values are 1 to 2147483647. \n For purposes of location bandwidth calculations only, assume that each call stream consumes the following amount of bandwidth: \n \n \n G.711 call uses 80\u00a0kb/s. \n \n G.722 call uses 80\u00a0kb/s. \n \n G.723 call uses 24\u00a0kb/s. \n \n G.728 call uses 16\u00a0kb/s. \n \n G.729 call uses 24\u00a0kb/s. \n \n GSM call uses 29\u00a0kb/s. \n \n Wideband call uses 272\u00a0kb/s. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n To improve audio quality, lower the bandwidth setting, so fewer active calls are allowed on this link. \n \n \n ", "title": "blank", "minItems": 1, "required": true, "choices": [ { "value": "0", "title": "Unlimited" } ], "maxItems": 1, "type": "integer", "name": "audioBandwidth" } } }, "required": true, "type": "array" } } }, "name": { "description": "Enter the name of the new location that you are creating. Three system locations are predefined: \n \n \n Hub_None\u2014 Hub_None is an example location that typically serves as a hub linking two or more locations. It is configured by default with unlimited intra-location bandwidth allocations for audio, video, and immersive bandwidth, but you can specify bandwidth allocations for each of these. By default, devices not assigned to other locations are assigned to Hub_None. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n The location that is configured in a device pool takes precedence over the location configured in the device when the location in the device is set to Hub_None. If the device location is set to any other user-defined location, standard rules apply and the device parameter takes priority. \n \n \n \n \n \n Phantom\u2014Phantom location specifies unlimited audio bandwidth, unlimited video bandwidth, and unlimited immersive video bandwidth.. Specify this location to allow successful call admission control for calls across inter-cluster trunks that use the H.323 protocol or SIP trunks to certain destinations that support the earlier Location CAC feature. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n Both Hub_None and Phantom locations do allow configuration of the associated RSVP policy setting(s). \n \n \n \n \n \n Shadow\u2014Shadow is a system location created for inter-cluster Enhanced Location CAC. In order to pass location information across clusters, the SIP ICT must be assigned to the system location Shadow. \n ", "title": "Name", "minItems": 1, "required": true, "maxItems": 1, "maxLength": 50, "type": "string" }, "relatedLocations": { "title": "Related Locations", "minItems": 0, "required": false, "maxItems": 1, "type": [ "object", "null" ], "properties": { "relatedLocation": { "name": "relatedLocation", "title": "Related Location", "minItems": 1, "items": { "type": [ "object", "null" ], "properties": { "locationName": { "description": "To change the RSVP policy setting between the current location and a location that displays in this pane, choose a location in this pane.", "title": "Location Name", "minItems": 1, "format": "uri", "required": true, "target_attr": "name", "maxItems": 1, "target": "/api/device/cucm/Location/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "type": "string", "name": "locationName", "target_model_type": "device/cucm/Location", "choices": [] }, "rsvpSetting": { "description": "\n \n To choose an RSVP policy setting between the current location and the location that is chosen in the Location pane at left, choose an RSVP setting from the drop-down list box. Choose from the following available settings:\n \n \n Use System Default\u2014The RSVP policy for the location pair matches the clusterwide RSVP policy. \n \n No Reservation\u2014No RSVP reservations can get made between any two locations. \n \n Optional (Video Desired)\u2014A call can proceed as a best-effort audio-only call if failure to obtain reservations for both audio and video streams occurs. RSVP Agent continues to attempt RSVP reservation and informs \n Cisco Unified Communications Manager if reservation succeeds. \n \n Mandatory\u2014\n Cisco Unified Communications Manager does not ring the terminating device until RSVP reservation succeeds for the audio stream and, if the call is a video call, for the video stream as well. \n \n Mandatory (Video Desired)\u2014A video call can proceed as an audio-only call if a reservation for the video stream cannot be reserved. \n \n ", "title": "Rsvp Setting", "minItems": 1, "required": true, "choices": [ { "value": "Use System Default", "title": "Use System Default" }, { "value": "No Reservation", "title": "No Reservation" }, { "value": "Optional(Video Desired)", "title": "Optional(Video Desired)" }, { "value": "Mandatory", "title": "Mandatory" }, { "value": "Mandatory(Video Desired)", "title": "Mandatory(Video Desired)" }, { "value": "Allow Subscription", "title": "Allow Subscription" }, { "value": "Disallow Subscription", "title": "Disallow Subscription" } ], "maxItems": 1, "type": "string", "name": "rsvpSetting" } } }, "required": true, "type": "array" } } }, "withinImmersiveKbits": { "description": "Enter the maximum amount of immersive video bandwidth (in kb/s) that is available for all immersive video calls on the link within this location. For video calls, the immersive video bandwidth does not include overhead. Choose among the following options: \n \n \n None\u2014The system does not allow immersive video calls between this location and other locations. Immersive video calls can, however, take place within this location. \n \n Specified bandwidth\u2014Specify an immersive video bandwidth by clicking the radio button next to the kb/s box and entering a specified immersive video bandwidth. The default value specifies 384 kb/s. \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n ", "title": "blank", "minItems": 1, "required": true, "default": 0, "maxItems": 1, "type": "integer" }, "withinAudioBandwidth": { "description": "Enter the maximum amount of audio bandwidth (in kb/s) that is available for all audio calls on the link between this location and other locations. For audio calls, the audio bandwidth includes overhead. Choose between the following options: \n \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n \n Specified bandwidth\u2014Specify a bandwidth by clicking the radio button next to the kb/s box and entering a specified bandwidth. Valid values are 1 to 2147483647. \n For purposes of location bandwidth calculations only, assume that each call stream consumes the following amount of bandwidth: \n \n \n G.711 call uses 80\u00a0kb/s. \n \n G.722 call uses 80\u00a0kb/s. \n \n G.723 call uses 24\u00a0kb/s. \n \n G.728 call uses 16\u00a0kb/s. \n \n G.729 call uses 24\u00a0kb/s. \n \n GSM call uses 29\u00a0kb/s. \n \n Wideband call uses 272\u00a0kb/s. \n \n \n \n \n Note\u00a0\u00a0\u00a0 \n To improve audio quality, lower the bandwidth setting, so fewer active calls are allowed on this link. \n \n \n ", "title": "blank", "minItems": 1, "required": true, "default": 0, "maxItems": 1, "type": "integer" }, "withinVideoBandwidth": { "description": "Enter the maximum amount of video bandwidth (in kb/s) that is available for all video calls on the link between this location and other locations. For video calls, the video bandwidth does not include overhead. Choose among the following options: \n \n \n None\u2014The system does not allow video calls between this location and other locations. \n \n Specified bandwidth\u2014Specify a video bandwidth by clicking the radio button next to the kb/s box and entering a specified video bandwidth. The default value specifies 384\u00a0kb/s. \n \n Unlimited bandwidth\u2014Click the Unlimited radio button. \n ", "title": "blank", "minItems": 1, "required": true, "default": 0, "maxItems": 1, "type": "integer" } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cucm/Location/add/ |
|
The GUI Add form of device/cucm/Location 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/Location | 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/Location/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cucm/Location/[pkid1]", "/api/device/cucm/Location/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cucm/Location/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/Location/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/Location/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/Location/[pkid1]", "/api/v0/device/cucm/Location/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/Location/?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/Location |
|
{"hrefs": ["/api/device/cucm/Location/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/Location |
|
{"hrefs": ["/api/device/cucm/Location/[pkid1]", "/api/device/cucm/Location/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/Location; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/Location/export/ |
|
{ "hrefs":["/api/device/cucm/Location/[pkid1]", "/api/device/cucm/Location/[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/Location and the JSON format can be used to import instances of device/cucm/Location.
GET http://[host-proxy]/api/device/cucm/Location/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/Location | POST | /api/device/cucm/Location/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/Location/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/Location/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cucm/Location/ |
|
The device/cucm/Location schema and all instances as JSON. |
(The list will return 0 to 3 device/cucm/Location instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 34, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/device/cucm/Location/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "update", "field_display_policy", "help", "remove", "add", "configuration_template", "list", "export", "get", "bulk_update_form", "transform", "export_bulkload_template", "move" ], "meta": { "model_type": "device/cucm/Location", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "update", "field_display_policy", "help", "remove", "add", "configuration_template", "list", "export", "get", "bulk_update_form", "clone", "export_bulkload_template", "move" ], "schema_version": "14.0", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/device/cucm/Location/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cucm/Location/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/device/cucm/Location/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/cucm/Location", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "POST", "class": "export", "href": "/api/device/cucm/Location/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/device/cucm/Location/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/device/cucm/Location/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/device/cucm/Location/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/device/cucm/Location/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/Location/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/Location/purge/?hierarchy=[hierarchy]", "support_async": false, "title": "Purge" } } ] }, "resources": [ { "data": { "betweenLocations": { "betweenLocation": [ { "locationName": "Hub_None", "immersiveBandwidth": 384, "weight": 50, "videoBandwidth": 0, "audioBandwidth": 0 } ] }, "name": "Cu1Si1-Location", "relatedLocations": { "relatedLocation": [ { "locationName": "Cu1Si1-Location", "rsvpSetting": "No Reservation" } ] }, "withinImmersiveKbits": 0, "withinAudioBandwidth": 0, "withinVideoBandwidth": 0, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "CL1-AB-C-Paris (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Paris" }, "meta": { "model_type": "device/cucm/Location", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "Cu1Si1-Location", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5ae89eccaffa931cce38bd4d", "pkid": "5ae89eccaffa931cce38bd4d" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89fe6affa931cce38fc13", "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13" } ], "foreign_key": [], "self": [ { "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/", "pkid": "5ae8a2beaffa931cce39a838" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fe6affa931cce38fc13", "5ae8a2beaffa931cce39a838" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8a2beaffa931cce39a838/?model_type=device/cucm/Location", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/help", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/purge/", "support_async": false, "title": "Purge" } } ], "summary": "false" }, "pkid": "5ae8a2beaffa931cce39a838" }, { "data": { "betweenLocations": { "betweenLocation": [ { "locationName": "Hub_None", "immersiveBandwidth": 384, "videoBandwidth": 0, "weight": 50, "audioBandwidth": 0 } ] }, "name": "Cu1Si10-Location", "relatedLocations": { "relatedLocation": [ { "locationName": "Cu1Si10-Location", "rsvpSetting": "No Reservation" } ] }, "withinImmersiveKbits": 0, "withinAudioBandwidth": 0, "withinVideoBandwidth": 0, "summary_device": "Dedicated CUCM, 192.168.100.16, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "CL2-AB-C-Fleet (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL2-AB-C-Fleet" }, "meta": { "model_type": "device/cucm/Location", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "Cu1Si10-Location", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5ae89edaaffa931cce38c13d", "pkid": "5ae89edaaffa931cce38c13d" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae8a0aaaffa931cce391f59", "href": "/api/data/HierarchyNode/5ae8a0aaaffa931cce391f59" } ], "foreign_key": [], "self": [ { "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/", "pkid": "5ae8a6b6affa931cce3abe0c" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae8a0aaaffa931cce391f59", "5ae8a6b6affa931cce3abe0c" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8a6b6affa931cce3abe0c/?model_type=device/cucm/Location", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/help", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/Location/5ae8a6b6affa931cce3abe0c/purge/", "support_async": false, "title": "Purge" } } ], "summary": "false" }, "pkid": "5ae8a6b6affa931cce3abe0c" }, { "data": { "betweenLocations": { "betweenLocation": [ { "locationName": "Hub_None", "immersiveBandwidth": 384, "videoBandwidth": 0, "weight": 50, "audioBandwidth": 0 } ] }, "name": "Cu1Si11-Location", "relatedLocations": { "relatedLocation": [ { "locationName": "Cu1Si11-Location", "rsvpSetting": "No Reservation" } ] }, "withinImmersiveKbits": 0, "withinAudioBandwidth": 0, "withinVideoBandwidth": 0, "summary_device": "Dedicated CUCM, 192.168.100.16, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "CL2-AB-C-Birmingham (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL2-AB-C-Birmingham" }, "meta": { "model_type": "device/cucm/Location", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "Cu1Si11-Location", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5ae89edaaffa931cce38c13d", "pkid": "5ae89edaaffa931cce38c13d" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae8a0c2affa931cce3923c4", "href": "/api/data/HierarchyNode/5ae8a0c2affa931cce3923c4" } ], "foreign_key": [], "self": [ { "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/", "pkid": "5ae8a785affa931cce3af462" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae8a0c2affa931cce3923c4", "5ae8a785affa931cce3af462" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8a785affa931cce3af462/?model_type=device/cucm/Location", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/help", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/Location/5ae8a785affa931cce3af462/purge/", "support_async": false, "title": "Purge" } } ], "summary": "false" }, "pkid": "5ae8a785affa931cce3af462" } ] }
(Show the first instance)
{ "data": { "betweenLocations": { "betweenLocation": [ { "locationName": "Hub_None", "immersiveBandwidth": 384, "weight": 50, "videoBandwidth": 0, "audioBandwidth": 0 } ] }, "name": "Cu1Si1-Location", "relatedLocations": { "relatedLocation": [ { "locationName": "Cu1Si1-Location", "rsvpSetting": "No Reservation" } ] }, "withinImmersiveKbits": 0, "withinAudioBandwidth": 0, "withinVideoBandwidth": 0 }, "meta": { "model_type": "device/cucm/Location", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "Cu1Si1-Location", "business_key": {}, "api_version": "21.2", "cached": true, "cache_control_policy": "cache_then_device", "references": { "device": [ { "href": "/api/v0/data/CallManager/5ae89eccaffa931cce38bd4d", "pkid": "5ae89eccaffa931cce38bd4d" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ae89fe6affa931cce38fc13", "pkid": "5ae89fe6affa931cce38fc13" } ], "foreign_key": [], "children": [], "self": [ { "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/", "pkid": "5ae8a2beaffa931cce39a838" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fe6affa931cce38fc13", "5ae8a2beaffa931cce39a838" ], "schema_version": "10.5", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae8a2beaffa931cce39a838/?hierarchy=[hierarchy]&model_type=device/cucm/Location", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/Location/5ae8a2beaffa931cce39a838/purge/?hierarchy=[hierarchy]", "support_async": false, "title": "Purge" } } ] }, "pkid": "5ae8a2beaffa931cce39a838" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/Location. | GET | /api/device/cucm/Location/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/Location as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Purge | POST | /api/device/cucm/Location/purge/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cucm/Location/[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/Location/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/Location/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/Location/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/Location | 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/Location; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/Location/[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/Location and the JSON format can be used to import instances of device/cucm/Location.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/Location/[pkid] | hierarchy=[hierarchy] | The device/cucm/Location instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/Location/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/Location. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/Location/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |