[Index]
Model ref.: device/cucm/TransPatternOptions
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": { "transPattern": { "name": "transPattern", "title": "Trans Pattern", "minItems": 1, "required": true, "maxItems": 1, "type": [ "object", "null" ], "properties": { "connectedNamePresentationBit": { "name": "connectedNamePresentationBit", "title": "Connected Name Presentation Bit", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "calledPartyNumberType": { "name": "calledPartyNumberType", "title": "Called Party Number Type", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callingPartyNumberType": { "name": "callingPartyNumberType", "title": "Calling Party Number Type", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callingNamePresentationBit": { "name": "callingNamePresentationBit", "title": "Calling Name Presentation Bit", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "dialPlanName": { "name": "dialPlanName", "format": "uri", "minItems": 0, "title": "Dial Plan Name", "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/DialPlan", "type": "string", "target": "/api/device/cucm/DialPlan/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "routeFilterName": { "name": "routeFilterName", "title": "Route Filter Name", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "callingPartyNumberingPlan": { "name": "callingPartyNumberingPlan", "title": "Calling Party Numbering Plan", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "releaseClause": { "name": "releaseClause", "title": "Release Clause", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "connectedLinePresentationBit": { "name": "connectedLinePresentationBit", "title": "Connected Line Presentation Bit", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "patternPrecedence": { "name": "patternPrecedence", "title": "Pattern Precedence", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "digitDiscardInstructionName": { "name": "digitDiscardInstructionName", "title": "Digit Discard Instruction Name", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "calledPartyNumberingPlan": { "name": "calledPartyNumberingPlan", "title": "Called Party Numbering Plan", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "resourcePriorityNamespaceName": { "name": "resourcePriorityNamespaceName", "title": "Resource Priority Namespace Name", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "routeClass": { "name": "routeClass", "title": "Route Class", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "usage": { "description": "For Intercom DN and Intercom Translation patterns the usage tag value needs to be specified explicitly as Device Intercom and Translation Intercom respectively. For all other patterns it is a Read-only tag.", "title": "Usage", "minItems": 0, "required": false, "maxItems": 1, "type": "string", "name": "usage" }, "callInterceptProfileName": { "name": "callInterceptProfileName", "title": "Call Intercept Profile Name", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "useCallingPartyPhoneMask": { "name": "useCallingPartyPhoneMask", "title": "Use Calling Party Phone Mask", "minItems": 0, "required": false, "maxItems": 1, "type": "string" }, "routePartitionName": { "name": "routePartitionName", "format": "uri", "minItems": 0, "title": "Route Partition Name", "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/RoutePartition", "type": "string", "target": "/api/device/cucm/RoutePartition/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "callingSearchSpaceName": { "name": "callingSearchSpaceName", "format": "uri", "minItems": 0, "title": "Calling Search Space Name", "required": false, "choices": [], "target_attr": "name", "maxItems": 1, "target_model_type": "device/cucm/Css", "type": "string", "target": "/api/device/cucm/Css/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "callingLinePresentationBit": { "name": "callingLinePresentationBit", "title": "Calling Line Presentation Bit", "minItems": 0, "required": false, "maxItems": 1, "type": "string" } } } } } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cucm/TransPatternOptions/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cucm/TransPatternOptions/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cucm/TransPatternOptions/[pkid1]", "/api/v0/device/cucm/TransPatternOptions/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cucm/TransPatternOptions/?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/TransPatternOptions |
|
{"hrefs": ["/api/device/cucm/TransPatternOptions/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cucm/TransPatternOptions |
|
{"hrefs": ["/api/device/cucm/TransPatternOptions/[pkid1]", "/api/device/cucm/TransPatternOptions/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cucm/TransPatternOptions; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cucm/TransPatternOptions/export/ |
|
{ "hrefs":["/api/device/cucm/TransPatternOptions/[pkid1]", "/api/device/cucm/TransPatternOptions/[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/TransPatternOptions and the JSON format can be used to import instances of device/cucm/TransPatternOptions.
GET http://[host-proxy]/api/device/cucm/TransPatternOptions/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cucm/TransPatternOptions | POST | /api/device/cucm/TransPatternOptions/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/TransPatternOptions/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/TransPatternOptions/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/TransPatternOptions. | GET | /api/device/cucm/TransPatternOptions/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cucm/TransPatternOptions as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cucm/TransPatternOptions/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cucm/TransPatternOptions/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cucm/TransPatternOptions | 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/TransPatternOptions; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cucm/TransPatternOptions/[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/TransPatternOptions and the JSON format can be used to import instances of device/cucm/TransPatternOptions.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cucm/TransPatternOptions/[pkid]/ | hierarchy=[hierarchy] | The device/cucm/TransPatternOptions instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cucm/TransPatternOptions/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cucm/TransPatternOptions. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cucm/TransPatternOptions/[pkid]/purge/ | hierarchy=[hierarchy] | If payload required: |