[Index]
This relation wraps the default CUCM CallManager Group element.
Model ref.: relation/HcsCallManagerGroupREL
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": { "members": { "title": "Members", "minItems": 1, "required": true, "maxItems": 1, "type": [ "object", "null" ], "properties": { "member": { "name": "member", "title": "Member", "minItems": 1, "items": { "type": [ "object", "null" ], "properties": { "priority": { "name": "priority", "title": "Priority", "minItems": 1, "required": true, "maxItems": 1, "type": "integer" }, "callManagerName": { "name": "callManagerName", "title": "Call Manager Name", "minItems": 1, "format": "uri", "required": true, "target_attr": "name", "maxItems": 1, "type": [ "string", "null" ], "target": "/api/device/cucm/CallManager/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "device/cucm/CallManager", "choices": [] } } }, "required": true, "type": "array" } } }, "name": { "title": "Name", "minItems": 1, "required": true, "maxItems": 1, "maxLength": 50, "type": "string" }, "tftpDefault": { "description": "Only use when setting TFTP Default to true. Setting to true will result in setting all other CallManager groups to false. ", "title": "Tftp Default", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "shadow": { "title": "Shadow", "type": "array", "items": { "type": "object", "properties": { "name": { "title": "Name", "type": "string", "maxLength": 1024, "required": true, "readonly": false, "is_password": false, "displayable": false } } }, "maxItems": 1 } }, "schema_version": "2.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/HcsCallManagerGroupREL/add/ |
|
The GUI Add form of relation/HcsCallManagerGroupREL 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/HcsCallManagerGroupREL | 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/HcsCallManagerGroupREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsCallManagerGroupREL/[pkid1]", "/api/relation/HcsCallManagerGroupREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsCallManagerGroupREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsCallManagerGroupREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsCallManagerGroupREL/export/ |
|
{ "hrefs":["/api/relation/HcsCallManagerGroupREL/[pkid1]", "/api/relation/HcsCallManagerGroupREL/[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/HcsCallManagerGroupREL and the JSON format can be used to import instances of relation/HcsCallManagerGroupREL.
GET http://[host-proxy]/api/relation/HcsCallManagerGroupREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsCallManagerGroupREL | POST | /api/relation/HcsCallManagerGroupREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsCallManagerGroupREL/ |
|
The relation/HcsCallManagerGroupREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsCallManagerGroupREL instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 5, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/relation/HcsCallManagerGroupREL/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "list", "help", "field_display_policy", "get", "configuration_template", "update", "bulk_update", "remove", "add", "export", "clone", "export_bulkload_template" ], "meta": { "model_type": "relation/HcsCallManagerGroupREL", "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": [], "self": [ { "href": "/api/relation/HcsCallManagerGroupREL/None/", "pkid": null } ] }, "model_specific_actions": [ "list", "help", "get", "update", "remove", "add", "export", "clone", "export_bulkload_template" ], "schema_version": "2.1", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/relation/HcsCallManagerGroupREL/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsCallManagerGroupREL/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/relation/HcsCallManagerGroupREL/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/relation/HcsCallManagerGroupREL/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/relation/HcsCallManagerGroupREL/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsCallManagerGroupREL/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "tftpDefault": false, "name": "ABG-CL1-PhonesGroup-Sub1-Sub2", "members": { "member": [ { "priority": 0, "callManagerName": "CM_CUCM" } ] }, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "relation/HcsCallManagerGroupREL", "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": "ABG-CL1-PhonesGroup-Sub1-Sub2", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5df0b693ce894e001275c115", "pkid": "5df0b693ce894e001275c115" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5df0b66bce894e001275a913", "href": "/api/data/HierarchyNode/5df0b66bce894e001275a913" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/", "pkid": "5df0b6acce894e001275c6fa" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5df0b338ce894e001275535c", "5df0b3a3ce894e0012756904", "5df0b66bce894e001275a913", "5df0b6acce894e001275c6fa" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/help", "support_async": false, "title": "Help" } }, { "apply": { "method": "POST", "class": "custom", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/+apply/", "support_async": true, "title": "Apply" } } ], "summary": "false" }, "pkid": "5df0b6acce894e001275c6fa" }, { "data": { "tftpDefault": false, "name": "ABG-CL1-PhonesGroup-Sub3-Sub4", "members": { "member": [ { "priority": 0, "callManagerName": "CM_CUCM" } ] }, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "relation/HcsCallManagerGroupREL", "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": "ABG-CL1-PhonesGroup-Sub3-Sub4", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5df0b693ce894e001275c115", "pkid": "5df0b693ce894e001275c115" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5df0b66bce894e001275a913", "href": "/api/data/HierarchyNode/5df0b66bce894e001275a913" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/", "pkid": "5df0b6adce894e001275c787" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5df0b338ce894e001275535c", "5df0b3a3ce894e0012756904", "5df0b66bce894e001275a913", "5df0b6adce894e001275c787" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/help", "support_async": false, "title": "Help" } }, { "apply": { "method": "POST", "class": "custom", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6adce894e001275c787/+apply/", "support_async": true, "title": "Apply" } } ], "summary": "false" }, "pkid": "5df0b6adce894e001275c787" }, { "data": { "tftpDefault": false, "name": "ABG-CL1-PhonesGroup-Sub5-Sub6", "members": { "member": [ { "priority": 0, "callManagerName": "CM_CUCM" } ] }, "summary_device": "Dedicated CUCM, 192.168.100.15, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "relation/HcsCallManagerGroupREL", "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": "ABG-CL1-PhonesGroup-Sub5-Sub6", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/CallManager/5df0b693ce894e001275c115", "pkid": "5df0b693ce894e001275c115" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5df0b66bce894e001275a913", "href": "/api/data/HierarchyNode/5df0b66bce894e001275a913" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/", "pkid": "5df0b6aece894e001275c7a5" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5df0b338ce894e001275535c", "5df0b3a3ce894e0012756904", "5df0b66bce894e001275a913", "5df0b6aece894e001275c7a5" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/help", "support_async": false, "title": "Help" } }, { "apply": { "method": "POST", "class": "custom", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6aece894e001275c7a5/+apply/", "support_async": true, "title": "Apply" } } ], "summary": "false" }, "pkid": "5df0b6aece894e001275c7a5" } ] }
(Show the first instance)
{ "data": { "tftpDefault": false, "name": "ABG-CL1-PhonesGroup-Sub1-Sub2", "members": { "member": [ { "priority": 0, "callManagerName": "CM_CUCM" } ] }, "shadow": [] }, "meta": { "model_type": "relation/HcsCallManagerGroupREL", "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": "ABG-CL1-PhonesGroup-Sub1-Sub2", "business_key": {}, "api_version": "21.2", "cached": true, "cache_control_policy": "cache_then_device", "references": { "device": [ { "href": "/api/v0/data/CallManager/5df0b693ce894e001275c115", "pkid": "5df0b693ce894e001275c115" } ], "children": [], "parent": [ { "pkid": "5df0b66bce894e001275a913", "href": "/api/data/HierarchyNode/5df0b66bce894e001275a913" } ], "self": [ { "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/", "pkid": "5df0b6acce894e001275c6fa" } ] }, "schema_version": "2.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/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/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "apply": { "method": "POST", "class": "custom", "href": "/api/relation/HcsCallManagerGroupREL/5df0b6acce894e001275c6fa/+apply/?hierarchy=[hierarchy]", "support_async": true, "title": "Apply" } } ] }, "pkid": "5df0b6acce894e001275c6fa" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsCallManagerGroupREL. | GET | /api/relation/HcsCallManagerGroupREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsCallManagerGroupREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsCallManagerGroupREL/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsCallManagerGroupREL/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/relation/HcsCallManagerGroupREL/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/relation/HcsCallManagerGroupREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsCallManagerGroupREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsCallManagerGroupREL/[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/HcsCallManagerGroupREL and the JSON format can be used to import instances of relation/HcsCallManagerGroupREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsCallManagerGroupREL/[pkid] | hierarchy=[hierarchy] | The relation/HcsCallManagerGroupREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsCallManagerGroupREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsCallManagerGroupREL. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Apply | POST | /api/relation/HcsCallManagerGroupREL/[pkid]/+apply | hierarchy=[hierarchy] | If payload required: |