[Index]
Model ref.: device/cuc/PortGroup
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": { "MwiOnCode": { "minItems": 0, "title": "Mwi On Code", "type": "string", "description": " The access code that Cisco Unity Connection uses to activate (light) a message waiting indicator (MWI).", "name": "MwiOnCode" }, "NoiseFreeEnable": { "minItems": 0, "title": "Noise Free Enable", "type": "boolean", "description": " Enable NoiseFree noise cancellation.", "name": "NoiseFreeEnable" }, "SipAuthenticateAsUser": { "minItems": 0, "title": "Sip Authenticate As User", "type": "string", "description": " The user name used for SIP authentication.", "name": "SipAuthenticateAsUser" }, "DisplayName": { "description": " The unique text name of this MediaPortGroup. Used when displaying entries in the administrative console, e.g. Cisco Unity Connection Administration.", "title": "Display Name", "minItems": 0, "required": true, "type": "string", "name": "DisplayName" }, "MwiOffCode": { "minItems": 0, "title": "Mwi Off Code", "type": "string", "description": " The access code that Cisco Unity Connection uses to deactivate (extinguish) a message waiting indicator (MWI).", "name": "MwiOffCode" }, "PortCount": { "description": "The total number of MediaPorts in the MediaPortGroup.", "title": "Port Count", "minItems": 0, "readonly": true, "type": "integer", "name": "PortCount" }, "PortGroupCodecURI": { "title": "Port Group Codec URI", "type": "string", "description": "The URI to codec Information", "name": "PortGroupCodecURI" }, "MediaSipSecurityProfileObjectId": { "target_attr": "ObjectId", "description": "The name of the Sip security profile used by this port group.", "name": "MediaSipSecurityProfileObjectId", "format": "uri", "minItems": 0, "title": "Media SIP Security Profile", "choices": [], "target_title": "DisplayName", "target_model_type": "device/cuc/SipSecurityProfile", "type": "string", "target": "/api/device/cuc/SipSecurityProfile/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "SipPreferredMedia": { "description": " Indicates SIP media preference when sending an SDP offer.", "title": "Sip Preferred Media", "minItems": 0, "choices": [ [ 0, "IPmodeV4" ], [ 1, "IPmodeV6" ], [ 2, "IPmodeV4_V6" ] ], "type": "integer", "name": "SipPreferredMedia" }, "PhoneSystemURI": { "name": "PhoneSystemURI", "title": "Phone System URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "SipAuthenticatePassword": { "minItems": 0, "title": "Sip Authenticate Password", "type": "string", "description": " The password to use during SIP authentication.", "name": "SipAuthenticatePassword" }, "TelephonyIntegrationMethodEnum": { "description": " The method used by lines in this group to integrate with the switch.", "title": "Telephony Integration Method", "minItems": 0, "required": true, "choices": [ [ 3, "PIMG" ], [ 2, "SIP" ], [ 1, "Skinny" ] ], "readonly": true, "type": "integer", "name": "TelephonyIntegrationMethodEnum" }, "MediaRemoteServiceEnum": { "description": " The type of IP service.", "title": "Media Remote Services", "minItems": 0, "choices": [ [ 105, "ASRMediaServer" ], [ 100, "CCM" ], [ 103, "CCMAXL" ], [ 101, "CCMTFTP" ], [ 104, "PIMG" ], [ 102, "SIPPROXY" ], [ 106, "TTSMediaServer" ] ], "type": "integer", "name": "MediaRemoteServiceEnum" }, "PreferredCallControl": { "description": " Indicates call control signaling preference.", "title": "Preferred Call Control", "minItems": 0, "choices": [ [ 0, "IPmodeV4" ], [ 1, "IPmodeV6" ], [ 2, "IPmodeV4_V6" ] ], "type": "integer", "name": "PreferredCallControl" }, "ResetStatusEnum": { "description": "Shows whether the port group needs to be reset in order to cause configuration changes to take effect", "title": "Reset Status", "minItems": 0, "choices": [ [ 0, "Reset Not Required" ], [ 100, "Reset Required" ], [ 101, "Reset In Progress" ] ], "readonly": true, "type": "integer", "name": "ResetStatusEnum" }, "SkinnyDevicePrefix": { "description": " The prefix Cisco Unity Connection uses to generate Skinny device name for ports belonging to this group.", "title": "Skinny Device Prefix", "minItems": 0, "pattern": "^.{1,46}-VI$", "type": "string", "name": "SkinnyDevicePrefix" }, "RecordingDTMFClipMs": { "minItems": 0, "title": "Recording DTMF Clip Ms", "type": "integer", "description": " Number of milliseconds to remove from the end of a recording when the recording is terminated with a digit press.", "name": "RecordingDTMFClipMs" }, "MwiRetryIntervalOnSuccessMs": { "minItems": 0, "title": "Mwi Retry Interval On Success Ms", "type": "integer", "description": " The minimum time interval (in milliseconds) between repeated transmissions of MWI on/off, see MWIRetryIntervalCountOnSuccess.", "name": "MwiRetryIntervalOnSuccessMs" }, "TlsPort": { "minItems": 0, "title": "Tls Port", "type": "integer", "description": " The IP port at which the service is found. Cisco Unity Connection must negotiate a TLS session when using this port.", "name": "TlsPort" }, "EnableAGC": { "minItems": 0, "title": "Enable AGC", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection should apply software-based gain control when recording messages.", "name": "EnableAGC" }, "HostOrIPAddressV6": { "description": " Server DNS name or IPv6 address for remote service. ", "title": "Host Or IP Address V6", "minItems": 0, "readonly": true, "type": "string", "name": "HostOrIPAddressV6" }, "MwiMaxConcurrentRequests": { "minItems": 0, "title": "Mwi Max Concurrent Requests", "type": "integer", "description": " The maximum number of MWI requests that can be in progress at any instant.", "name": "MwiMaxConcurrentRequests" }, "OutgoingGuardTimeMs": { "minItems": 0, "title": "Outgoing Guard Time Ms", "type": "integer", "description": " The amount of time (in milliseconds) a port in this group must be on-hook before the Cisco Unity Connection will allow an outgoing call on that port. ", "name": "OutgoingGuardTimeMs" }, "MediaServerName": { "minItems": 0, "title": "Media Server Name", "type": "string", "description": " The preferred name of the media server, if applicable.", "name": "MediaServerName" }, "SipEnableNextGenSecurity": { "minItems": 0, "title": "Sip Enable Next Gen Security", "type": "boolean", "description": " A flag which indicates next generation Security is enable or not in sip", "name": "SipEnableNextGenSecurity" }, "MediaPortGroupTemplateObjectId": { "target_title": "TemplateDescriptionDefault", "description": "The name of the template from which the MediaPortGroup object was created.", "name": "MediaPortGroupTemplateObjectId", "format": "uri", "minItems": 0, "required": true, "choices": [], "target_attr": "ObjectId", "readonly": true, "target_model_type": "device/cuc/PortGroupTemplate", "title": "Media Port Group Template", "type": "string", "target": "/api/device/cuc/PortGroupTemplate/choices/?choice_title=TemplateDescriptionDefault&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "MediaSwitchDisplayName": { "description": "The name of the parent MediaSwitch.", "title": "Media Switch Display Name", "minItems": 0, "readonly": true, "type": "string", "name": "MediaSwitchDisplayName" }, "RecordingToneExtraClipMs": { "minItems": 0, "title": "Recording Tone Extra Clip Ms", "type": "integer", "description": " Additional number of milliseconds to remove from the end of a recording when the recording is terminated by a tone.", "name": "RecordingToneExtraClipMs" }, "WaitForCallInfoMs": { "minItems": 0, "title": "Wait For Call Info Ms", "type": "integer", "description": " Number of milliseconds to wait for call information (CallerID, CalledID, etc.) to arrive after answering the call.", "name": "WaitForCallInfoMs" }, "MwiMinRequestIntervalMs": { "minItems": 0, "title": "Mwi Min Request Interval Ms", "type": "integer", "description": " The minimum amount of time (in milliseconds) between sending MWI on/off requests to the switch.", "name": "MwiMinRequestIntervalMs" }, "SipTransportProtocolEnum": { "description": " The transport protocol Cisco Unity Connection should use for the SIP integration.", "title": "SIP Transport Protocol", "minItems": 0, "choices": [ [ 11, "TCP" ], [ 10, "UDP" ] ], "type": "integer", "name": "SipTransportProtocolEnum" }, "PortURI": { "title": "Port URI", "type": "string", "description": "The URI to ports Information", "name": "PortURI" }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a MediaPortGroup object. - template parameter [1]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "DelayBeforeOpeningMs": { "minItems": 0, "title": "Delay Before Opening Ms", "type": "integer", "description": " The delay (in milliseconds) after a call is connected before playing the opening greeting.", "name": "DelayBeforeOpeningMs" }, "OutgoingPostDialDelayMs": { "minItems": 0, "title": "Outgoing Post Dial Delay Ms", "type": "integer", "description": " The delay (in milliseconds) after dialing an outgoing call.", "name": "OutgoingPostDialDelayMs" }, "PortGroupServerURI": { "title": "Port Group Server URI", "type": "string", "description": "The URI to change the server address.", "name": "PortGroupServerURI" }, "SipRPIDDisplayName": { "minItems": 0, "title": "Sip RPID Display Name", "type": "string", "description": " SIP Remote-Party-ID header display name", "name": "SipRPIDDisplayName" }, "URI": { "name": "URI", "title": "URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "PortGroupURI": { "name": "PortGroupURI", "title": "Port Group URI", "minItems": 0, "format": "uri", "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "SipDoDtmfKPML": { "minItems": 0, "title": "Sip Do Dtmf KPML", "type": "boolean", "description": " Send/receive DTMF out-of-band as SIP events (KPML)", "name": "SipDoDtmfKPML" }, "SipTLSModeEnum": { "description": " Specifies cipher to use for TLS", "title": "SIP TLS Mode", "minItems": 0, "choices": [ [ 10, "Authenticated" ], [ 11, "Encrypted" ] ], "type": "integer", "name": "SipTLSModeEnum" }, "MwiRetryCountOnSuccess": { "minItems": 0, "title": "Mwi Retry Count On Success", "type": "integer", "description": " The number of times Cisco Unity Connection should repeat activating/deactivating an MWI upon success.", "name": "MwiRetryCountOnSuccess" }, "HostOrIPAddress": { "description": " The DNS name or IP address of the computer hosting the remote service .", "title": "Host Or IP Address", "minItems": 0, "required": true, "readonly": true, "type": "string", "name": "HostOrIPAddress" }, "SkinnyStateMachineEnum": { "description": " A flag indicating whether this MediaPortGroup is integrated with Cisco Unified Communications Manager or Cisco CallManager Express. This is used to switch on a special state engine in the Skinny TSP for Cisco CallManager Express.", "title": "Skinny State Machine", "minItems": 0, "choices": [ [ 10, "CCM" ], [ 20, "CCME" ] ], "type": "integer", "name": "SkinnyStateMachineEnum" }, "VideoProfile": { "minItems": 0, "type": "integer", "name": "VideoProfile", "title": "Video Profile" }, "SipRegisterWithProxyServer": { "minItems": 0, "title": "Sip Register With Proxy Server", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection should register with a SIP proxy server.", "name": "SipRegisterWithProxyServer" }, "SipDoAuthenticate": { "minItems": 0, "title": "Sip Do Authenticate", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection should authenticate with the remote endpoint.", "name": "SipDoAuthenticate" }, "DtmfDialInterDigitDelayMs": { "minItems": 0, "title": "Dtmf Dial Inter Digit Delay Ms", "type": "integer", "description": " The amount of time (in milliseconds) between DTMF digits when sending DTMF to the PBX.", "name": "DtmfDialInterDigitDelayMs" }, "MwiReqPortSpecific": { "minItems": 0, "title": "Mwi Req Port Specific", "type": "boolean", "description": " A flag indicating whether MWI requests require a MediaPort. ", "name": "MwiReqPortSpecific" }, "CcmDoAutoFailback": { "minItems": 0, "title": "Ccm Do Auto Failback", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection should automatically re-register (i.e. failback) with a higher-precedence CCM server if one becomes available. This is pertinent if a Cisco Unity Connection Skinny device is currently registered to a CCM server that is not the primary server.", "name": "CcmDoAutoFailback" }, "Port": { "description": " The IP port at which the service is found.", "title": "Port", "minItems": 0, "readonly": true, "type": "integer", "name": "Port" }, "MediaCertificateObjectId": { "target_attr": "ObjectId", "description": "The name of the Sip certificate object used by this port group.", "name": "MediaCertificateObjectId", "format": "uri", "minItems": 0, "title": "Media Certificate", "choices": [], "target_title": "DisplayName", "target_model_type": "device/cuc/SipCertificate", "type": "string", "target": "/api/device/cuc/SipCertificate/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "OutgoingPreDialDelayMs": { "minItems": 0, "title": "Outgoing Pre Dial Delay Ms", "type": "integer", "description": " The delay (in milliseconds) before dialing.", "name": "OutgoingPreDialDelayMs" }, "EnableMWI": { "minItems": 0, "title": "Enable MWI", "type": "boolean", "description": " A flag indicating whether this port group can transmit message waiting indicator (MWI) on/off messages to the switch.", "name": "EnableMWI" }, "SipContactLineName": { "minItems": 0, "title": "Sip Contact Line Name", "type": "string", "description": " The dialable (extension) number of the lines in this group, i.e., pilot number.", "name": "SipContactLineName" }, "MediaPortGroupObjectId": { "target_attr": "ObjectId", "description": "The name of the MediaPortGroup object to which this row corresponds.", "name": "MediaPortGroupObjectId", "format": "uri", "minItems": 0, "title": "Media Port Group", "choices": [], "target_title": "DisplayName", "target_model_type": "device/cuc/PortGroup", "type": "string", "target": "/api/device/cuc/PortGroup/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "SipDoDtmfRfc2833": { "minItems": 0, "title": "Sip Do Dtmf Rfc2833", "type": "boolean", "description": " Send/receive DTMF in RTP stream (RFC 2833)", "name": "SipDoDtmfRfc2833" }, "SipDoSRTP": { "minItems": 0, "title": "Sip Do SRTP", "type": "boolean", "description": " A flag indicating whether the audio stream between Cisco Unity Connection and the remote endpoint should be encrypted.", "name": "SipDoSRTP" }, "MediaSwitchObjectId": { "target_title": "DisplayName", "description": "The name of the MediaSwitch object to which this MediaPortGroup belongs. The MediaSwitch represents the PBX/switch at the other end of the phone lines.", "name": "MediaSwitchObjectId", "format": "uri", "minItems": 0, "required": true, "choices": [], "target_attr": "ObjectId", "readonly": true, "target_model_type": "device/cuc/PhoneSystem", "title": "Media Switch", "type": "string", "target": "/api/device/cuc/PhoneSystem/choices/?choice_title=DisplayName&field=ObjectId&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } }, "schema_version": "12.5" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cuc/PortGroup/add/ |
|
The GUI Add form of device/cuc/PortGroup 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/cuc/PortGroup/ | 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/cuc/PortGroup/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cuc/PortGroup/[pkid1]", "/api/device/cuc/PortGroup/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cuc/PortGroup/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cuc/PortGroup/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cuc/PortGroup/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cuc/PortGroup/[pkid1]", "/api/v0/device/cuc/PortGroup/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cuc/PortGroup/?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/PortGroup |
|
{"hrefs": ["/api/device/cuc/PortGroup/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cuc/PortGroup |
|
{"hrefs": ["/api/device/cuc/PortGroup/[pkid1]", "/api/device/cuc/PortGroup/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cuc/PortGroup; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cuc/PortGroup/export/ |
|
{ "hrefs":["/api/device/cuc/PortGroup/[pkid1]", "/api/device/cuc/PortGroup/[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/PortGroup and the JSON format can be used to import instances of device/cuc/PortGroup.
GET http://[host-proxy]/api/device/cuc/PortGroup/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cuc/PortGroup | POST | /api/device/cuc/PortGroup/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/PortGroup/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/PortGroup/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cuc/PortGroup/ |
|
The device/cuc/PortGroup schema and all instances as JSON. |
(The list will return 0 to 3 device/cuc/PortGroup instances)
{ "operations": [ "move" ], "pagination": { "direction": "asc", "order_by": "DisplayName", "maximum_limit": 2000, "skip": 0, "current": "/api/device/cuc/PortGroup/?skip=0&limit=3&order_by=DisplayName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 1 }, "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/cuc/PortGroup/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cuc/PortGroup/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/cuc/PortGroup/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/PortGroup", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/PortGroup/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/PortGroup/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/cuc/PortGroup/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/cuc/PortGroup/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/cuc/PortGroup/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/PortGroup/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/PortGroup/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/PortGroup", "model_specific_actions": [ "add", "list", "update", "get", "remove", "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": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5fff8ebace894e0015562924", "meta": { "tags": [], "cached": true, "title": "Cu2-Vm-PG", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "5fff8cd3ce894e0015560be6", "href": "/api/v0/data/UnityConnection/5fff8cd3ce894e0015560be6" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fff8ebace894e0015562924", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/" } ], "parent": [ { "pkid": "5fff8722ce894e001555a689", "href": "/api/data/HierarchyNode/5fff8722ce894e001555a689" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5fff8ebace894e0015562924/?model_type=device/cuc/PortGroup", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/PortGroup", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff8722ce894e001555a689", "5fff8ebace894e0015562924" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "NoiseFreeEnable": true, "DisplayName": "Cu2-Vm-PG", "PortCount": 3, "PortGroupCodecURI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a/portgroupcodecs", "MediaSipSecurityProfileObjectId": "ee4c2047-bbed-4045-9cbd-2878af8e9310", "SipPreferredMedia": 0, "PhoneSystemURI": "/vmrest/phonesystems/b4721efd-4847-4205-b550-a0cd39868d04", "TelephonyIntegrationMethodEnum": 2, "hierarchy_friendly_name": "Overton (Customer)", "summary_device": "Dedicated CUCxn, 10.120.9.246, 8443, hcs.CS-P.CS-NB.Overton", "PreferredCallControl": 0, "ResetStatusEnum": 0, "RecordingDTMFClipMs": 170, "MwiRetryIntervalOnSuccessMs": 5, "EnableAGC": true, "MwiMaxConcurrentRequests": 0, "OutgoingGuardTimeMs": 0, "SipEnableNextGenSecurity": false, "MediaPortGroupTemplateObjectId": "04e0e286-56ed-4f27-a325-756a49dd98e1", "MediaSwitchDisplayName": "PhoneSystem", "RecordingToneExtraClipMs": 250, "WaitForCallInfoMs": 0, "DelayBeforeOpeningMs": 0, "MwiMinRequestIntervalMs": 0, "PortURI": "/vmrest/ports/", "ObjectId": "22921c05-0644-43b8-a15e-6bf41d2d840a", "SipTransportProtocolEnum": 11, "OutgoingPostDialDelayMs": 50, "PortGroupServerURI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a/portgroupservers", "URI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a", "SipDoDtmfKPML": true, "SipTLSModeEnum": 11, "MwiRetryCountOnSuccess": 0, "VideoProfile": 360, "SipRegisterWithProxyServer": false, "hierarchy_path": "sys.hcs.CS-P.CS-NB.Overton", "SipDoAuthenticate": false, "DtmfDialInterDigitDelayMs": 300, "CcmDoAutoFailback": true, "OutgoingPreDialDelayMs": 0, "EnableMWI": true, "SipDoDtmfRfc2833": true, "SipDoSRTP": true, "MediaSwitchObjectId": "b4721efd-4847-4205-b550-a0cd39868d04" } } ] }
(Show the first instance)
{ "pkid": "5fff8ebace894e0015562924", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "Cu2-Vm-PG", "business_key": {}, "schema_version": "11.5", "references": { "parent": [ { "pkid": "5fff8722ce894e001555a689", "href": "/api/data/HierarchyNode/5fff8722ce894e001555a689" } ], "self": [ { "pkid": "5fff8ebace894e0015562924", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/" } ], "foreign_key": [], "device": [ { "pkid": "5fff8cd3ce894e0015560be6", "href": "/api/v0/data/UnityConnection/5fff8cd3ce894e0015560be6" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5fff8ebace894e0015562924/?hierarchy=[hierarchy]&model_type=device/cuc/PortGroup", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/cuc/PortGroup/5fff8ebace894e0015562924/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/cuc/PortGroup", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff8722ce894e001555a689", "5fff8ebace894e0015562924" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "NoiseFreeEnable": true, "DisplayName": "Cu2-Vm-PG", "PortCount": 3, "PortGroupCodecURI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a/portgroupcodecs", "MediaSipSecurityProfileObjectId": "ee4c2047-bbed-4045-9cbd-2878af8e9310", "SipPreferredMedia": 0, "PhoneSystemURI": "/vmrest/phonesystems/b4721efd-4847-4205-b550-a0cd39868d04", "TelephonyIntegrationMethodEnum": 2, "PreferredCallControl": 0, "ResetStatusEnum": 0, "RecordingDTMFClipMs": 170, "OutgoingGuardTimeMs": 0, "EnableAGC": true, "MwiMaxConcurrentRequests": 0, "MwiRetryIntervalOnSuccessMs": 5, "SipEnableNextGenSecurity": false, "MediaPortGroupTemplateObjectId": "04e0e286-56ed-4f27-a325-756a49dd98e1", "MediaSwitchDisplayName": "PhoneSystem", "RecordingToneExtraClipMs": 250, "WaitForCallInfoMs": 0, "MwiMinRequestIntervalMs": 0, "PortURI": "/vmrest/ports/", "ObjectId": "22921c05-0644-43b8-a15e-6bf41d2d840a", "SipTransportProtocolEnum": 11, "OutgoingPostDialDelayMs": 50, "DelayBeforeOpeningMs": 0, "PortGroupServerURI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a/portgroupservers", "URI": "/vmrest/portgroups/22921c05-0644-43b8-a15e-6bf41d2d840a", "SipDoDtmfKPML": true, "SipTLSModeEnum": 11, "MwiRetryCountOnSuccess": 0, "VideoProfile": 360, "SipRegisterWithProxyServer": false, "SipDoAuthenticate": false, "DtmfDialInterDigitDelayMs": 300, "CcmDoAutoFailback": true, "OutgoingPreDialDelayMs": 0, "EnableMWI": true, "SipDoDtmfRfc2833": true, "SipDoSRTP": true, "MediaSwitchObjectId": "b4721efd-4847-4205-b550-a0cd39868d04" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cuc/PortGroup. | GET | /api/device/cuc/PortGroup/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cuc/PortGroup as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cuc/PortGroup/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/cuc/PortGroup/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cuc/PortGroup/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cuc/PortGroup/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cuc/PortGroup | 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/PortGroup; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cuc/PortGroup/[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/PortGroup and the JSON format can be used to import instances of device/cuc/PortGroup.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cuc/PortGroup/[pkid]/ | hierarchy=[hierarchy] | The device/cuc/PortGroup instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cuc/PortGroup/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cuc/PortGroup. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cuc/PortGroup/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |