[Index]
Model ref.: device/cucm/UserPhoneAssociation
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": { "enableExtensionMobility": { "minItems": 0, "required": false, "type": "boolean", "maxItems": 1, "title": "Enable Extension Mobility" }, "dnCssName": { "minItems": 0, "required": false, "type": [ "string", "null" ], "maxItems": 1, "title": "Dn Css Name" }, "pin": { "minItems": 0, "required": false, "type": "integer", "maxItems": 1, "title": "Pin" }, "firstName": { "minItems": 0, "required": false, "type": "string", "maxItems": 1, "title": "First Name" }, "DirectoryURI": { "minItems": 0, "required": false, "type": [ "string", "null" ], "maxItems": 1, "title": "Directory URI" }, "middleName": { "minItems": 0, "required": false, "type": "string", "maxItems": 1, "title": "Middle Name" }, "lastName": { "minItems": 1, "required": true, "type": "string", "maxItems": 1, "title": "Last Name" }, "userId": { "minItems": 1, "required": true, "type": "string", "maxItems": 1, "title": "User Id" }, "e164Mask": { "minItems": 1, "required": true, "type": [ "string", "null" ], "maxItems": 1, "title": "E164Mask" }, "extension": { "minItems": 1, "required": true, "type": "string", "maxItems": 1, "title": "Extension" }, "routePartitionName": { "target": "/api/device/cucm/RoutePartition/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "minItems": 0, "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/RoutePartition", "title": "Route Partition Name", "type": [ "string", "null" ] }, "productType": { "title": "Product Type", "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", "null" ] }, "password": { "is_password": true, "title": "Password", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "phoneCssName": { "minItems": 0, "required": false, "type": [ "string", "null" ], "maxItems": 1, "title": "Phone Css Name" }, "DirectoryNumberURIPartition": { "minItems": 0, "required": false, "type": [ "string", "null" ], "maxItems": 1, "title": "Directory Number URI Partition" }, "voiceMailProfileName": { "minItems": 0, "required": false, "type": [ "string", "null" ], "maxItems": 1, "title": "Voice Mail Profile Name" }, "name": { "title": "Name", "minItems": 1, "required": true, "maxItems": 1, "maxLength": 128, "type": "string" } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cucm/UserPhoneAssociation/add/ |
|
The GUI Add form of device/cucm/UserPhoneAssociation 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/UserPhoneAssociation/ | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/UserPhoneAssociation/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/UserPhoneAssociation/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/UserPhoneAssociation/[pkid1]", "/api/v0/device/cucm/UserPhoneAssociation/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/UserPhoneAssociation/?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/UserPhoneAssociation |
|
{"hrefs": ["/api/device/cucm/UserPhoneAssociation/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/UserPhoneAssociation |
|
{"hrefs": ["/api/device/cucm/UserPhoneAssociation/[pkid1]", "/api/device/cucm/UserPhoneAssociation/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/UserPhoneAssociation; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/UserPhoneAssociation/export/ |
|
{ "hrefs":["/api/device/cucm/UserPhoneAssociation/[pkid1]", "/api/device/cucm/UserPhoneAssociation/[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/UserPhoneAssociation and the JSON format can be used to import instances of device/cucm/UserPhoneAssociation.
GET http://[host-proxy]/api/device/cucm/UserPhoneAssociation/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/UserPhoneAssociation | POST | /api/device/cucm/UserPhoneAssociation/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/UserPhoneAssociation/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/UserPhoneAssociation/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cucm/UserPhoneAssociation. | GET | /api/device/cucm/UserPhoneAssociation/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/UserPhoneAssociation as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/UserPhoneAssociation/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/UserPhoneAssociation/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/UserPhoneAssociation | 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/UserPhoneAssociation; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/UserPhoneAssociation/[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/UserPhoneAssociation and the JSON format can be used to import instances of device/cucm/UserPhoneAssociation.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/UserPhoneAssociation/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/UserPhoneAssociation. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/UserPhoneAssociation/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |