[Index]
List of network devices owned by an entity.
Model ref.: data/NetworkDeviceList
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": { "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": { "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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" }, "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": "0.2.2" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/NetworkDeviceList/add/ |
|
The GUI Add form of data/NetworkDeviceList 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/data/NetworkDeviceList/ | 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/data/NetworkDeviceList/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/NetworkDeviceList/[pkid1]", "/api/data/NetworkDeviceList/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/NetworkDeviceList/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/NetworkDeviceList/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/NetworkDeviceList/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/NetworkDeviceList/[pkid1]", "/api/v0/data/NetworkDeviceList/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/NetworkDeviceList/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/NetworkDeviceList; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/NetworkDeviceList/export/ |
|
{ "hrefs":["/api/data/NetworkDeviceList/[pkid1]", "/api/data/NetworkDeviceList/[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 data/NetworkDeviceList and the JSON format can be used to import instances of data/NetworkDeviceList.
GET http://[host-proxy]/api/data/NetworkDeviceList/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/NetworkDeviceList | POST | /api/data/NetworkDeviceList/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/NetworkDeviceList/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/NetworkDeviceList/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/NetworkDeviceList/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/NetworkDeviceList/ |
|
The data/NetworkDeviceList schema and all instances as JSON. |
(The list will return 0 to 3 data/NetworkDeviceList instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/NetworkDeviceList/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 4 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/data/NetworkDeviceList/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/NetworkDeviceList/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/NetworkDeviceList/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/NetworkDeviceList/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/data/NetworkDeviceList/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/NetworkDeviceList/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/NetworkDeviceList/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/NetworkDeviceList/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/NetworkDeviceList/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/NetworkDeviceList/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/NetworkDeviceList", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "remove", "update" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5dcdc1bfe186e30018ec8322", "meta": { "tags": [], "cached": true, "title": "GeoLogic-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcdc1bfe186e30018ec8322", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/" } ], "parent": [ { "pkid": "5dcd181e33fc9b0018900610", "href": "/api/data/HierarchyNode/5dcd181e33fc9b0018900610" } ], "foreign_key": [ { "pkid": "5dcdc1ad4544b700186186ca", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5dcdc1b933fc9b001891379c", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/help", "method": "GET", "title": "Help" } } ], "model_type": "data/NetworkDeviceList", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd181e33fc9b0018900610", "5dcdc1bfe186e30018ec8322" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "description": "GeoLogic Network Device List", "pkid": "5dcdc1bfe186e30018ec8323", "devices": { "UnityConnection": [ "[\"192.168.100.22\", \"443\", \"hcs.CS-P.GeoLogic\"]" ], "CallManager": [ "[\"192.168.100.17\", \"8443\", \"hcs.CS-P.GeoLogic\"]" ] }, "hierarchy_friendly_name": "GeoLogic (Customer)", "hierarchy_path": "sys.hcs.CS-P.GeoLogic", "name": "GeoLogic-NDL" } }, { "pkid": "5dcd188ee186e30018eb745a", "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": "5dcd188ee186e30018eb745a", "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/" } ], "parent": [ { "pkid": "5dcd1812e186e30018eb7023", "href": "/api/data/HierarchyNode/5dcd1812e186e30018eb7023" } ], "foreign_key": [ { "pkid": "5dcd183c56b5de00189141b0", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5dcd18514544b7001860529a", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "5dcd185d56b5de0018914389", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/NetworkDeviceList/5dcd188ee186e30018eb745a/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/NetworkDeviceList", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd180233fc9b00189005b2", "5dcd1812e186e30018eb7023", "5dcd188ee186e30018eb745a" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "pkid": "5dcd188ee186e30018eb745b", "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\"]" ], "CallManager": [ "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]" ] }, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5dcd355ee186e30018ebd4e7", "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": "5dcd355ee186e30018ebd4e7", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/" } ], "parent": [ { "pkid": "5dcd1812e186e30018eb7023", "href": "/api/data/HierarchyNode/5dcd1812e186e30018eb7023" } ], "foreign_key": [ { "pkid": "5dcd186ee186e30018eb7414", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5dcd18824544b70018605580", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/NetworkDeviceList/5dcd355ee186e30018ebd4e7/help", "class": "help", "title": "Help" } } ], "model_type": "data/NetworkDeviceList", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd180233fc9b00189005b2", "5dcd1812e186e30018eb7023", "5dcd355ee186e30018ebd4e7" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "pkid": "5dcd355ee186e30018ebd4e8", "hierarchy_friendly_name": "AAAGlobal (Customer)", "name": "NDL-AAAGlobal-2", "devices": { "UnityConnection": [ "[\"192.168.100.21\", \"8443\", \"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" } } ] }
(Show the first instance)
{ "pkid": "5dcdc1bfe186e30018ec8322", "meta": { "tags": [], "cached": false, "title": "GeoLogic-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "0.2.2", "references": { "parent": [ { "pkid": "5dcd181e33fc9b0018900610", "href": "/api/data/HierarchyNode/5dcd181e33fc9b0018900610" } ], "self": [ { "pkid": "5dcdc1bfe186e30018ec8322", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/" } ], "foreign_key": [ { "pkid": "5dcdc1ad4544b700186186ca", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5dcdc1b933fc9b001891379c", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/NetworkDeviceList/5dcdc1bfe186e30018ec8322/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/NetworkDeviceList", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd181e33fc9b0018900610", "5dcdc1bfe186e30018ec8322" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "pkid": "5dcdc1bfe186e30018ec8323", "name": "GeoLogic-NDL", "devices": { "UnityConnection": [ "[\"192.168.100.22\", \"443\", \"hcs.CS-P.GeoLogic\"]" ], "CallManager": [ "[\"192.168.100.17\", \"8443\", \"hcs.CS-P.GeoLogic\"]" ] }, "description": "GeoLogic Network Device List" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/NetworkDeviceList. | GET | /api/data/NetworkDeviceList/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/NetworkDeviceList as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/NetworkDeviceList/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/NetworkDeviceList/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/NetworkDeviceList/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/NetworkDeviceList/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/NetworkDeviceList; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/NetworkDeviceList/[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 data/NetworkDeviceList and the JSON format can be used to import instances of data/NetworkDeviceList.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/NetworkDeviceList/[pkid]/ | hierarchy=[hierarchy] | The data/NetworkDeviceList instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/NetworkDeviceList/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/NetworkDeviceList. |