[Index]
Model ref.: device/cucm/SipProfileOptions
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": { "return": { "title": "Return", "minItems": 1, "required": true, "maxItems": 1, "type": "object", "properties": { "sipProfile": { "name": "sipProfile", "title": "Sip Profile", "minItems": 1, "required": true, "maxItems": 1, "type": [ "object", "null" ], "properties": { "rsvpOverSip": { "name": "rsvpOverSip", "title": "Rsvp Over Sip", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "cucmVersionInSipHeader": { "name": "cucmVersionInSipHeader", "title": "Cucm Version In Sip Header", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "sipSessionRefreshMethod": { "name": "sipSessionRefreshMethod", "title": "Sip Session Refresh Method", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "rerouteIncomingRequest": { "name": "rerouteIncomingRequest", "title": "Reroute Incoming Request", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "sipBandwidthModifier": { "name": "sipBandwidthModifier", "title": "Sip Bandwidth Modifier", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "anonymousCallBlock": { "name": "anonymousCallBlock", "title": "Anonymous Call Block", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "earlyOfferSuppVoiceCall": { "name": "earlyOfferSuppVoiceCall", "title": "Early Offer Supp Voice Call", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callerIdBlock": { "name": "callerIdBlock", "title": "Caller Id Block", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "dtmfDbLevel": { "name": "dtmfDbLevel", "title": "Dtmf Db Level", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "sdpTransparency": { "description": "SDP Transparency Profile for SIP Profile", "title": "Sdp Transparency", "minItems": 0, "required": false, "maxItems": 1, "type": "string", "name": "sdpTransparency" }, "sipRe11XxEnabled": { "name": "sipRe11XxEnabled", "title": "Sip Re11Xx Enabled", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "dndControl": { "name": "dndControl", "title": "Dnd Control", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "sipNormalizationScript": { "name": "sipNormalizationScript", "title": "Sip Normalization Script", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "gClear": { "name": "gClear", "title": "G Clear", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "resourcePriorityNamespaceListName": { "name": "resourcePriorityNamespaceListName", "title": "Resource Priority Namespace List Name", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "userInfo": { "name": "userInfo", "title": "User Info", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "videoCallTrafficClass": { "name": "videoCallTrafficClass", "title": "Video Call Traffic Class", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callHoldRingback": { "name": "callHoldRingback", "title": "Call Hold Ringback", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callingLineIdentification": { "name": "callingLineIdentification", "title": "Calling Line Identification", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "telnetLevel": { "name": "telnetLevel", "title": "Telnet Level", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "resourcePriorityNamespace": { "name": "resourcePriorityNamespace", "title": "Resource Priority Namespace", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "acceptAudioCodecPreferences": { "name": "acceptAudioCodecPreferences", "title": "Accept Audio Codec Preferences", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "dialStringInterpretation": { "name": "dialStringInterpretation", "title": "Dial String Interpretation", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "userAgentServerHeaderInfo": { "name": "userAgentServerHeaderInfo", "title": "User Agent Server Header Info", "minItems": 0, "required": false, "maxItems": 1, "type": "string" } } } } } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/SipProfileOptions/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/SipProfileOptions/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/SipProfileOptions/[pkid1]", "/api/v0/device/cucm/SipProfileOptions/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/SipProfileOptions/?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/SipProfileOptions |
|
{"hrefs": ["/api/device/cucm/SipProfileOptions/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/SipProfileOptions |
|
{"hrefs": ["/api/device/cucm/SipProfileOptions/[pkid1]", "/api/device/cucm/SipProfileOptions/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/SipProfileOptions; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/SipProfileOptions/export/ |
|
{ "hrefs":["/api/device/cucm/SipProfileOptions/[pkid1]", "/api/device/cucm/SipProfileOptions/[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/SipProfileOptions and the JSON format can be used to import instances of device/cucm/SipProfileOptions.
GET http://[host-proxy]/api/device/cucm/SipProfileOptions/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/SipProfileOptions | POST | /api/device/cucm/SipProfileOptions/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/SipProfileOptions/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/SipProfileOptions/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/SipProfileOptions. | GET | /api/device/cucm/SipProfileOptions/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/SipProfileOptions as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/SipProfileOptions/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/SipProfileOptions/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/SipProfileOptions | 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/SipProfileOptions; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/SipProfileOptions/[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/SipProfileOptions and the JSON format can be used to import instances of device/cucm/SipProfileOptions.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/SipProfileOptions/[pkid] | hierarchy=[hierarchy] | The device/cucm/SipProfileOptions instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/SipProfileOptions/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/SipProfileOptions. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/SipProfileOptions/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |