[Index]
Model ref.: device/cuc/ConnectionLocation
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": { "KeypadMapId": { "minItems": 0, "title": "Keypad Map Id", "type": "integer", "description": " The keypad map used by this location. The keypad map specifies the numeric keys to which the letters Q and Z are assigned to on the phone. This is specified during Cisco Unity Connection setup.", "name": "KeypadMapId" }, "SmtpUnknownRecipientAction": { "minItems": 0, "title": "Smtp Unknown Recipient Action", "type": "integer", "description": " Action to take for an SMTP message with an unknown recipient.", "name": "SmtpUnknownRecipientAction" }, "AllowCrossBoxTransfer": { "minItems": 0, "title": "Allow Cross Box Transfer", "type": "boolean", "description": " Allow cross-box transfer from the local server to this location.", "name": "AllowCrossBoxTransfer" }, "SkinnyLocalCACertificateFileName": { "minItems": 0, "title": "Skinny Local CA Certificate File Name", "type": "string", "description": " The file name that should be assigned to the SkinnyLocalCACertificate to install the certificate on the Cisco Unified Communications Manager server(s). Installing the certificate on the CCM servers causes CCM to trust any Skinny device certificates signed by it, which is what we need to establish TLS Skinny connections to the CCM servers in the cluster. ", "name": "SkinnyLocalCACertificateFileName" }, "ReplicationSet": { "minItems": 0, "title": "Replication Set", "type": "integer", "description": " Identifies the replication set we are currently sending to this remote node.", "name": "ReplicationSet" }, "VoiceName": { "minItems": 0, "title": "Voice Name", "type": "string", "description": "The name of the WAV file containing the recorded voice name for the location The name of the WAV file containing the recorded audio (voice name, greeting, etc.) for the parent object.", "name": "VoiceName" }, "TransferDialString": { "minItems": 0, "title": "Transfer Dial String", "type": "string", "description": " The phone number that a local Cisco Unity Connection VMS server dials to transfer a call to this Cisco Unity Connection VMS server. ", "name": "TransferDialString" }, "LocalPhonePrefix": { "minItems": 0, "title": "Local Phone Prefix", "type": "string", "description": " The number that is used to construct addresses for Cisco Unity Connection subscribers who send messages to individuals who use the voice messaging system that corresponds to this delivery location.\n\nOn outgoing messages from Cisco Unity Connection subscribes to subscribers at this VPIM location, the prefix is added to the beginning of the sender mailbox number to form the From address. \n\nOn incoming messages to Cisco Unity Connection subscribers from subscribers at this VPIM location, the prefix is removed from the beginning of the recipient mailbox number to form the To address.", "name": "LocalPhonePrefix" }, "IncludeLocations": { "minItems": 0, "title": "Include Locations", "type": "boolean", "description": " A flag indicating whether locations are included in searches. If set on the LocationVMS, the conversation will include locations in the search results.", "name": "IncludeLocations" }, "SystemVersion": { "minItems": 0, "title": "System Version", "type": "string", "description": " Tracks the version of software running on nodes in a digital network. Used to help construct synchronization messages compatible with the software running on the remote nodes.", "name": "SystemVersion" }, "DestinationType": { "minItems": 0, "title": "Destination Type", "type": "integer", "description": " For delivery locations, the destination type for that location, e.g. Connection, Unity, VPIM, Bridge.", "name": "DestinationType" }, "LastDirectoryPushDate": { "minItems": 0, "title": "Last Directory Push Date", "type": "string", "description": " The date at which we last pushed to this remote network node.", "name": "LastDirectoryPushDate" }, "LastUSNAck": { "minItems": 0, "title": "Last USN Ack", "type": "integer", "description": " Keeps track of the USN of the last change acknowledged by this node.", "name": "LastUSNAck" }, "EncryptionKey": { "minItems": 0, "title": "Encryption Key", "type": "string", "description": " Holds the pointer to the encryption key for this network node.", "name": "EncryptionKey" }, "Status": { "minItems": 0, "title": "Status", "type": "integer", "description": " This is used to stop two processes from deleting a location at the same time.", "name": "Status" }, "DefaultWaveFormatObjectId": { "target_attr": "ObjectId", "description": "The unique identifier of the WaveFormat object that specifies the wave format in which recorded messages are stored if the requested format is not available on the system.", "name": "DefaultWaveFormatObjectId", "format": "uri", "minItems": 0, "title": "Default Wave Format", "choices": [], "target_title": "ServerName", "target_model_type": "device/cuc/TBD", "type": "string", "target": "/api/device/cuc/TBD/choices/?choice_title=ServerName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "SmtpDomain": { "minItems": 0, "title": "Smtp Domain", "type": "string", "description": " The domain portion (right-half) of an internet-addressable address (for example, london.cisco.com). This is used to form a user's, contact's, and distribution list's SMTP address (tbl_Alias.SmtpAddress).", "name": "SmtpDomain" }, "DtmfName": { "minItems": 0, "title": "Dtmf Name", "type": "string", "description": " The series of digits corresponding to the numeric keypad mapping on a standard touchtone phone representing the display name of the location. These digits are used for searching the location by name via the phone.", "name": "DtmfName" }, "CrossBoxDialString": { "minItems": 0, "title": "Cross Box Dial String", "type": "string", "description": " For cross-box operations, the dial string that should be used to reach this location.", "name": "CrossBoxDialString" }, "DefaultLanguage": { "minItems": 0, "title": "Default Language", "type": "integer", "description": " Default language for subscribers and call handlers.", "name": "DefaultLanguage" }, "VoiceNameURI": { "name": "VoiceNameURI", "title": "Voice Name URI", "minItems": 0, "format": "uri", "choices": [], "readonly": true, "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "DefaultPartitionObjectId": { "target_attr": "ObjectId", "description": "The unique identifier of the default Partition for this LocationVms. Setup populates this value when it creates the default Partition for the system.", "name": "DefaultPartitionObjectId", "format": "uri", "minItems": 0, "title": "Default Partition", "choices": [], "target_title": "Name", "target_model_type": "device/cuc/Partition", "type": "string", "target": "/api/device/cuc/Partition/choices/?choice_title=Name&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "MaxContacts": { "minItems": 0, "title": "Max Contacts", "type": "integer", "description": " The maximum number of contacts that can be created for this location.", "name": "MaxContacts" }, "PullState": { "minItems": 0, "title": "Pull State", "type": "integer", "description": " Indicates the current state of pull replication from the remote node associated with this row in the table to the local node.", "name": "PullState" }, "CrossBoxMaxRings": { "minItems": 0, "title": "Cross Box Max Rings", "type": "integer", "description": " For cross-box operations, the maximum number of rings that should be used to reach this location.", "name": "CrossBoxMaxRings" }, "PushState": { "minItems": 0, "title": "Push State", "type": "integer", "description": " Indicates the current state of push replication from the local node to the node associated with this row in the table.", "name": "PushState" }, "IsPrimary": { "minItems": 0, "title": "Is Primary", "type": "boolean", "description": " A flag indicating whether this location object is the \"primary\" location, which cannot be deleted. (Used to prevent deletion of factory defaults.)", "name": "IsPrimary" }, "SmtpSmartHost": { "minItems": 0, "title": "Smtp Smart Host", "type": "string", "description": " IP address or host name of SMTP smart host. ", "name": "SmtpSmartHost" }, "DefaultPartitionURI": { "name": "DefaultPartitionURI", "title": "Default Partition URI", "minItems": 0, "format": "uri", "choices": [], "readonly": true, "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "TransferTimeout": { "minItems": 0, "title": "Transfer Timeout", "type": "integer", "description": " The amount of time (in milliseconds) the local Cisco Unity Connection VMS server will wait for a response from this Cisco Unity Connection VMS server after this Cisco Unity Connection VMS server has answered the call. If this VMS server does not respond within the specified time period, a prompt is played that says that the Cisco Unity Connection VMS server could not be reached, and the call is transferred to the opening greeting of the local Cisco Unity Connection VMS server.", "name": "TransferTimeout" }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a Location object. - template parameter [1]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "LastUSNSent": { "minItems": 0, "title": "Last USN Sent", "type": "integer", "description": " Keeps track of the USN of the last change sent to the node.", "name": "LastUSNSent" }, "PushDirectory": { "minItems": 0, "title": "Push Directory", "type": "boolean", "description": " Indicates whether we are pushing the directory of the local node to the remote node identified by this record.", "name": "PushDirectory" }, "DefaultWaveFormatURI": { "name": "DefaultWaveFormatURI", "title": "Default Wave Format URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "UseSmartSmtpHost": { "minItems": 0, "title": "Use Smart Smtp Host", "type": "boolean", "description": " A flag indicating whether the Unity Connection SMTP server forwards messages to the SMTP Smart Host for delivery.", "name": "UseSmartSmtpHost" }, "URI": { "name": "URI", "title": "URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "TimeZone": { "minItems": 0, "title": "Time Zone", "type": "integer", "description": " The TimeZone associated with this VMS.", "name": "TimeZone" }, "SkinnyLocalCACertificate": { "minItems": 0, "title": "Skinny Local CA Certificate", "type": "string", "description": " The X.509 certificate formatted as a PEM format string (base-64 encoded).", "name": "SkinnyLocalCACertificate" }, "SynchronizationUserURI": { "name": "SynchronizationUserURI", "title": "Synchronization User URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "ReplicationSetIncoming": { "minItems": 0, "title": "Replication Set Incoming", "type": "integer", "description": " Identifies the replication set we are currently receiving from this remote node.", "name": "ReplicationSetIncoming" }, "HostAddress": { "minItems": 0, "type": "string", "name": "HostAddress", "title": "Host Address" }, "CrossBoxResponseTimeout": { "minItems": 0, "title": "Cross Box Response Timeout", "type": "integer", "description": " For cross-box operations, the delay in seconds to wait for a response from this location after sending the DTMF sequence.", "name": "CrossBoxResponseTimeout" }, "DefaultSearchSpaceObjectId": { "target_attr": "ObjectId", "description": "The unique identifier of the default SearchSpace for this LocationVms. Setup populates this value when it creates the default SearchSpace for the system.", "name": "DefaultSearchSpaceObjectId", "format": "uri", "minItems": 0, "title": "Search Space", "choices": [], "target_title": "Name", "target_model_type": "device/cuc/SearchSpace", "type": "string", "target": "/api/device/cuc/SearchSpace/choices/?choice_title=Name&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "DefaultTTSLanguage": { "minItems": 0, "title": "Default TTS Language", "type": "integer", "description": " Default language to use for TTS playback.", "name": "DefaultTTSLanguage" }, "PullDirectory": { "minItems": 0, "title": "Pull Directory", "type": "boolean", "description": " Indicates whether we are pulling the directory of the remote node identified by this record to the local node.", "name": "PullDirectory" }, "SkinnyLocalCAPrivateKey": { "minItems": 0, "title": "Skinny Local CA Private Key", "type": "string", "description": " The RSA private key matching the public key in SkinnyDeviceCertificate in PEM format (base-64 encoded string).", "name": "SkinnyLocalCAPrivateKey" }, "AllowCrossBoxLogin": { "minItems": 0, "title": "Allow Cross Box Login", "type": "boolean", "description": " Allow cross-box login from the local server to this location.", "name": "AllowCrossBoxLogin" }, "VoiceFileURI": { "name": "VoiceFileURI", "title": "Voice File URI", "minItems": 0, "format": "uri", "choices": [], "readonly": true, "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "LastUSNReceived": { "minItems": 0, "title": "Last USN Received", "type": "integer", "description": " Keeps track of the USN of the last change received from the node.", "name": "LastUSNReceived" }, "TransferNumberOfRings": { "minItems": 0, "title": "Transfer Number Of Rings", "type": "integer", "description": " The number of rings the local Cisco Unity Connection VMS server waits for this Cisco Unity Connection VMS server to answer. If this Cisco Unity Connection VMS server does not answer after the specified number of rings, a prompt is played that says that the Cisco Unity Connection VMS server could not be reached, and the call is transferred to the opening greeting of the local Cisco Unity Connection VMS server.", "name": "TransferNumberOfRings" }, "DefaultSearchSpaceURI": { "name": "DefaultSearchSpaceURI", "title": "Default Search Space URI", "minItems": 0, "format": "uri", "choices": [], "readonly": true, "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "CrossBoxSendDelay": { "minItems": 0, "title": "Cross Box Send Delay", "type": "integer", "description": " For cross-box operations, the delay in milliseconds before sending the DTMF sequence after connecting to this location.", "name": "CrossBoxSendDelay" }, "SynchronizationUserObjectId": { "target_attr": "ObjectId", "description": "Holds the user object ID of the account used to send and receive synchronization messages between nodes in the digital network.", "name": "SynchronizationUserObjectId", "format": "uri", "minItems": 0, "title": "Synchronization User", "choices": [], "target_title": "ServerName", "target_model_type": "device/cuc/TBD", "type": "string", "target": "/api/device/cuc/TBD/choices/?choice_title=ServerName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "LastDirectoryPullDate": { "minItems": 0, "title": "Last Directory Pull Date", "type": "string", "description": " The date at which we last pulled from this remote network node.", "name": "LastDirectoryPullDate" }, "MaxGreetingLength": { "minItems": 0, "title": "Max Greeting Length", "type": "integer", "description": " The maximum length (in seconds) allowed for recording a system greeting. ", "name": "MaxGreetingLength" }, "DtmfAccessId": { "minItems": 0, "title": "Dtmf Access Id", "type": "string", "description": "The DTMF access id for the VMS. The dialable number.", "name": "DtmfAccessId" }, "DisplayName": { "minItems": 0, "title": "Display Name", "type": "string", "description": " The unique text name of this Location, e.g. \"Seattle Office.\" Used when displaying entries in the administrative console, e.g. Cisco Unity Connection Administration.", "name": "DisplayName" }, "AgcTargetDb": { "minItems": 0, "title": "Agc Target Db", "type": "integer", "description": " The average decibel (dB) level that a recorded message should have after application of automatic gain control (AGC). This is the \"nominal gain\" for all recordings processed by AGC. ", "name": "AgcTargetDb" }, "ReplicationSetOutgoing": { "minItems": 0, "title": "Replication Set Outgoing", "type": "integer", "description": " Identifies the replication set we are currently sending to this remote node.", "name": "ReplicationSetOutgoing" } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cuc/ConnectionLocation/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cuc/ConnectionLocation/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cuc/ConnectionLocation/[pkid1]", "/api/v0/device/cuc/ConnectionLocation/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cuc/ConnectionLocation/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/cuc/ConnectionLocation |
|
{"hrefs": ["/api/device/cuc/ConnectionLocation/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cuc/ConnectionLocation |
|
{"hrefs": ["/api/device/cuc/ConnectionLocation/[pkid1]", "/api/device/cuc/ConnectionLocation/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cuc/ConnectionLocation; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cuc/ConnectionLocation/export/ |
|
{ "hrefs":["/api/device/cuc/ConnectionLocation/[pkid1]", "/api/device/cuc/ConnectionLocation/[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/cuc/ConnectionLocation and the JSON format can be used to import instances of device/cuc/ConnectionLocation.
GET http://[host-proxy]/api/device/cuc/ConnectionLocation/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cuc/ConnectionLocation | POST | /api/device/cuc/ConnectionLocation/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/cuc/ConnectionLocation/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/cuc/ConnectionLocation/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cuc/ConnectionLocation/ |
|
The device/cuc/ConnectionLocation schema and all instances as JSON. |
(The list will return 0 to 3 device/cuc/ConnectionLocation instances)
{ "operations": [ "move" ], "pagination": { "direction": "asc", "order_by": "DisplayName", "maximum_limit": 2000, "skip": 0, "current": "/api/device/cuc/ConnectionLocation/?skip=0&limit=3&order_by=DisplayName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 4 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "14.0", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/cuc/ConnectionLocation/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/cuc/ConnectionLocation", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/ConnectionLocation/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/cuc/ConnectionLocation/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/cuc/ConnectionLocation/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/cuc/ConnectionLocation/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/cuc/ConnectionLocation/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/ConnectionLocation/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/ConnectionLocation/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/ConnectionLocation", "model_specific_actions": [ "list", "get", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "help", "move" ], "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "61b1309eeadb826afd7be464", "meta": { "tags": [], "cached": true, "title": "cucm", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "61b12f13eadb826afd7b7dd9", "href": "/api/v0/data/UnityConnection/61b12f13eadb826afd7b7dd9" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b1309eeadb826afd7be464", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/" } ], "parent": [ { "pkid": "61b12e93eadb826afd7b5dad", "href": "/api/data/HierarchyNode/61b12e93eadb826afd7b5dad" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b1309eeadb826afd7be464/?model_type=device/cuc/ConnectionLocation", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/ConnectionLocation", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b1309eeadb826afd7be464" ], "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "KeypadMapId": 1, "SmtpUnknownRecipientAction": 0, "AllowCrossBoxTransfer": false, "ReplicationSet": 0, "IncludeLocations": true, "SystemVersion": "11.5.1.2113", "DestinationType": 1, "DefaultPartitionObjectId": "29335726-0914-46d5-8605-16d626c7dc7b", "hierarchy_friendly_name": "CS-P (Provider)", "LastUSNAck": 0, "EncryptionKey": "0e39b776-ccad-49e4-8290-b5720de89d33", "summary_device": "Partitioned CUCxn, 192.168.100.22, 8443, hcs.CS-P", "Status": 0, "UseSmartSmtpHost": false, "SmtpDomain": "cucm", "DtmfName": "2826", "DefaultLanguage": 1033, "MaxContacts": 150000, "PullState": 0, "CrossBoxMaxRings": 4, "PushState": 0, "IsPrimary": true, "DefaultPartitionURI": "/vmrest/partitions/29335726-0914-46d5-8605-16d626c7dc7b", "TransferTimeout": 5000, "ObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "LastUSNSent": 0, "PushDirectory": false, "DefaultWaveFormatURI": "/vmrest/waveformats/8961a48d-085d-4023-a4b4-6f682f8a8578", "DefaultWaveFormatObjectId": "8961a48d-085d-4023-a4b4-6f682f8a8578", "URI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "TimeZone": 140, "SynchronizationUserURI": "/vmrest/users/0d6504f6-5256-4c63-b7b8-86dbfdd91331", "ReplicationSetIncoming": 0, "HostAddress": "192.168.100.22", "CrossBoxResponseTimeout": 5, "DefaultSearchSpaceObjectId": "74b4757d-3e96-4776-8749-037c094a6d3c", "DefaultTTSLanguage": 1033, "PullDirectory": false, "AllowCrossBoxLogin": false, "LastUSNReceived": 0, "TransferNumberOfRings": 4, "hierarchy_path": "sys.hcs.CS-P", "DefaultSearchSpaceURI": "/vmrest/searchspaces/74b4757d-3e96-4776-8749-037c094a6d3c", "CrossBoxSendDelay": 200, "SynchronizationUserObjectId": "0d6504f6-5256-4c63-b7b8-86dbfdd91331", "MaxGreetingLength": 90, "DisplayName": "cucm", "AgcTargetDb": -26, "ReplicationSetOutgoing": 0 } }, { "pkid": "61b13184eadb826afd7c460e", "meta": { "tags": [], "cached": true, "title": "cucx", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "61b12f56eadb826afd7b8db9", "href": "/api/v0/data/UnityConnection/61b12f56eadb826afd7b8db9" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13184eadb826afd7c460e", "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b13184eadb826afd7c460e/?model_type=device/cuc/ConnectionLocation", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/help", "title": "Help", "class": "help", "method": "GET" } }, { "purge": { "support_async": false, "href": "/api/device/cuc/ConnectionLocation/61b13184eadb826afd7c460e/purge/", "title": "Purge", "class": "purge", "method": "POST" } } ], "model_type": "device/cuc/ConnectionLocation", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13184eadb826afd7c460e" ], "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "KeypadMapId": 1, "SmtpUnknownRecipientAction": 0, "AllowCrossBoxTransfer": false, "ReplicationSet": 0, "IncludeLocations": true, "SystemVersion": "12.5.1.259", "DestinationType": 1, "DefaultPartitionObjectId": "48d5e4a4-33c2-4644-962d-c7c4752ac0c6", "hierarchy_friendly_name": "AAAGlobal (Customer)", "LastUSNAck": 0, "EncryptionKey": "c0ec904e-b2ef-47a9-b22e-4dcfc6ba6ea9", "summary_device": "Dedicated CUCxn, 192.168.100.20, 8443, hcs.CS-P.CS-NB.AAAGlobal", "Status": 0, "UseSmartSmtpHost": false, "SmtpDomain": "cucx", "DtmfName": "2829", "DefaultLanguage": 1033, "MaxContacts": 150000, "PullState": 0, "CrossBoxMaxRings": 4, "PushState": 0, "IsPrimary": true, "SmtpSmartHost": "smarthost.smtp.com", "DefaultPartitionURI": "/vmrest/partitions/48d5e4a4-33c2-4644-962d-c7c4752ac0c6", "TransferTimeout": 5000, "ObjectId": "2f981bfa-ed9f-4043-928d-a57c288c8abc", "LastUSNSent": 0, "PushDirectory": false, "DefaultWaveFormatURI": "/vmrest/waveformats/8961a48d-085d-4023-a4b4-6f682f8a8578", "DefaultWaveFormatObjectId": "8961a48d-085d-4023-a4b4-6f682f8a8578", "URI": "/vmrest/locations/connectionlocations/2f981bfa-ed9f-4043-928d-a57c288c8abc", "TimeZone": 140, "SynchronizationUserURI": "/vmrest/users/53fcaed3-b236-4b75-a5f1-f5116b806b26", "ReplicationSetIncoming": 0, "HostAddress": "192.168.100.20", "CrossBoxResponseTimeout": 5, "DefaultSearchSpaceObjectId": "67e56d7e-ca1e-444e-925d-18067a9b9332", "DefaultTTSLanguage": 1033, "PullDirectory": false, "AllowCrossBoxLogin": false, "LastUSNReceived": 0, "TransferNumberOfRings": 4, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "DefaultSearchSpaceURI": "/vmrest/searchspaces/67e56d7e-ca1e-444e-925d-18067a9b9332", "CrossBoxSendDelay": 200, "SynchronizationUserObjectId": "53fcaed3-b236-4b75-a5f1-f5116b806b26", "MaxGreetingLength": 90, "DisplayName": "cucx", "AgcTargetDb": -26, "ReplicationSetOutgoing": 0 } }, { "pkid": "61b13311eadb826afd7ca7db", "meta": { "tags": [], "cached": true, "title": "cucx", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "61b12fa5eadb826afd7ba3e2", "href": "/api/v0/data/UnityConnection/61b12fa5eadb826afd7ba3e2" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13311eadb826afd7ca7db", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [] }, "actions": [ { "clone": { "support_async": false, "method": "GET", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/61b13311eadb826afd7ca7db/?model_type=device/cuc/ConnectionLocation", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/help", "class": "help", "title": "Help" } }, { "purge": { "support_async": false, "method": "POST", "href": "/api/device/cuc/ConnectionLocation/61b13311eadb826afd7ca7db/purge/", "class": "purge", "title": "Purge" } } ], "model_type": "device/cuc/ConnectionLocation", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b13311eadb826afd7ca7db" ], "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "KeypadMapId": 1, "SmtpUnknownRecipientAction": 0, "AllowCrossBoxTransfer": false, "ReplicationSet": 0, "IncludeLocations": true, "SystemVersion": "12.5.1.259", "DestinationType": 1, "DefaultPartitionObjectId": "48d5e4a4-33c2-4644-962d-c7c4752ac0c6", "hierarchy_friendly_name": "AAAGlobal (Customer)", "LastUSNAck": 0, "EncryptionKey": "c0ec904e-b2ef-47a9-b22e-4dcfc6ba6ea9", "summary_device": "Dedicated CUCxn, 192.168.100.21, 8443, hcs.CS-P.CS-NB.AAAGlobal", "Status": 0, "UseSmartSmtpHost": false, "SmtpDomain": "cucx", "DtmfName": "2829", "DefaultLanguage": 1033, "MaxContacts": 150000, "PullState": 0, "CrossBoxMaxRings": 4, "PushState": 0, "IsPrimary": true, "SmtpSmartHost": "smarthost.smtp.com", "DefaultPartitionURI": "/vmrest/partitions/48d5e4a4-33c2-4644-962d-c7c4752ac0c6", "TransferTimeout": 5000, "ObjectId": "2f981bfa-ed9f-4043-928d-a57c288c8abc", "LastUSNSent": 0, "PushDirectory": false, "DefaultWaveFormatURI": "/vmrest/waveformats/8961a48d-085d-4023-a4b4-6f682f8a8578", "DefaultWaveFormatObjectId": "8961a48d-085d-4023-a4b4-6f682f8a8578", "URI": "/vmrest/locations/connectionlocations/2f981bfa-ed9f-4043-928d-a57c288c8abc", "TimeZone": 140, "SynchronizationUserURI": "/vmrest/users/53fcaed3-b236-4b75-a5f1-f5116b806b26", "ReplicationSetIncoming": 0, "HostAddress": "192.168.100.21", "CrossBoxResponseTimeout": 5, "DefaultSearchSpaceObjectId": "67e56d7e-ca1e-444e-925d-18067a9b9332", "DefaultTTSLanguage": 1033, "PullDirectory": false, "AllowCrossBoxLogin": false, "LastUSNReceived": 0, "TransferNumberOfRings": 4, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "DefaultSearchSpaceURI": "/vmrest/searchspaces/67e56d7e-ca1e-444e-925d-18067a9b9332", "CrossBoxSendDelay": 200, "SynchronizationUserObjectId": "53fcaed3-b236-4b75-a5f1-f5116b806b26", "MaxGreetingLength": 90, "DisplayName": "cucx", "AgcTargetDb": -26, "ReplicationSetOutgoing": 0 } } ] }
(Show the first instance)
{ "pkid": "61b1309eeadb826afd7be464", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "cucm", "business_key": {}, "schema_version": "11.5", "references": { "parent": [ { "pkid": "61b12e93eadb826afd7b5dad", "href": "/api/data/HierarchyNode/61b12e93eadb826afd7b5dad" } ], "self": [ { "pkid": "61b1309eeadb826afd7be464", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/" } ], "foreign_key": [], "device": [ { "pkid": "61b12f13eadb826afd7b7dd9", "href": "/api/v0/data/UnityConnection/61b12f13eadb826afd7b7dd9" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b1309eeadb826afd7be464/?hierarchy=[hierarchy]&model_type=device/cuc/ConnectionLocation", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/ConnectionLocation/61b1309eeadb826afd7be464/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/ConnectionLocation", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b1309eeadb826afd7be464" ], "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "KeypadMapId": 1, "SmtpUnknownRecipientAction": 0, "AllowCrossBoxTransfer": false, "ReplicationSet": 0, "IncludeLocations": true, "SystemVersion": "11.5.1.2113", "DestinationType": 1, "DefaultPartitionObjectId": "29335726-0914-46d5-8605-16d626c7dc7b", "LastUSNAck": 0, "EncryptionKey": "0e39b776-ccad-49e4-8290-b5720de89d33", "Status": 0, "UseSmartSmtpHost": false, "SmtpDomain": "cucm", "DtmfName": "2826", "DefaultLanguage": 1033, "MaxContacts": 150000, "DefaultWaveFormatURI": "/vmrest/waveformats/8961a48d-085d-4023-a4b4-6f682f8a8578", "CrossBoxMaxRings": 4, "PushState": 0, "IsPrimary": true, "DefaultPartitionURI": "/vmrest/partitions/29335726-0914-46d5-8605-16d626c7dc7b", "TransferTimeout": 5000, "ObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "LastUSNSent": 0, "PushDirectory": false, "PullState": 0, "DefaultWaveFormatObjectId": "8961a48d-085d-4023-a4b4-6f682f8a8578", "URI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "TimeZone": 140, "SynchronizationUserURI": "/vmrest/users/0d6504f6-5256-4c63-b7b8-86dbfdd91331", "ReplicationSetIncoming": 0, "HostAddress": "192.168.100.22", "TransferNumberOfRings": 4, "CrossBoxResponseTimeout": 5, "DefaultTTSLanguage": 1033, "PullDirectory": false, "AllowCrossBoxLogin": false, "LastUSNReceived": 0, "DefaultSearchSpaceObjectId": "74b4757d-3e96-4776-8749-037c094a6d3c", "DefaultSearchSpaceURI": "/vmrest/searchspaces/74b4757d-3e96-4776-8749-037c094a6d3c", "CrossBoxSendDelay": 200, "SynchronizationUserObjectId": "0d6504f6-5256-4c63-b7b8-86dbfdd91331", "MaxGreetingLength": 90, "DisplayName": "cucm", "AgcTargetDb": -26, "ReplicationSetOutgoing": 0 } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cuc/ConnectionLocation. | GET | /api/device/cuc/ConnectionLocation/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cuc/ConnectionLocation as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cuc/ConnectionLocation/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cuc/ConnectionLocation/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cuc/ConnectionLocation | 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/cuc/ConnectionLocation; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cuc/ConnectionLocation/[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/cuc/ConnectionLocation and the JSON format can be used to import instances of device/cuc/ConnectionLocation.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cuc/ConnectionLocation/[pkid]/ | hierarchy=[hierarchy] | The device/cuc/ConnectionLocation instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cuc/ConnectionLocation/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cuc/ConnectionLocation. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cuc/ConnectionLocation/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |