[Index]
Model ref.: relation/HcsNetworkDeviceListREL
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": { "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" }, "name": { "is_password": false, "description": "Name of the list of network devices.", "title": "Name", "items": { "is_password": false }, "required": true, "readonly": false, "type": "string" }, "devices": { "is_password": false, "description": "Devices owned by the entity. The entity can be for example a Customer or Service provider.", "title": "Devices", "required": false, "readonly": false, "type": "object", "properties": { "OracleSBC": { "description": "A list of OracleSBC references", "title": "OracleSBC", "items": { "target": "/api/data/OracleSBC/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the OracleSBC", "required": true, "choices": [], "readonly": false, "target_model_type": "data/OracleSBC", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "msonline": { "description": "A list of Microsoft Online references", "title": "Microsoft Online", "items": { "target": "/api/data/msonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Microsoft Online", "required": true, "choices": [], "readonly": false, "target_model_type": "data/msonline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "exchangehybrid": { "description": "A list of Exchange Hybrid references", "title": "Exchange Hybrid", "items": { "target": "/api/data/exchangehybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Exchange Hybrid", "required": true, "choices": [], "readonly": false, "target_model_type": "data/exchangehybrid", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "CallManager": { "description": "A list of Cisco Unified CM references", "title": "Cisco Unified CM", "items": { "target": "/api/data/CallManager/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Cisco Unified CM", "required": true, "choices": [], "readonly": false, "target_model_type": "data/CallManager", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "activedirectoryhybrid": { "description": "A list of Active Directory Hybrid references", "title": "Active Directory Hybrid", "items": { "target": "/api/data/activedirectoryhybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Active Directory Hybrid", "required": true, "choices": [], "readonly": false, "target_model_type": "data/activedirectoryhybrid", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "OracleECB": { "description": "A list of OracleECB references", "title": "OracleECB", "items": { "target": "/api/data/OracleECB/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the OracleECB", "required": true, "choices": [], "readonly": false, "target_model_type": "data/OracleECB", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "GuiCucm": { "description": "A list of CallManager GUI references", "title": "CallManager GUI", "items": { "target": "/api/data/GuiCucm/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the CallManager GUI", "required": true, "choices": [], "readonly": false, "target_model_type": "data/GuiCucm", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Ldap": { "description": "A list of LDAP references", "title": "LDAP", "items": { "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the LDAP", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Ldap", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "MSTeamsOnline": { "description": "A list of MSTeamsOnline references", "title": "MSTeamsOnline", "items": { "target": "/api/data/MSTeamsOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the MSTeamsOnline", "required": true, "choices": [], "readonly": false, "target_model_type": "data/MSTeamsOnline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Ios": { "description": "A list of IOS references", "title": "IOS", "items": { "target": "/api/data/Ios/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the IOS", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Ios", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "snow": { "description": "A list of Service Now references", "title": "Service Now", "items": { "target": "/api/data/snow/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Service Now", "required": true, "choices": [], "readonly": false, "target_model_type": "data/snow", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "MSExchangeOnline": { "description": "A list of MSExchangeOnline references", "title": "MSExchangeOnline", "items": { "target": "/api/data/MSExchangeOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the MSExchangeOnline", "required": true, "choices": [], "readonly": false, "target_model_type": "data/MSExchangeOnline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Hcmf": { "description": "A list of Cisco HCM-F references", "title": "Cisco HCM-F", "items": { "target": "/api/data/Hcmf/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Cisco HCM-F", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Hcmf", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "AssuranceArbitrator": { "description": "A list of Assurance Arbitrator references", "title": "Assurance Arbitrator", "items": { "target": "/api/data/AssuranceArbitrator/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Assurance Arbitrator", "required": true, "choices": [], "readonly": false, "target_model_type": "data/AssuranceArbitrator", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "skypeforbusinessonline": { "description": "A list of SkypeForBusiness Online references", "title": "SkypeForBusiness Online", "items": { "target": "/api/data/skypeforbusinessonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the SkypeForBusiness Online", "required": true, "choices": [], "readonly": false, "target_model_type": "data/skypeforbusinessonline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "CmCcs": { "description": "A list of Call Manager Control Center Services references", "title": "Call Manager Control Center Services", "items": { "target": "/api/data/CmCcs/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Call Manager Control Center Services", "required": true, "choices": [], "readonly": false, "target_model_type": "data/CmCcs", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Imap": { "description": "A list of IMAP4 references", "title": "IMAP4", "items": { "target": "/api/data/Imap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the IMAP4", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Imap", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Sfb2015": { "description": "A list of sfb2015 references", "title": "sfb2015", "items": { "target": "/api/data/Sfb2015/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the sfb2015", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Sfb2015", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "skypeforbusinesshybrid": { "description": "A list of SkypeForBusiness Hybrid references", "title": "SkypeForBusiness Hybrid", "items": { "target": "/api/data/skypeforbusinesshybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the SkypeForBusiness Hybrid", "required": true, "choices": [], "readonly": false, "target_model_type": "data/skypeforbusinesshybrid", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "exchange": { "description": "A list of Exchange references", "title": "Exchange", "items": { "target": "/api/data/exchange/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Exchange", "required": true, "choices": [], "readonly": false, "target_model_type": "data/exchange", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "activedirectory": { "description": "A list of Active Directory references", "title": "Active Directory", "items": { "target": "/api/data/activedirectory/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Active Directory", "required": true, "choices": [], "readonly": false, "target_model_type": "data/activedirectory", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "UnityConnection": { "description": "A list of Cisco Unity Connection references", "title": "Cisco Unity Connection", "items": { "target": "/api/data/UnityConnection/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Cisco Unity Connection", "required": true, "choices": [], "readonly": false, "target_model_type": "data/UnityConnection", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "GuiCuc": { "description": "A list of Unity Connection GUI references", "title": "Unity Connection GUI", "items": { "target": "/api/data/GuiCuc/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Unity Connection GUI", "required": true, "choices": [], "readonly": false, "target_model_type": "data/GuiCuc", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "MSGraph": { "description": "A list of MSGraph references", "title": "MSGraph", "items": { "target": "/api/data/MSGraph/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the MSGraph", "required": true, "choices": [], "readonly": false, "target_model_type": "data/MSGraph", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "exchangeonline": { "description": "A list of Exchange Online references", "title": "Exchange Online", "items": { "target": "/api/data/exchangeonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Exchange Online", "required": true, "choices": [], "readonly": false, "target_model_type": "data/exchangeonline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Uccx": { "description": "A list of Cisco Unified Contact Center Express references", "title": "Cisco Unified Contact Center Express", "items": { "target": "/api/data/Uccx/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Cisco Unified Contact Center Express", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Uccx", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "skypeforbusiness": { "description": "A list of SkypeForBusiness references", "title": "SkypeForBusiness", "items": { "target": "/api/data/skypeforbusiness/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the SkypeForBusiness", "required": true, "choices": [], "readonly": false, "target_model_type": "data/skypeforbusiness", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "AzureADOnline": { "description": "A list of AzureADOnline references", "title": "AzureADOnline", "items": { "target": "/api/data/AzureADOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the AzureADOnline", "required": true, "choices": [], "readonly": false, "target_model_type": "data/AzureADOnline", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "GuiImp": { "description": "A list of IMP GUI references", "title": "IMP GUI", "items": { "target": "/api/data/GuiImp/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the IMP GUI", "required": true, "choices": [], "readonly": false, "target_model_type": "data/GuiImp", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Smtp": { "description": "A list of SMTP references", "title": "SMTP", "items": { "target": "/api/data/Smtp/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the SMTP", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Smtp", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "Pgw": { "description": "A list of PGW references", "title": "PGW", "items": { "target": "/api/data/Pgw/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the PGW", "required": true, "choices": [], "readonly": false, "target_model_type": "data/Pgw", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "WebEx": { "description": "A list of Cisco WebEx references", "title": "Cisco WebEx", "items": { "target": "/api/data/WebEx/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Cisco WebEx", "required": true, "choices": [], "readonly": false, "target_model_type": "data/WebEx", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "GenericCucm": { "description": "A list of Call Manager AXL Generic Driver references", "title": "Call Manager AXL Generic Driver", "items": { "target": "/api/data/GenericCucm/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the Call Manager AXL Generic Driver", "required": true, "choices": [], "readonly": false, "target_model_type": "data/GenericCucm", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" }, "powershell": { "description": "A list of PowerShell references", "title": "PowerShell", "items": { "target": "/api/data/powershell/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Reference to the PowerShell", "required": true, "choices": [], "readonly": false, "target_model_type": "data/powershell", "type": "string", "name": "reference" }, "required": false, "readonly": false, "type": "array" } } }, "description": { "is_password": false, "description": "The description of the the network device list instance.", "title": "Description", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" } }, "schema_version": "2.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/HcsNetworkDeviceListREL/add/ |
|
The GUI Add form of relation/HcsNetworkDeviceListREL 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/HcsNetworkDeviceListREL/ | 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/HcsNetworkDeviceListREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsNetworkDeviceListREL/[pkid1]", "/api/relation/HcsNetworkDeviceListREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsNetworkDeviceListREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsNetworkDeviceListREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsNetworkDeviceListREL/export/ |
|
{ "hrefs":["/api/relation/HcsNetworkDeviceListREL/[pkid1]", "/api/relation/HcsNetworkDeviceListREL/[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/HcsNetworkDeviceListREL and the JSON format can be used to import instances of relation/HcsNetworkDeviceListREL.
GET http://[host-proxy]/api/relation/HcsNetworkDeviceListREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsNetworkDeviceListREL | POST | /api/relation/HcsNetworkDeviceListREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsNetworkDeviceListREL/ |
|
The relation/HcsNetworkDeviceListREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsNetworkDeviceListREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "bulk_update", "export" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/HcsNetworkDeviceListREL/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 6 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "2.1", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/HcsNetworkDeviceListREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/HcsNetworkDeviceListREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsNetworkDeviceListREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsNetworkDeviceListREL/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/HcsNetworkDeviceListREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/HcsNetworkDeviceListREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsNetworkDeviceListREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsNetworkDeviceListREL", "model_specific_actions": [ "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "export" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "61b12fe4eadb826afd7bb49a", "meta": { "tags": [], "cached": true, "title": "NDL-AAAGlobal-1", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b12fe4eadb826afd7bb49a", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [ { "pkid": "61b12f35eadb826afd7b865e", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "61b12f30eadb826afd7b85f3", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "61b12f2feadb826afd7b858f", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "61b12f56eadb826afd7b8db9", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "61b12f63eadb826afd7b906e", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/help", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsNetworkDeviceListREL", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b12fe4eadb826afd7bb49a" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "pkid": "61b12fe4eadb826afd7bb4a7", "hierarchy_friendly_name": "AAAGlobal (Customer)", "name": "NDL-AAAGlobal-1", "devices": { "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "UnityConnection": [ "[\"192.168.100.20\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CmCcs": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "GenericCucm": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CallManager": [ "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ] }, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "61b13011eadb826afd7bc016", "meta": { "tags": [], "cached": true, "title": "NDL-AAAGlobal-2", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13011eadb826afd7bc016", "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [ { "pkid": "61b12f7feadb826afd7b9943", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "61b12f7eeadb826afd7b98c5", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "61b12f7ceadb826afd7b9861", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "61b12fa5eadb826afd7ba3e2", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "61b12f63eadb826afd7b906e", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/HcsNetworkDeviceListREL/61b13011eadb826afd7bc016/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "relation/HcsNetworkDeviceListREL", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13011eadb826afd7bc016" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "pkid": "61b13011eadb826afd7bc02e", "hierarchy_friendly_name": "AAAGlobal (Customer)", "name": "NDL-AAAGlobal-2", "devices": { "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "UnityConnection": [ "[\"192.168.100.21\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CmCcs": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "GenericCucm": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CallManager": [ "[\"192.168.100.16\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ] }, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "61b12fb8eadb826afd7ba7e8", "meta": { "tags": [], "cached": true, "title": "NDL-GeoLogic-1", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b12fb8eadb826afd7ba7e8", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/" } ], "parent": [ { "pkid": "61b12eeceadb826afd7b74c0", "href": "/api/data/HierarchyNode/61b12eeceadb826afd7b74c0" } ], "foreign_key": [ { "pkid": "61b12f03eadb826afd7b7a78", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "61b12f02eadb826afd7b7a44", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "61b12f01eadb826afd7b7a24", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "61b12f13eadb826afd7b7dd9", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/", "class": "delete", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fb8eadb826afd7ba7e8/help", "class": "help", "title": "Help" } } ], "model_type": "relation/HcsNetworkDeviceListREL", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12eeceadb826afd7b74c0", "61b12fb8eadb826afd7ba7e8" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "pkid": "61b12fb8eadb826afd7ba7e9", "hierarchy_friendly_name": "GeoLogic (Customer)", "name": "NDL-GeoLogic-1", "devices": { "CmCcs": [ "[\"192.168.100.17\", \"hcs.CS-P\"]" ], "UnityConnection": [ "[\"192.168.100.22\", \"8443\", \"hcs.CS-P\"]" ], "GenericCucm": [ "[\"192.168.100.17\", \"hcs.CS-P\"]" ], "CallManager": [ "[\"192.168.100.17\", \"8443\", \"hcs.CS-P\"]" ] }, "hierarchy_path": "sys.hcs.CS-P.GeoLogic" } } ] }
(Show the first instance)
{ "pkid": "61b12fe4eadb826afd7bb49a", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "NDL-AAAGlobal-1", "business_key": {}, "schema_version": "2.1", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": "61b12fe4eadb826afd7bb49a", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/" } ], "children": [], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsNetworkDeviceListREL/61b12fe4eadb826afd7bb49a/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsNetworkDeviceListREL", "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "shadow": [], "name": "NDL-AAAGlobal-1", "devices": { "UnityConnection": [ "[\"192.168.100.20\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CmCcs": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "GenericCucm": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ], "CallManager": [ "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ] } } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsNetworkDeviceListREL. | GET | /api/relation/HcsNetworkDeviceListREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsNetworkDeviceListREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsNetworkDeviceListREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsNetworkDeviceListREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsNetworkDeviceListREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsNetworkDeviceListREL/[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/HcsNetworkDeviceListREL and the JSON format can be used to import instances of relation/HcsNetworkDeviceListREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsNetworkDeviceListREL/[pkid]/ | hierarchy=[hierarchy] | The relation/HcsNetworkDeviceListREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsNetworkDeviceListREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsNetworkDeviceListREL. |