[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" }, "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" }, "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": { "activedirectory": { "description": "A list of Active Directory references", "title": "Active Directory", "items": { "description": "Reference to the Active Directory", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/activedirectory/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/activedirectory", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "activedirectoryhybrid": { "description": "A list of Active Directory Hybrid references", "title": "Active Directory Hybrid", "items": { "description": "Reference to the Active Directory Hybrid", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/activedirectoryhybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/activedirectoryhybrid", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "AssuranceArbitrator": { "description": "A list of Assurance Arbitrator references", "title": "Assurance Arbitrator", "items": { "description": "Reference to the Assurance Arbitrator", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/AssuranceArbitrator/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/AssuranceArbitrator", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "AudioCodes": { "description": "A list of AudioCodes references", "title": "AudioCodes", "items": { "description": "Reference to the AudioCodes", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/AudioCodes/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/AudioCodes", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "AzureADOnline": { "description": "A list of AzureADOnline references", "title": "AzureADOnline", "items": { "description": "Reference to the AzureADOnline", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/AzureADOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/AzureADOnline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "BroadsoftOCIP": { "description": "A list of BroadsoftOCIP references", "title": "BroadsoftOCIP", "items": { "description": "Reference to the BroadsoftOCIP", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/BroadsoftOCIP/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/BroadsoftOCIP", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "GenericCucm": { "description": "A list of Call Manager AXL Generic Driver references", "title": "Call Manager AXL Generic Driver", "items": { "description": "Reference to the Call Manager AXL Generic Driver", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/GenericCucm/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/GenericCucm", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "CmCcs": { "description": "A list of Call Manager Control Center Services references", "title": "Call Manager Control Center Services", "items": { "description": "Reference to the Call Manager Control Center Services", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/CmCcs/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/CmCcs", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "GuiCucm": { "description": "A list of CallManager GUI references", "title": "CallManager GUI", "items": { "description": "Reference to the CallManager GUI", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/GuiCucm/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/GuiCucm", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Hcmf": { "description": "A list of Cisco HCM-F references", "title": "Cisco HCM-F", "items": { "description": "Reference to the Cisco HCM-F", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Hcmf/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Hcmf", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "CallManager": { "description": "A list of Cisco Unified CM references", "title": "Cisco Unified CM", "items": { "description": "Reference to the Cisco Unified CM", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/CallManager/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/CallManager", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Uccx": { "description": "A list of Cisco Unified Contact Center Express references", "title": "Cisco Unified Contact Center Express", "items": { "description": "Reference to the Cisco Unified Contact Center Express", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Uccx/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Uccx", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "UnityConnection": { "description": "A list of Cisco Unity Connection references", "title": "Cisco Unity Connection", "items": { "description": "Reference to the Cisco Unity Connection", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/UnityConnection/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/UnityConnection", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "WebEx": { "description": "A list of Cisco WebEx references", "title": "Cisco WebEx", "items": { "description": "Reference to the Cisco WebEx", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/WebEx/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/WebEx", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "exchange": { "description": "A list of Exchange references", "title": "Exchange", "items": { "description": "Reference to the Exchange", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/exchange/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/exchange", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "exchangehybrid": { "description": "A list of Exchange Hybrid references", "title": "Exchange Hybrid", "items": { "description": "Reference to the Exchange Hybrid", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/exchangehybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/exchangehybrid", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "exchangeonline": { "description": "A list of Exchange Online references", "title": "Exchange Online", "items": { "description": "Reference to the Exchange Online", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/exchangeonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/exchangeonline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Imap": { "description": "A list of IMAP4 references", "title": "IMAP4", "items": { "description": "Reference to the IMAP4", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Imap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Imap", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "GuiImp": { "description": "A list of IMP GUI references", "title": "IMP GUI", "items": { "description": "Reference to the IMP GUI", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/GuiImp/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/GuiImp", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Ios": { "description": "A list of IOS references", "title": "IOS", "items": { "description": "Reference to the IOS", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Ios/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Ios", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Ldap": { "description": "A list of LDAP references", "title": "LDAP", "items": { "description": "Reference to the LDAP", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Ldap", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "MSExchangeOnline": { "description": "A list of MSExchangeOnline references", "title": "MSExchangeOnline", "items": { "description": "Reference to the MSExchangeOnline", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/MSExchangeOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/MSExchangeOnline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "MSGraph": { "description": "A list of MSGraph references", "title": "MSGraph", "items": { "description": "Reference to the MSGraph", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/MSGraph/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/MSGraph", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "MSOperatorConnect": { "description": "A list of MSOperatorConnect references", "title": "MSOperatorConnect", "items": { "description": "Reference to the MSOperatorConnect", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/MSOperatorConnect/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/MSOperatorConnect", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "MSTeamsOnline": { "description": "A list of MSTeamsOnline references", "title": "MSTeamsOnline", "items": { "description": "Reference to the MSTeamsOnline", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/MSTeamsOnline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/MSTeamsOnline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "msonline": { "description": "A list of Microsoft Online references", "title": "Microsoft Online", "items": { "description": "Reference to the Microsoft Online", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/msonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/msonline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "OracleECB": { "description": "A list of OracleECB references", "title": "OracleECB", "items": { "description": "Reference to the OracleECB", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/OracleECB/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/OracleECB", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "OracleSBC": { "description": "A list of OracleSBC references", "title": "OracleSBC", "items": { "description": "Reference to the OracleSBC", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/OracleSBC/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/OracleSBC", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Pgw": { "description": "A list of PGW references", "title": "PGW", "items": { "description": "Reference to the PGW", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Pgw/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Pgw", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "powershell": { "description": "A list of PowerShell references", "title": "PowerShell", "items": { "description": "Reference to the PowerShell", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/powershell/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/powershell", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Roomos": { "description": "A list of Roomos references", "title": "Roomos", "items": { "description": "Reference to the Roomos", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Roomos/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Roomos", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Smtp": { "description": "A list of SMTP references", "title": "SMTP", "items": { "description": "Reference to the SMTP", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Smtp/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Smtp", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "snow": { "description": "A list of Service Now references", "title": "Service Now", "items": { "description": "Reference to the Service Now", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/snow/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/snow", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "skypeforbusiness": { "description": "A list of SkypeForBusiness references", "title": "SkypeForBusiness", "items": { "description": "Reference to the SkypeForBusiness", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/skypeforbusiness/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/skypeforbusiness", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "skypeforbusinesshybrid": { "description": "A list of SkypeForBusiness Hybrid references", "title": "SkypeForBusiness Hybrid", "items": { "description": "Reference to the SkypeForBusiness Hybrid", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/skypeforbusinesshybrid/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/skypeforbusinesshybrid", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "skypeforbusinessonline": { "description": "A list of SkypeForBusiness Online references", "title": "SkypeForBusiness Online", "items": { "description": "Reference to the SkypeForBusiness Online", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/skypeforbusinessonline/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/skypeforbusinessonline", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "GuiCuc": { "description": "A list of Unity Connection GUI references", "title": "Unity Connection GUI", "items": { "description": "Reference to the Unity Connection GUI", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/GuiCuc/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/GuiCuc", "choices": [] }, "required": false, "readonly": false, "type": "array" }, "Sfb2015": { "description": "A list of sfb2015 references", "title": "sfb2015", "items": { "description": "Reference to the sfb2015", "format": "uri", "required": true, "name": "reference", "readonly": false, "type": "string", "target": "/api/data/Sfb2015/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Sfb2015", "choices": [] }, "required": false, "readonly": false, "type": "array" } } } }, "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)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 9, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/data/NetworkDeviceList/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "field_display_policy", "update", "help", "remove", "move", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/NetworkDeviceList", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "remove", "update" ], "schema_version": "0.2.2", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/NetworkDeviceList/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NetworkDeviceList/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/data/NetworkDeviceList/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/NetworkDeviceList/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/data/NetworkDeviceList/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/NetworkDeviceList/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/NetworkDeviceList/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/NetworkDeviceList/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/NetworkDeviceList/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NetworkDeviceList/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "description": "AB_Group-APAC-CL2-NDL Network Device List", "devices": { "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P\"]" ], "UnityConnection": [ "[\"192.168.100.21\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CmCcs": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "GenericCucm": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CallManager": [ "[\"192.168.100.16\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ] }, "name": "AB_Group-APAC-CL2-NDL", "pkid": "5ae89fadaffa931cce38f191", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/NetworkDeviceList", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "AB_Group-APAC-CL2-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [ { "pkid": "604f2d13ce894e001187257c", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "650fe48c84eaf2a1ce639332", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "5ae89edaaffa931cce38c13d", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5ae89ef8affa931cce38ca95", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "5ae89c5eaffa931cce389351", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ], "self": [ { "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/", "pkid": "5ae89facaffa931cce38f17e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89facaffa931cce38f17e" ], "schema_version": "0.2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89facaffa931cce38f17e" }, { "data": { "pkid": "5ae89fc1affa931cce38f501", "description": "AB_Group-DS-CL1-NDL Network Device List", "devices": { "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P\"]" ], "UnityConnection": [ "[\"192.168.100.20\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CmCcs": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "GenericCucm": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CallManager": [ "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ] }, "name": "AB_Group-DS-CL1-NDL", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/NetworkDeviceList", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "AB_Group-DS-CL1-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [ { "pkid": "604f2d12ce894e0011872553", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "650fe48a84eaf2a1ce6392db", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "5ae89eccaffa931cce38bd4d", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5ae89ee8affa931cce38c5a8", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "5ae89c5eaffa931cce389351", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ], "self": [ { "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/", "pkid": "5ae89fc0affa931cce38f4f5" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89fc0affa931cce38f4f5" ], "schema_version": "0.2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NetworkDeviceList/5ae89fc0affa931cce38f4f5/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89fc0affa931cce38f4f5" }, { "data": { "name": "AB_Group-France-CL1-NDL", "description": "AB_Group-France-CL1-NDL Network Device List", "devices": { "GenericCucm": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CmCcs": [ "[\"192.168.100.15\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CallManager": [ "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "Uccx": [ "[\"10.120.11.145\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "UnityConnection": [ "[\"192.168.100.20\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P\"]" ] }, "pkid": "5ae89f48affa931cce38d9ee", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/NetworkDeviceList", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "AB_Group-France-CL1-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [ { "pkid": "604f2d12ce894e0011872553", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "650fe48a84eaf2a1ce6392db", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "5ae89eccaffa931cce38bd4d", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "667883c6770d07b8daf08bf3", "path": "devices.Uccx.0", "model_type": "data/Uccx" }, { "pkid": "5ae89ee8affa931cce38c5a8", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "5ae89c5eaffa931cce389351", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ], "self": [ { "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/", "pkid": "5ae89f48affa931cce38d9e1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f48affa931cce38d9e1" ], "schema_version": "0.2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NetworkDeviceList/5ae89f48affa931cce38d9e1/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89f48affa931cce38d9e1" } ] }
(Show the first instance)
{ "data": { "description": "AB_Group-APAC-CL2-NDL Network Device List", "devices": { "WebEx": [ "[\"https\", \"nsite-dev.webex.com\", \"443\", \"hcs.CS-P\"]" ], "UnityConnection": [ "[\"192.168.100.21\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CmCcs": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "GenericCucm": [ "[\"192.168.100.16\", \"hcs.CS-P.CS-AB.AB_Group\"]" ], "CallManager": [ "[\"192.168.100.16\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]" ] }, "name": "AB_Group-APAC-CL2-NDL", "pkid": "5ae89fadaffa931cce38f191" }, "meta": { "model_type": "data/NetworkDeviceList", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "AB_Group-APAC-CL2-NDL", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523", "pkid": "5ae89ea2affa931cce38a523" } ], "foreign_key": [ { "pkid": "604f2d13ce894e001187257c", "path": "devices.GenericCucm.0", "model_type": "data/GenericCucm" }, { "pkid": "650fe48c84eaf2a1ce639332", "path": "devices.CmCcs.0", "model_type": "data/CmCcs" }, { "pkid": "5ae89edaaffa931cce38c13d", "path": "devices.CallManager.0", "model_type": "data/CallManager" }, { "pkid": "5ae89ef8affa931cce38ca95", "path": "devices.UnityConnection.0", "model_type": "data/UnityConnection" }, { "pkid": "5ae89c5eaffa931cce389351", "path": "devices.WebEx.0", "model_type": "data/WebEx" } ], "children": [], "self": [ { "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/", "pkid": "5ae89facaffa931cce38f17e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89facaffa931cce38f17e" ], "schema_version": "0.2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/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/data/NetworkDeviceList/5ae89facaffa931cce38f17e/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NetworkDeviceList/5ae89facaffa931cce38f17e/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "5ae89facaffa931cce38f17e" }
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. |