[Index]
Model ref.: device/cucm/PhoneActivationCode
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": { "phoneDescription": { "title": "Phone Description", "minItems": 0, "required": false, "maxItems": 1, "maxLength": 255, "type": "string" }, "activationCode": { "description": "Activation code for a valid phone that supports Secure Self Onboarding", "title": "Activation Code", "minItems": 0, "required": false, "maxItems": 1, "maxLength": 255, "type": "string" }, "userId": { "description": "User associated (if applicable) to onboardable phone", "title": "User Id", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "activationCodeExpiry": { "description": "Desired expiry time (in seconds) of activation code. Able to specify on AddPhoneActivationCode request. read-only", "title": "Activation Code Expiry", "minItems": 0, "required": false, "maxItems": 1, "type": "integer" }, "enableActivationId": { "minItems": 0, "required": false, "type": "boolean", "maxItems": 1, "title": "Enable Activation Id" }, "phoneModel": { "title": "Phone Model", "minItems": 0, "required": false, "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 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": "Cisco Webex Room Kit Mini", "title": "Cisco Webex Room Kit Mini" } ], "maxItems": 1, "type": "string" }, "phoneName": { "description": "Device name of self onboardable phone, doesn't have to be a valid MAC. read-only", "title": "Phone Name", "minItems": 0, "required": false, "maxItems": 1, "maxLength": 255, "type": "string" } }, "schema_version": "12.5" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cucm/PhoneActivationCode/add/ |
|
The GUI Add form of device/cucm/PhoneActivationCode 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/device/cucm/PhoneActivationCode/ | 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/device/cucm/PhoneActivationCode/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cucm/PhoneActivationCode/[pkid1]", "/api/device/cucm/PhoneActivationCode/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cucm/PhoneActivationCode/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/PhoneActivationCode/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/PhoneActivationCode/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/PhoneActivationCode/[pkid1]", "/api/v0/device/cucm/PhoneActivationCode/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/PhoneActivationCode/?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/PhoneActivationCode |
|
{"hrefs": ["/api/device/cucm/PhoneActivationCode/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/PhoneActivationCode |
|
{"hrefs": ["/api/device/cucm/PhoneActivationCode/[pkid1]", "/api/device/cucm/PhoneActivationCode/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/PhoneActivationCode; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/PhoneActivationCode/export/ |
|
{ "hrefs":["/api/device/cucm/PhoneActivationCode/[pkid1]", "/api/device/cucm/PhoneActivationCode/[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/PhoneActivationCode and the JSON format can be used to import instances of device/cucm/PhoneActivationCode.
GET http://[host-proxy]/api/device/cucm/PhoneActivationCode/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/PhoneActivationCode | POST | /api/device/cucm/PhoneActivationCode/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/PhoneActivationCode/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/PhoneActivationCode/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cucm/PhoneActivationCode/ |
|
The device/cucm/PhoneActivationCode schema and all instances as JSON. |
(The list will return 0 to 3 device/cucm/PhoneActivationCode instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "clone", "move", "list", "transform", "remove", "bulk_update_form", "add", "export", "export_bulkload_template" ], "pagination": { "direction": "asc", "order_by": "phoneName", "maximum_limit": 2000, "skip": 0, "current": "/api/device/cucm/PhoneActivationCode/?skip=0&limit=3&order_by=phoneName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 0 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "12.5", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/device/cucm/PhoneActivationCode/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cucm/PhoneActivationCode/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/cucm/PhoneActivationCode/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/cucm/PhoneActivationCode", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cucm/PhoneActivationCode/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/device/cucm/PhoneActivationCode/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/cucm/PhoneActivationCode/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/cucm/PhoneActivationCode/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/cucm/PhoneActivationCode/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cucm/PhoneActivationCode/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cucm/PhoneActivationCode/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cucm/PhoneActivationCode", "model_specific_actions": [ "field_display_policy", "configuration_template", "help", "get", "clone", "move", "list", "remove", "add", "export", "export_bulkload_template", "bulk_update_form" ], "summary_attrs": [ { "name": "phoneName", "title": "Phone Name" }, { "name": "userId", "title": "User Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/PhoneActivationCode. | GET | /api/device/cucm/PhoneActivationCode/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/PhoneActivationCode as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/cucm/PhoneActivationCode/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/PhoneActivationCode/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/PhoneActivationCode/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/PhoneActivationCode | 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/PhoneActivationCode; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/PhoneActivationCode/[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/PhoneActivationCode and the JSON format can be used to import instances of device/cucm/PhoneActivationCode.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/PhoneActivationCode/[pkid]/ | hierarchy=[hierarchy] | The device/cucm/PhoneActivationCode instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/PhoneActivationCode/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/PhoneActivationCode. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/PhoneActivationCode/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |