[Index]
Model ref.: device/cucm/DeviceDefaults
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": { "LoadInformation": { "description": "The filename of the firmware load that is used with a particular type of hardware device model. The file is fed to the phones via TFTP. This can be overridden at the device level. If not overridden, then all devices of this model will use this firmware load file.", "title": "Load Information", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "Protocol": { "description": "String indicating the Device / Phone Protocol for which these default settings for this Model apply. Read Only.", "title": "Protocol", "minItems": 1, "required": true, "choices": [ { "value": "SCCP", "title": "SCCP" }, { "value": "Digital Access PRI", "title": "Digital Access PRI" }, { "value": "H.225", "title": "H.225" }, { "value": "Analog Access", "title": "Analog Access" }, { "value": "Digital Access T1", "title": "Digital Access T1" }, { "value": "Route Point", "title": "Route Point" }, { "value": "Unicast Bridge", "title": "Unicast Bridge" }, { "value": "Multicast Point", "title": "Multicast Point" }, { "value": "Inter-Cluster Trunk", "title": "Inter-Cluster Trunk" }, { "value": "RAS", "title": "RAS" }, { "value": "Digital Access BRI", "title": "Digital Access BRI" }, { "value": "SIP", "title": "SIP" }, { "value": "MGCP", "title": "MGCP" }, { "value": "Static SIP Mobile Subscriber", "title": "Static SIP Mobile Subscriber" }, { "value": "SIP Connector", "title": "SIP Connector" }, { "value": "Remote Destination", "title": "Remote Destination" }, { "value": "Mobile Smart Client", "title": "Mobile Smart Client" }, { "value": "Digital Access E1 R2", "title": "Digital Access E1 R2" }, { "value": "CTI Remote Device", "title": "CTI Remote Device" }, { "value": "Protocol Not Specified", "title": "Protocol Not Specified" } ], "maxItems": 1, "type": "string" }, "VersionStamp": { "description": "UUID changed each time device is updated", "title": "Version Stamp", "minItems": 0, "required": false, "maxItems": 1, "maxLength": 128, "type": [ "string", "null" ] }, "DevicePoolName": { "description": "The name of the Device Pool, (which defines common Device / Phone characteristics), to be assigned, by default, to Devices / Phones with this Model and Protocol. This can, of course, be overridden at the device level. If not overridden, then all devices of this model and protocol will be assigned to this same Device Pool.", "title": "Device Pool Name", "minItems": 0, "required": false, "maxItems": 1, "type": [ "string", "null" ] }, "InactiveLoadInformation": { "description": "The filename of the inactive firmware load that is used with phone models that support dual-bank firmware (background download). The file is fed to the phones via TFTP but is not active. This can be overridden at the device level. If not overridden, then all devices of this model will download this firmware load file as the inactive load.", "title": "Inactive Load Information", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "Model": { "description": "String indicating the Device / Phone Model to which these default settings apply. Read Only.", "title": "Model", "minItems": 1, "required": true, "choices": [ { "value": "Cisco 30 SP+", "title": "Cisco 30 SP+" }, { "value": "Cisco 12 SP+", "title": "Cisco 12 SP+" }, { "value": "Cisco 12 SP", "title": "Cisco 12 SP" }, { "value": "Cisco 12 S", "title": "Cisco 12 S" }, { "value": "Cisco 30 VIP", "title": "Cisco 30 VIP" }, { "value": "Cisco 7910", "title": "Cisco 7910" }, { "value": "Cisco 7960", "title": "Cisco 7960" }, { "value": "Cisco 7940", "title": "Cisco 7940" }, { "value": "Cisco 7935", "title": "Cisco 7935" }, { "value": "Cisco VGC Phone", "title": "Cisco VGC Phone" }, { "value": "Cisco VGC Virtual Phone", "title": "Cisco VGC Virtual Phone" }, { "value": "Cisco ATA 186", "title": "Cisco ATA 186" }, { "value": "EMCC Base Phone", "title": "EMCC Base Phone" }, { "value": "SCCP Phone", "title": "SCCP Phone" }, { "value": "Analog Access", "title": "Analog Access" }, { "value": "Digital Access", "title": "Digital Access" }, { "value": "Digital Access+", "title": "Digital Access+" }, { "value": "Digital Access WS-X6608", "title": "Digital Access WS-X6608" }, { "value": "Analog Access WS-X6624", "title": "Analog Access WS-X6624" }, { "value": "VGC Gateway", "title": "VGC Gateway" }, { "value": "Conference Bridge", "title": "Conference Bridge" }, { "value": "Conference Bridge WS-X6608", "title": "Conference Bridge WS-X6608" }, { "value": "Cisco IOS Conference Bridge (HDV2)", "title": "Cisco IOS Conference Bridge (HDV2)" }, { "value": "Cisco Conference Bridge (WS-SVC-CMM)", "title": "Cisco Conference Bridge (WS-SVC-CMM)" }, { "value": "H.323 Phone", "title": "H.323 Phone" }, { "value": "H.323 Gateway", "title": "H.323 Gateway" }, { "value": "Music On Hold", "title": "Music On Hold" }, { "value": "Device Pilot", "title": "Device Pilot" }, { "value": "CTI Port", "title": "CTI Port" }, { "value": "CTI Route Point", "title": "CTI Route Point" }, { "value": "Voice Mail Port", "title": "Voice Mail Port" }, { "value": "Cisco IOS Software Media Termination Point (HDV2)", "title": "Cisco IOS Software Media Termination Point (HDV2)" }, { "value": "Cisco Media Server (WS-SVC-CMM-MS)", "title": "Cisco Media Server (WS-SVC-CMM-MS)" }, { "value": "Cisco Video Conference Bridge (IPVC-35xx)", "title": "Cisco Video Conference Bridge (IPVC-35xx)" }, { "value": "Cisco IOS Heterogeneous Video Conference Bridge", "title": "Cisco IOS Heterogeneous Video Conference Bridge" }, { "value": "Cisco IOS Guaranteed Audio Video Conference Bridge", "title": "Cisco IOS Guaranteed Audio Video Conference Bridge" }, { "value": "Cisco IOS Homogeneous Video Conference Bridge", "title": "Cisco IOS Homogeneous Video Conference Bridge" }, { "value": "Route List", "title": "Route List" }, { "value": "Load Simulator", "title": "Load Simulator" }, { "value": "Media Termination Point", "title": "Media Termination Point" }, { "value": "Media Termination Point Hardware", "title": "Media Termination Point Hardware" }, { "value": "Cisco IOS Media Termination Point (HDV2)", "title": "Cisco IOS Media Termination Point (HDV2)" }, { "value": "Cisco Media Termination Point (WS-SVC-CMM)", "title": "Cisco Media Termination Point (WS-SVC-CMM)" }, { "value": "Cisco 7941", "title": "Cisco 7941" }, { "value": "Cisco 7971", "title": "Cisco 7971" }, { "value": "MGCP Station", "title": "MGCP Station" }, { "value": "MGCP Trunk", "title": "MGCP Trunk" }, { "value": "GateKeeper", "title": "GateKeeper" }, { "value": "7914 14-Button Line Expansion Module", "title": "7914 14-Button Line Expansion Module" }, { "value": "Trunk", "title": "Trunk" }, { "value": "Tone Announcement Player", "title": "Tone Announcement Player" }, { "value": "SIP Trunk", "title": "SIP Trunk" }, { "value": "SIP Gateway", "title": "SIP Gateway" }, { "value": "WSM Trunk", "title": "WSM Trunk" }, { "value": "Remote Destination Profile", "title": "Remote Destination Profile" }, { "value": "7915 12-Button Line Expansion Module", "title": "7915 12-Button Line Expansion Module" }, { "value": "7915 24-Button Line Expansion Module", "title": "7915 24-Button Line Expansion Module" }, { "value": "7916 12-Button Line Expansion Module", "title": "7916 12-Button Line Expansion Module" }, { "value": "7916 24-Button Line Expansion Module", "title": "7916 24-Button Line Expansion Module" }, { "value": "CKEM 36-Button Line Expansion Module", "title": "CKEM 36-Button Line Expansion Module" }, { "value": "SPA8800", "title": "SPA8800" }, { "value": "Unknown MGCP Gateway", "title": "Unknown MGCP Gateway" }, { "value": "Unknown", "title": "Unknown" }, { "value": "Cisco 7985", "title": "Cisco 7985" }, { "value": "Cisco 7911", "title": "Cisco 7911" }, { "value": "Cisco 7961G-GE", "title": "Cisco 7961G-GE" }, { "value": "Cisco 7941G-GE", "title": "Cisco 7941G-GE" }, { "value": "Motorola CN622", "title": "Motorola CN622" }, { "value": "Third-party SIP Device (Basic)", "title": "Third-party SIP Device (Basic)" }, { "value": "Cisco 7931", "title": "Cisco 7931" }, { "value": "Cisco Unified Personal Communicator", "title": "Cisco Unified Personal Communicator" }, { "value": "Cisco 7921", "title": "Cisco 7921" }, { "value": "Cisco 7906", "title": "Cisco 7906" }, { "value": "Third-party SIP Device (Advanced)", "title": "Third-party SIP Device (Advanced)" }, { "value": "Cisco TelePresence", "title": "Cisco TelePresence" }, { "value": "Nokia S60", "title": "Nokia S60" }, { "value": "Cisco 7962", "title": "Cisco 7962" }, { "value": "Cisco 3951", "title": "Cisco 3951" }, { "value": "Cisco 7937", "title": "Cisco 7937" }, { "value": "Cisco 7942", "title": "Cisco 7942" }, { "value": "Cisco 7945", "title": "Cisco 7945" }, { "value": "Cisco 7965", "title": "Cisco 7965" }, { "value": "Cisco 7975", "title": "Cisco 7975" }, { "value": "Cisco 3911", "title": "Cisco 3911" }, { "value": "Cisco Unified Mobile Communicator", "title": "Cisco Unified Mobile Communicator" }, { "value": "Cisco TelePresence 1000", "title": "Cisco TelePresence 1000" }, { "value": "Cisco TelePresence 3000", "title": "Cisco TelePresence 3000" }, { "value": "Cisco TelePresence 3200", "title": "Cisco TelePresence 3200" }, { "value": "Cisco TelePresence 500-37", "title": "Cisco TelePresence 500-37" }, { "value": "Cisco 7925", "title": "Cisco 7925" }, { "value": "Cisco 9971", "title": "Cisco 9971" }, { "value": "Cisco 6921", "title": "Cisco 6921" }, { "value": "Cisco 6941", "title": "Cisco 6941" }, { "value": "Cisco 6961", "title": "Cisco 6961" }, { "value": "Cisco Unified Client Services Framework", "title": "Cisco Unified Client Services Framework" }, { "value": "Cisco TelePresence 1300-65", "title": "Cisco TelePresence 1300-65" }, { "value": "Cisco TelePresence 1100", "title": "Cisco TelePresence 1100" }, { "value": "Transnova S3", "title": "Transnova S3" }, { "value": "BlackBerry MVS VoWifi", "title": "BlackBerry MVS VoWifi" }, { "value": "Cisco 9951", "title": "Cisco 9951" }, { "value": "Cisco 8961", "title": "Cisco 8961" }, { "value": "Cisco 6901", "title": "Cisco 6901" }, { "value": "Cisco 6911", "title": "Cisco 6911" }, { "value": "Cisco ATA 187", "title": "Cisco ATA 187" }, { "value": "Cisco TelePresence 200", "title": "Cisco TelePresence 200" }, { "value": "Cisco TelePresence 400", "title": "Cisco TelePresence 400" }, { "value": "Cisco Dual Mode for iPhone", "title": "Cisco Dual Mode for iPhone" }, { "value": "Cisco 6945", "title": "Cisco 6945" }, { "value": "Cisco Dual Mode for Android", "title": "Cisco Dual Mode for Android" }, { "value": "Cisco 7926", "title": "Cisco 7926" }, { "value": "Cisco E20", "title": "Cisco E20" }, { "value": "Generic Single Screen Room System", "title": "Generic Single Screen Room System" }, { "value": "Generic Multiple Screen Room System", "title": "Generic Multiple Screen Room System" }, { "value": "Cisco TelePresence EX90", "title": "Cisco TelePresence EX90" }, { "value": "Cisco 8945", "title": "Cisco 8945" }, { "value": "Cisco 8941", "title": "Cisco 8941" }, { "value": "Generic Desktop Video Endpoint", "title": "Generic Desktop Video Endpoint" }, { "value": "Cisco TelePresence 500-32", "title": "Cisco TelePresence 500-32" }, { "value": "Cisco TelePresence 1300-47", "title": "Cisco TelePresence 1300-47" }, { "value": "Cisco 3905", "title": "Cisco 3905" }, { "value": "Cisco Cius", "title": "Cisco Cius" }, { "value": "VKEM 36-Button Line Expansion Module", "title": "VKEM 36-Button Line Expansion Module" }, { "value": "Cisco TelePresence TX1310-65", "title": "Cisco TelePresence TX1310-65" }, { "value": "Cisco TelePresence MCU", "title": "Cisco TelePresence MCU" }, { "value": "Ascom IP-DECT Device", "title": "Ascom IP-DECT Device" }, { "value": "Cisco TelePresence Exchange System", "title": "Cisco TelePresence Exchange System" }, { "value": "Cisco TelePresence EX60", "title": "Cisco TelePresence EX60" }, { "value": "Cisco TelePresence Codec C90", "title": "Cisco TelePresence Codec C90" }, { "value": "Cisco TelePresence Codec C60", "title": "Cisco TelePresence Codec C60" }, { "value": "Cisco TelePresence Codec C40", "title": "Cisco TelePresence Codec C40" }, { "value": "Cisco TelePresence Quick Set C20", "title": "Cisco TelePresence Quick Set C20" }, { "value": "Cisco TelePresence Profile 42 (C20)", "title": "Cisco TelePresence Profile 42 (C20)" }, { "value": "Cisco TelePresence Profile 42 (C60)", "title": "Cisco TelePresence Profile 42 (C60)" }, { "value": "Cisco TelePresence Profile 52 (C40)", "title": "Cisco TelePresence Profile 52 (C40)" }, { "value": "Cisco TelePresence Profile 52 (C60)", "title": "Cisco TelePresence Profile 52 (C60)" }, { "value": "Cisco TelePresence Profile 52 Dual (C60)", "title": "Cisco TelePresence Profile 52 Dual (C60)" }, { "value": "Cisco TelePresence Profile 65 (C60)", "title": "Cisco TelePresence Profile 65 (C60)" }, { "value": "Cisco TelePresence Profile 65 Dual (C90)", "title": "Cisco TelePresence Profile 65 Dual (C90)" }, { "value": "Cisco TelePresence MX200", "title": "Cisco TelePresence MX200" }, { "value": "Cisco TelePresence TX9000", "title": "Cisco TelePresence TX9000" }, { "value": "Cisco TelePresence TX9200", "title": "Cisco TelePresence TX9200" }, { "value": "Cisco 7821", "title": "Cisco 7821" }, { "value": "Cisco 7841", "title": "Cisco 7841" }, { "value": "Cisco 7861", "title": "Cisco 7861" }, { "value": "Cisco TelePresence SX20", "title": "Cisco TelePresence SX20" }, { "value": "Cisco TelePresence MX300", "title": "Cisco TelePresence MX300" }, { "value": "IMS-integrated Mobile (Basic)", "title": "IMS-integrated Mobile (Basic)" }, { "value": "Third-party AS-SIP Endpoint", "title": "Third-party AS-SIP Endpoint" }, { "value": "Cisco Cius SP", "title": "Cisco Cius SP" }, { "value": "Cisco TelePresence Profile 42 (C40)", "title": "Cisco TelePresence Profile 42 (C40)" }, { "value": "Cisco VXC 6215", "title": "Cisco VXC 6215" }, { "value": "CTI Remote Device", "title": "CTI Remote Device" }, { "value": "Usage Profile", "title": "Usage Profile" }, { "value": "Carrier-integrated Mobile", "title": "Carrier-integrated Mobile" }, { "value": "Universal Device Template", "title": "Universal Device Template" }, { "value": "Cisco DX650", "title": "Cisco DX650" }, { "value": "Cisco Unified Communications for RTX", "title": "Cisco Unified Communications for RTX" }, { "value": "Cisco Jabber for Tablet", "title": "Cisco Jabber for Tablet" }, { "value": "Cisco 8831", "title": "Cisco 8831" }, { "value": "Cisco ATA 190", "title": "Cisco ATA 190" }, { "value": "Cisco TelePresence SX10", "title": "Cisco TelePresence SX10" }, { "value": "Cisco 8841", "title": "Cisco 8841" }, { "value": "Cisco 8851", "title": "Cisco 8851" }, { "value": "Cisco 8861", "title": "Cisco 8861" }, { "value": "Cisco TelePresence SX80", "title": "Cisco TelePresence SX80" }, { "value": "Cisco TelePresence MX200 G2", "title": "Cisco TelePresence MX200 G2" }, { "value": "Cisco TelePresence MX300 G2", "title": "Cisco TelePresence MX300 G2" }, { "value": "Cisco 7905", "title": "Cisco 7905" }, { "value": "Cisco 7920", "title": "Cisco 7920" }, { "value": "Cisco 7970", "title": "Cisco 7970" }, { "value": "Cisco 7912", "title": "Cisco 7912" }, { "value": "Cisco 7902", "title": "Cisco 7902" }, { "value": "Cisco IP Communicator", "title": "Cisco IP Communicator" }, { "value": "Cisco 7961", "title": "Cisco 7961" }, { "value": "Cisco 7936", "title": "Cisco 7936" }, { "value": "Analog Phone", "title": "Analog Phone" }, { "value": "ISDN BRI Phone", "title": "ISDN BRI Phone" }, { "value": "SCCP gateway virtual phone", "title": "SCCP gateway virtual phone" }, { "value": "IP-STE", "title": "IP-STE" }, { "value": "Cisco TelePresence Conductor", "title": "Cisco TelePresence Conductor" }, { "value": "Cisco DX80", "title": "Cisco DX80" }, { "value": "Cisco DX70", "title": "Cisco DX70" }, { "value": "BEKEM 36-Button Line Expansion Module", "title": "BEKEM 36-Button Line Expansion Module" }, { "value": "Cisco TelePresence MX700", "title": "Cisco TelePresence MX700" }, { "value": "Cisco TelePresence MX800", "title": "Cisco TelePresence MX800" }, { "value": "Cisco TelePresence IX5000", "title": "Cisco TelePresence IX5000" }, { "value": "Cisco 7811", "title": "Cisco 7811" }, { "value": "Cisco 8821", "title": "Cisco 8821" }, { "value": "Cisco 8811", "title": "Cisco 8811" }, { "value": "Interactive Voice Response", "title": "Interactive Voice Response" }, { "value": "Cisco 8845", "title": "Cisco 8845" }, { "value": "Cisco 8865", "title": "Cisco 8865" }, { "value": "Cisco TelePresence MX800 Dual", "title": "Cisco TelePresence MX800 Dual" }, { "value": "Cisco 8851NR", "title": "Cisco 8851NR" }, { "value": "Cisco Spark Remote Device", "title": "Cisco Spark Remote Device" }, { "value": "Cisco Webex DX80", "title": "Cisco Webex DX80" }, { "value": "Cisco TelePresence DX70", "title": "Cisco TelePresence DX70" }, { "value": "Cisco 7832", "title": "Cisco 7832" }, { "value": "Cisco 8865NR", "title": "Cisco 8865NR" }, { "value": "Cisco Meeting Server", "title": "Cisco Meeting Server" }, { "value": "Cisco Webex Room Kit", "title": "Cisco Webex Room Kit" }, { "value": "Cisco Webex Room 55", "title": "Cisco Webex Room 55" }, { "value": "Cisco Webex Room Kit Plus", "title": "Cisco Webex Room Kit Plus" }, { "value": "CP-8800-Video 28-Button Key Expansion Module", "title": "CP-8800-Video 28-Button Key Expansion Module" }, { "value": "CP-8800-Audio 28-Button Key Expansion Module", "title": "CP-8800-Audio 28-Button Key Expansion Module" }, { "value": "Cisco 8832", "title": "Cisco 8832" }, { "value": "Cisco Webex Room 70 Single", "title": "Cisco Webex Room 70 Single" }, { "value": "Cisco 8832NR", "title": "Cisco 8832NR" }, { "value": "Cisco ATA 191", "title": "Cisco ATA 191" }, { "value": "Cisco Collaboration Mobile Convergence", "title": "Cisco Collaboration Mobile Convergence" }, { "value": "Cisco Webex Room 70 Dual", "title": "Cisco Webex Room 70 Dual" }, { "value": "Cisco Webex Room Kit Pro", "title": "Cisco Webex Room Kit Pro" }, { "value": "Cisco Webex Room 55 Dual", "title": "Cisco Webex Room 55 Dual" }, { "value": "Cisco Webex Room 70 Single G2", "title": "Cisco Webex Room 70 Single G2" }, { "value": "Cisco Webex Room 70 Dual G2", "title": "Cisco Webex Room 70 Dual G2" }, { "value": "SIP Station", "title": "SIP Station" }, { "value": "Cisco Webex Room Kit Mini", "title": "Cisco Webex Room Kit Mini" }, { "value": "Cisco Webex VDI Svc Framework", "title": "Cisco Webex VDI Svc Framework" }, { "value": "Cisco Webex Board 55", "title": "Cisco Webex Board 55" }, { "value": "Cisco Webex Board 70", "title": "Cisco Webex Board 70" }, { "value": "Cisco Webex Board 85", "title": "Cisco Webex Board 85" }, { "value": "Cisco Webex Desk Pro", "title": "Cisco Webex Desk Pro" }, { "value": "Cisco Webex Room Panorama", "title": "Cisco Webex Room Panorama" }, { "value": "Cisco Webex Room 70 Panorama", "title": "Cisco Webex Room 70 Panorama" }, { "value": "Cisco Webex Room Phone", "title": "Cisco Webex Room Phone" }, { "value": "Cisco 860", "title": "Cisco 860" }, { "value": "Cisco Webex Desk LE", "title": "Cisco Webex Desk LE" } ], "maxItems": 1, "type": "string" }, "PreferActCodeOverAutoReg": { "description": "This boolean setting, when TRUE and unless overridden for specific Phones / Devices of this Model and Protocol, indicates a preferred use of activation code based registrations rather than basic auto-registration. This can, of course, be overridden at the device level. If not overridden, then all devices of this model and protocol will, when created be initially marked to use this registratin mode.", "title": "Prefer Act Code Over Auto Reg", "minItems": 0, "required": false, "maxItems": 1, "type": "boolean" }, "PhoneButtonTemplate": { "description": "The name of the Phone Button Template, (which defines the line and feature button related characteristics of a Device or Phone ), which may be shared by multiple phones and which will be assigned, by default, to Devices / Phones with this Model and Protocol. This can, of course, be overridden at the device level. If not overridden, then all devices of this model and protocol will be associated with this same Phone Button Template.", "title": "Phone Button Template", "minItems": 0, "required": false, "maxItems": 1, "type": [ "string", "null" ] } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/DeviceDefaults/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/DeviceDefaults/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/DeviceDefaults/[pkid1]", "/api/v0/device/cucm/DeviceDefaults/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/DeviceDefaults/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/cucm/DeviceDefaults |
|
{"hrefs": ["/api/device/cucm/DeviceDefaults/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/DeviceDefaults |
|
{"hrefs": ["/api/device/cucm/DeviceDefaults/[pkid1]", "/api/device/cucm/DeviceDefaults/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/DeviceDefaults; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/DeviceDefaults/export/ |
|
{ "hrefs":["/api/device/cucm/DeviceDefaults/[pkid1]", "/api/device/cucm/DeviceDefaults/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of device/cucm/DeviceDefaults and the JSON format can be used to import instances of device/cucm/DeviceDefaults.
GET http://[host-proxy]/api/device/cucm/DeviceDefaults/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/DeviceDefaults | POST | /api/device/cucm/DeviceDefaults/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/device/cucm/DeviceDefaults/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/cucm/DeviceDefaults/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cucm/DeviceDefaults/ |
|
The device/cucm/DeviceDefaults schema and all instances as JSON. |
(The list will return 0 to 3 device/cucm/DeviceDefaults instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": "Model", "direction": "asc", "current": "/api/device/cucm/DeviceDefaults/?skip=0&limit=3&order_by=Model&direction=asc&traversal=down" }, "operations": [ "help", "move", "bulk_update_form", "update", "export", "get", "list", "export_bulkload_template", "transform", "configuration_template", "field_display_policy" ], "meta": { "model_type": "device/cucm/DeviceDefaults", "summary_attrs": [ { "name": "Model", "title": "Model" }, { "name": "Protocol", "title": "Protocol" }, { "name": "PreferActCodeOverAutoReg", "title": "Prefer Act Code Over Auto Reg" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "clone", "help", "move", "bulk_update_form", "update", "export", "get", "list", "export_bulkload_template", "configuration_template", "field_display_policy" ], "schema_version": "14.0", "actions": [ { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/device/cucm/DeviceDefaults/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/cucm/DeviceDefaults", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "POST", "class": "export", "href": "/api/device/cucm/DeviceDefaults/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/device/cucm/DeviceDefaults/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/device/cucm/DeviceDefaults/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/device/cucm/DeviceDefaults/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/device/cucm/DeviceDefaults/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cucm/DeviceDefaults/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cucm/DeviceDefaults/purge/?hierarchy=[hierarchy]", "support_async": false, "title": "Purge" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/DeviceDefaults. | GET | /api/device/cucm/DeviceDefaults/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/DeviceDefaults as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Purge | POST | /api/device/cucm/DeviceDefaults/purge/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cucm/DeviceDefaults/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/DeviceDefaults/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/DeviceDefaults/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/DeviceDefaults | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of device/cucm/DeviceDefaults; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/DeviceDefaults/[pkid]/export |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of device/cucm/DeviceDefaults and the JSON format can be used to import instances of device/cucm/DeviceDefaults.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/DeviceDefaults/[pkid] | hierarchy=[hierarchy] | The device/cucm/DeviceDefaults instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/DeviceDefaults/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/DeviceDefaults. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/DeviceDefaults/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |