[Index]
Model ref.: device/cuc/DirectoryHandler
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": { "ExitTargetConversation": { "minItems": 0, "title": "Exit Target Conversation", "type": "string", "description": " The name of the conversation to which the caller is routed.", "name": "ExitTargetConversation" }, "VoiceName": { "minItems": 0, "title": "Voice Name", "type": "string", "description": " The name of the WAV file containing the recorded audio (voice name, greeting, etc.) for the parent object.", "name": "VoiceName" }, "SearchScope": { "minItems": 0, "title": "Search Scope", "type": "integer", "description": " The scope of the directory that Cisco Unity Connection will search.", "name": "SearchScope" }, "PartitionURI": { "minItems": 0, "title": "Partition URI", "type": "string", "name": "PartitionURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "NoSelectionTargetConversation": { "minItems": 0, "title": "No Selection Target Conversation", "type": "string", "description": " The name of the conversation to which the caller is routed.", "name": "NoSelectionTargetConversation" }, "ScopeObjectSearchSpaceURI": { "minItems": 0, "title": "Scope Object Search Space URI", "type": "string", "name": "ScopeObjectSearchSpaceURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "ExitTargetHandlerObjectId": { "minItems": 0, "title": "Exit Target Handler Object Id", "type": "string", "description": " The unique identifier of the specific object to send along to the target conversation.", "name": "ExitTargetHandlerObjectId" }, "NoInputTargetHandlerObjectId": { "minItems": 0, "title": "No Input Target Handler Object Id", "type": "string", "description": " The unique identifier of the specific object to send along to the target conversation.", "name": "NoInputTargetHandlerObjectId" }, "ZeroTargetConversation": { "minItems": 0, "title": "Zero Target Conversation", "type": "string", "description": " The name of the conversation to which the caller is routed.", "name": "ZeroTargetConversation" }, "SearchScopeObjectId": { "minItems": 0, "title": "Search Scope Object Id", "type": "string", "description": "The three possible object references are coalesced into this column for backwards compatibility.", "name": "SearchScopeObjectId" }, "NoSelectionTargetHandlerObjectId": { "minItems": 0, "title": "No Selection Target Handler Object Id", "type": "string", "description": " The unique identifier of the specific object to send along to the target conversation.", "name": "NoSelectionTargetHandlerObjectId" }, "ExitAction": { "minItems": 0, "title": "Exit Action", "type": "integer", "description": " The type of call action to take, e.g., hang-up, goto another object, etc.", "name": "ExitAction" }, "UseStarToExit": { "minItems": 0, "title": "Use Star To Exit", "type": "boolean", "description": " A flag indicating the key on the phone to use for \"exit the directory.\" This controls whether the directory handler uses star (\"*\") to exit (like the rest of the conversation) or pound/hash (\"#\") to exit.", "name": "UseStarToExit" }, "ScopeObjectSearchSpaceObjectId": { "minItems": 0, "title": "Scope Object Search Space Object Id", "type": "string", "description": " The unique identifier of the SearchSpace which can act as filter for the DirectoryHandler.", "name": "ScopeObjectSearchSpaceObjectId" }, "NoSelectionConversationURI": { "title": "No Selection Conversation URI", "type": "string", "description": "The URI to fetch the conversations for the no selectioncall action.", "name": "NoSelectionConversationURI" }, "PartitionObjectId": { "minItems": 0, "title": "Partition Object Id", "type": "string", "description": " The unique identifier of the Partition to which the Call Handler, Directory Handler, or InterviewHandler is assigned.", "name": "PartitionObjectId" }, "Language": { "minItems": 0, "title": "Language", "type": "integer", "description": " The Windows Locale ID (LCID) which identifies the language that Cisco Unity Connection plays the handler system prompts.", "name": "Language" }, "NoInputConversationURI": { "title": "No Input Conversation URI", "type": "string", "description": "The URI to fetch the conversations for the no input call action.", "name": "NoInputConversationURI" }, "UseCallLanguage": { "minItems": 0, "title": "Use Call Language", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection will use the language assigned to the call.", "name": "UseCallLanguage" }, "NoSelectionAction": { "minItems": 0, "title": "No Selection Action", "type": "integer", "description": " The type of call action to take, e.g., hang-up, goto another object, etc.", "name": "NoSelectionAction" }, "SpeechConfidenceThreshold": { "minItems": 0, "title": "Speech Confidence Threshold", "type": "integer", "description": " When the engine matches a spoken phrase, it associates a confidence level with that conclusion. This parameter determines what confidence level should be considered a successful match. A higher value means the engine is will report fewer successful matches, but it will be more confident in the matches that it reports.", "name": "SpeechConfidenceThreshold" }, "VoiceNameURI": { "minItems": 0, "title": "Voice Name URI", "type": "string", "name": "VoiceNameURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "ScopeObjectLocationObjectId": { "description": " The unique identifier of the location which acts as the filter for the directory handler.", "title": "Scope Object Location Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ScopeObjectLocationObjectId" }, "Tries": { "minItems": 0, "title": "Tries", "type": "integer", "description": " The number of times Cisco Unity Connection will reprompt the caller for input, e.g. dial name. ", "name": "Tries" }, "LocationObjectId": { "description": " The unique identifier of the Location object to which this handler belongs.", "title": "Location Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "LocationObjectId" }, "ExitConversationURI": { "title": "Exit Conversation URI", "type": "string", "description": "The URI to fetch the conversations for the exit call action.", "name": "ExitConversationURI" }, "UseDefaultLanguage": { "minItems": 0, "title": "Use Default Language", "type": "boolean", "description": "A flag indicating whether the language for this directory handler is derived from the directory handler object attribute or the default language from the location to which the directory handler belongs. Always use the Language column - if this is set, then the column Language is being derived directly from the location.", "name": "UseDefaultLanguage" }, "ScopeObjectDistributionListObjectId": { "minItems": 0, "title": "Scope Object Distribution List Object Id", "type": "string", "description": " The unique identifier of the distribution list which acts as the filter for the directory handler.", "name": "ScopeObjectDistributionListObjectId" }, "DisplayName": { "minItems": 0, "title": "Display Name", "type": "string", "description": " The text name of the handler to be used when displaying entries in the administrative console, e.g. Cisco Unity Connection Administration. For example, the display name for the default opening greeting call handler is \"Opening Greeting.\"", "name": "DisplayName" }, "MaxMatches": { "minItems": 0, "title": "Max Matches", "type": "integer", "description": " The number of matches, that if exceeded, will result in Cisco Unity Connection prompting the caller to dial more letters.", "name": "MaxMatches" }, "NoInputAction": { "minItems": 0, "title": "No Input Action", "type": "integer", "description": " The type of call action to take, e.g., hang-up, goto another object, etc.", "name": "NoInputAction" }, "SayCity": { "minItems": 0, "title": "Say City", "type": "boolean", "description": " A flag indicating if the user's city is voiced when a match is voiced.", "name": "SayCity" }, "NoInputTargetConversation": { "minItems": 0, "title": "No Input Target Conversation", "type": "string", "description": " The name of the conversation to which the caller is routed.", "name": "NoInputTargetConversation" }, "StartDialDelay": { "minItems": 0, "title": "Start Dial Delay", "type": "integer", "description": " The amount of time (in seconds) that Cisco Unity Connection waits for the caller to start dialing. \n\nTime to wait for caller to start dialing in seconds. This is controlled on the SA's Caller Input 'timeout if no input in seconds' setting.", "name": "StartDialDelay" }, "ObjectId": { "description": " The primary key for this table. A globally unique, system-generated identifier for a DirectoryHandler object. - template parameter [1]", "title": "Object Id", "minItems": 0, "readonly": true, "type": "string", "name": "ObjectId" }, "CreationTime": { "description": " The date and time the handler is created.", "title": "Creation Time", "minItems": 0, "readonly": true, "type": "string", "name": "CreationTime" }, "ZeroExitConversationURI": { "title": "Zero Exit Conversation URI", "type": "string", "description": "The URI to fetch the active conversations for the zero exit call action.", "name": "ZeroExitConversationURI" }, "URI": { "minItems": 0, "title": "URI", "type": "string", "name": "URI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "PlayAllNames": { "minItems": 0, "title": "Play All Names", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection plays the names of subscribers in the directory for caller selection, rather than requiring the caller to search by spelled name. \n\n", "name": "PlayAllNames" }, "ZeroTargetHandlerObjectId": { "minItems": 0, "title": "Zero Target Handler Object Id", "type": "string", "description": " The unique identifier of the specific object to send along to the target conversation.", "name": "ZeroTargetHandlerObjectId" }, "ScopeObjectDistributionListURI": { "minItems": 0, "title": "Scope Object Distribution List URI", "type": "string", "name": "ScopeObjectDistributionListURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "TenantObjectId": { "minItems": 0, "title": "Tenant Object Id", "type": "string", "description": " Unique ObjectId of the tbl_Tenant", "name": "TenantObjectId" }, "ScopeObjectCosObjectId": { "minItems": 0, "title": "Scope Object Cos Object Id", "type": "string", "description": " The unique identifier of the COS which acts as the filter for the directory handler.", "name": "ScopeObjectCosObjectId" }, "UseCustomGreeting": { "minItems": 0, "title": "Use Custom Greeting", "type": "boolean", "description": " Indicates whether to use the directory handler's custom greeting or the system prompt.", "name": "UseCustomGreeting" }, "Undeletable": { "minItems": 0, "title": "Undeletable", "type": "boolean", "description": " A flag indicating whether this handler can be deleted via an administrative application such as Cisco Unity Connection Administration. It is used to prevent deletion of factory defaults.", "name": "Undeletable" }, "AutoRoute": { "minItems": 0, "title": "Auto Route", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection will automatically route a call to the extension assigned to the subscriber on a unique match without prompting the caller to verify the match; or to present a list of matches, even if only one, and prompt the user to verify the match. ", "name": "AutoRoute" }, "VoiceFileURI": { "minItems": 0, "title": "Voice File URI", "type": "string", "name": "VoiceFileURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "SayExtension": { "minItems": 0, "title": "Say Extension", "type": "boolean", "description": " A flag indicating whether Cisco Unity Connection provides a menu of subscriber names including extensions, or just subscriber names.", "name": "SayExtension" }, "MenuStyle": { "minItems": 0, "title": "Menu Style", "type": "boolean", "description": " A flag indicating how Cisco Unity Connection presents directory matches to callers - either in \"menu choice\" or \"extension list\" format.\n", "name": "MenuStyle" }, "EndDialDelay": { "minItems": 0, "title": "End Dial Delay", "type": "integer", "description": " The amount of time (in seconds) that Cisco Unity Connection waits after caller input before performing the action indicated by the input.", "name": "EndDialDelay" }, "ScopeObjectLocationURI": { "minItems": 0, "title": "Scope Object Location URI", "type": "string", "name": "ScopeObjectLocationURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "DtmfAccessId": { "minItems": 0, "title": "Dtmf Access Id", "type": "string", "description": " The dialable number.", "name": "DtmfAccessId" }, "VoiceEnabled": { "minItems": 0, "title": "Voice Enabled", "type": "boolean", "description": " A flag indicating whether the directory handler will use voice based addressing rather than touchtones.", "name": "VoiceEnabled" }, "SayDepartment": { "minItems": 0, "title": "Say Department", "type": "boolean", "description": " A flag indicating if the user's department is voiced when a match is voiced.", "name": "SayDepartment" }, "ZeroAction": { "minItems": 0, "title": "Zero Action", "type": "integer", "description": " The type of call action to take, e.g., hang-up, goto another object, etc.", "name": "ZeroAction" }, "ScopeObjectCosURI": { "minItems": 0, "title": "Scope Object Cos URI", "type": "string", "name": "ScopeObjectCosURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "DirectoryHandlerStreamFileURI": { "title": "Directory Handler Stream File URI", "type": "string", "description": "The URI to fetch the directory handler stream files.", "name": "DirectoryHandlerStreamFileURI" }, "SearchByFirstName": { "minItems": 0, "title": "Search By First Name", "type": "boolean", "description": " A flag indicating whether a directory handler searches for subscribers by using first name first, or last name first.", "name": "SearchByFirstName" }, "LocationURI": { "minItems": 0, "title": "Location URI", "type": "string", "name": "LocationURI", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] } }, "schema_version": "14.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/cuc/DirectoryHandler/add/ |
|
The GUI Add form of device/cuc/DirectoryHandler 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/DirectoryHandler | 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/DirectoryHandler/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/cuc/DirectoryHandler/[pkid1]", "/api/device/cuc/DirectoryHandler/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/cuc/DirectoryHandler/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/cuc/DirectoryHandler/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/cuc/DirectoryHandler/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/cuc/DirectoryHandler/[pkid1]", "/api/v0/device/cuc/DirectoryHandler/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/cuc/DirectoryHandler/?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/DirectoryHandler |
|
{"hrefs": ["/api/device/cuc/DirectoryHandler/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/cuc/DirectoryHandler |
|
{"hrefs": ["/api/device/cuc/DirectoryHandler/[pkid1]", "/api/device/cuc/DirectoryHandler/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/cuc/DirectoryHandler; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/cuc/DirectoryHandler/export/ |
|
{ "hrefs":["/api/device/cuc/DirectoryHandler/[pkid1]", "/api/device/cuc/DirectoryHandler/[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/DirectoryHandler and the JSON format can be used to import instances of device/cuc/DirectoryHandler.
GET http://[host-proxy]/api/device/cuc/DirectoryHandler/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/cuc/DirectoryHandler | POST | /api/device/cuc/DirectoryHandler/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/DirectoryHandler/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/DirectoryHandler/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/cuc/DirectoryHandler/ |
|
The device/cuc/DirectoryHandler schema and all instances as JSON. |
(The list will return 0 to 3 device/cuc/DirectoryHandler instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 2, "total_limit": null, "order_by": "DisplayName", "direction": "asc", "current": "/api/device/cuc/DirectoryHandler/?skip=0&limit=3&order_by=DisplayName&direction=asc&traversal=down" }, "operations": [ "move" ], "meta": { "model_type": "device/cuc/DirectoryHandler", "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add", "list", "update", "get", "remove", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "help", "move" ], "schema_version": "14.0", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/device/cuc/DirectoryHandler/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cuc/DirectoryHandler/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/device/cuc/DirectoryHandler/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/cuc/DirectoryHandler", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "POST", "class": "export", "href": "/api/device/cuc/DirectoryHandler/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/device/cuc/DirectoryHandler/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/device/cuc/DirectoryHandler/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/device/cuc/DirectoryHandler/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/device/cuc/DirectoryHandler/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cuc/DirectoryHandler/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cuc/DirectoryHandler/purge/?hierarchy=[hierarchy]", "support_async": false, "title": "Purge" } } ] }, "resources": [ { "data": { "ExitTargetConversation": "PHTransfer", "VoiceName": "cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SearchScope": 0, "PartitionURI": "/vmrest/partitions/29335726-0914-46d5-8605-16d626c7dc7b", "NoSelectionTargetConversation": "PHTransfer", "CreationTime": "2018-02-15T15:05:48Z", "ExitTargetHandlerObjectId": "8ead92f5-f9ed-412a-a371-e7915e42be95", "NoInputTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ZeroTargetConversation": "PHTransfer", "SearchScopeObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "NoSelectionTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ExitAction": 2, "UseStarToExit": true, "NoSelectionConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoselection%20is%201)", "PartitionObjectId": "29335726-0914-46d5-8605-16d626c7dc7b", "Language": 1033, "NoInputConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoinput%20is%201)", "UseCallLanguage": true, "NoSelectionAction": 2, "SpeechConfidenceThreshold": 10, "VoiceNameURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/voicename", "ScopeObjectLocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "Tries": 1, "LocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "ExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerexit%20is%201)", "UseDefaultLanguage": true, "DisplayName": "System Directory Handler", "MaxMatches": 8, "NoInputAction": 2, "SayCity": false, "NoInputTargetConversation": "PHTransfer", "StartDialDelay": 5, "ObjectId": "b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "ZeroExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerzeroexit%20is%201)", "URI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "PlayAllNames": false, "ZeroTargetHandlerObjectId": "665e0113-d95d-4ced-be91-c4df9e43f984", "UseCustomGreeting": false, "ZeroAction": 2, "Undeletable": true, "AutoRoute": false, "VoiceFileURI": "/vmrest/voicefiles/cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SayExtension": true, "MenuStyle": true, "EndDialDelay": 4, "ScopeObjectLocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "DtmfAccessId": "555", "VoiceEnabled": false, "SayDepartment": false, "DirectoryHandlerStreamFileURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/directoryhandlerstreamfiles", "SearchByFirstName": false, "LocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "summary_device": "Dedicated CUCxn, 192.168.100.20, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "device/cuc/DirectoryHandler", "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "System Directory Handler", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/UnityConnection/5ae89ee8affa931cce38c5a8", "pkid": "5ae89ee8affa931cce38c5a8" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [], "self": [ { "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/", "pkid": "5ae89f88affa931cce38ea8e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f88affa931cce38ea8e" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae89f88affa931cce38ea8e/?model_type=device/cuc/DirectoryHandler", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/help", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/purge/", "support_async": false, "title": "Purge" } } ], "summary": "false" }, "pkid": "5ae89f88affa931cce38ea8e" }, { "data": { "ExitTargetConversation": "PHTransfer", "VoiceName": "cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SearchScope": 0, "PartitionURI": "/vmrest/partitions/29335726-0914-46d5-8605-16d626c7dc7b", "NoSelectionTargetConversation": "PHTransfer", "CreationTime": "2018-02-15T15:05:48Z", "ExitTargetHandlerObjectId": "8ead92f5-f9ed-412a-a371-e7915e42be95", "NoInputTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ZeroTargetConversation": "PHTransfer", "SearchScopeObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "NoSelectionTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ExitAction": 2, "UseStarToExit": true, "NoSelectionConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoselection%20is%201)", "PartitionObjectId": "29335726-0914-46d5-8605-16d626c7dc7b", "Language": 1033, "NoInputConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoinput%20is%201)", "UseCallLanguage": true, "NoSelectionAction": 2, "SpeechConfidenceThreshold": 10, "VoiceNameURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/voicename", "ScopeObjectLocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "Tries": 1, "LocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "ExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerexit%20is%201)", "UseDefaultLanguage": true, "DisplayName": "System Directory Handler", "MaxMatches": 8, "NoInputAction": 2, "SayCity": false, "NoInputTargetConversation": "PHTransfer", "StartDialDelay": 5, "ObjectId": "b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "ZeroExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerzeroexit%20is%201)", "URI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "PlayAllNames": false, "ZeroTargetHandlerObjectId": "665e0113-d95d-4ced-be91-c4df9e43f984", "UseCustomGreeting": false, "ZeroAction": 2, "Undeletable": true, "AutoRoute": false, "VoiceFileURI": "/vmrest/voicefiles/cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SayExtension": true, "MenuStyle": true, "EndDialDelay": 4, "ScopeObjectLocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "DtmfAccessId": "555", "VoiceEnabled": false, "SayDepartment": false, "DirectoryHandlerStreamFileURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/directoryhandlerstreamfiles", "SearchByFirstName": false, "LocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "summary_device": "Dedicated CUCxn, 192.168.100.21, 8443, hcs.CS-P.CS-AB.AB_Group", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "device/cuc/DirectoryHandler", "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "System Directory Handler", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "/api/v0/data/UnityConnection/5ae89ef8affa931cce38ca95", "pkid": "5ae89ef8affa931cce38ca95" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [], "self": [ { "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/", "pkid": "5ae89f9faffa931cce38eef1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f9faffa931cce38eef1" ], "schema_version": "", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae89f9faffa931cce38eef1/?model_type=device/cuc/DirectoryHandler", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/" } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/help", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cuc/DirectoryHandler/5ae89f9faffa931cce38eef1/purge/", "support_async": false, "title": "Purge" } } ], "summary": "false" }, "pkid": "5ae89f9faffa931cce38eef1" } ] }
(Show the first instance)
{ "data": { "ExitTargetConversation": "PHTransfer", "VoiceName": "cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SearchScope": 0, "PartitionURI": "/vmrest/partitions/29335726-0914-46d5-8605-16d626c7dc7b", "NoSelectionTargetConversation": "PHTransfer", "ExitTargetHandlerObjectId": "8ead92f5-f9ed-412a-a371-e7915e42be95", "NoInputTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ZeroTargetConversation": "PHTransfer", "SearchScopeObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "NoSelectionTargetHandlerObjectId": "4861754a-7855-4044-b899-f08e4cba66f1", "ExitAction": 2, "UseStarToExit": true, "NoSelectionConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoselection%20is%201)", "PartitionObjectId": "29335726-0914-46d5-8605-16d626c7dc7b", "ObjectId": "b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "NoInputConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlernoinput%20is%201)", "UseCallLanguage": true, "NoSelectionAction": 2, "SayDepartment": false, "VoiceNameURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/voicename", "ScopeObjectLocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "Tries": 1, "LocationObjectId": "93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "ExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerexit%20is%201)", "UseDefaultLanguage": true, "DisplayName": "System Directory Handler", "MaxMatches": 8, "NoInputAction": 2, "SayCity": false, "NoInputTargetConversation": "PHTransfer", "StartDialDelay": 5, "Language": 1033, "CreationTime": "2018-02-15T15:05:48Z", "ZeroExitConversationURI": "/vmrest/conversations?query=(cnvdirectoryhandlerzeroexit%20is%201)", "URI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8", "PlayAllNames": false, "ZeroTargetHandlerObjectId": "665e0113-d95d-4ced-be91-c4df9e43f984", "UseCustomGreeting": false, "Undeletable": true, "AutoRoute": false, "VoiceFileURI": "/vmrest/voicefiles/cc6eb264-3302-4f8f-945a-ec03e039fb25.wav", "SayExtension": true, "MenuStyle": true, "EndDialDelay": 4, "ScopeObjectLocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2", "DtmfAccessId": "555", "VoiceEnabled": false, "SpeechConfidenceThreshold": 10, "ZeroAction": 2, "DirectoryHandlerStreamFileURI": "/vmrest/handlers/directoryhandlers/b8eabf62-4e2a-458b-a047-5c173f5d7ca8/directoryhandlerstreamfiles", "SearchByFirstName": false, "LocationURI": "/vmrest/locations/connectionlocations/93ef0f3b-966c-45a7-ab0b-2fc9dfb47cb2" }, "meta": { "model_type": "device/cuc/DirectoryHandler", "summary_attrs": [ { "name": "DisplayName", "title": "Display Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true }, { "name": "summary_device", "title": "Device", "allow_filtering": false } ], "tagged_versions": [], "tags": [], "title": "System Directory Handler", "business_key": {}, "api_version": "21.2", "cached": true, "cache_control_policy": "cache_then_device", "references": { "device": [ { "href": "/api/v0/data/UnityConnection/5ae89ee8affa931cce38c5a8", "pkid": "5ae89ee8affa931cce38c5a8" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523", "pkid": "5ae89ea2affa931cce38a523" } ], "foreign_key": [], "children": [], "self": [ { "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/", "pkid": "5ae89f88affa931cce38ea8e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f88affa931cce38ea8e" ], "schema_version": "11.5", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "move": { "method": "POST", "class": "move", "href": "/api/tool/DataMove/5ae89f88affa931cce38ea8e/?hierarchy=[hierarchy]&model_type=device/cuc/DirectoryHandler", "support_async": true, "title": "Move", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "method": "GET", "class": "export", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "purge": { "method": "POST", "class": "purge", "href": "/api/device/cuc/DirectoryHandler/5ae89f88affa931cce38ea8e/purge/?hierarchy=[hierarchy]", "support_async": false, "title": "Purge" } } ] }, "pkid": "5ae89f88affa931cce38ea8e" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/cuc/DirectoryHandler. | GET | /api/device/cuc/DirectoryHandler/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/cuc/DirectoryHandler as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Purge | POST | /api/device/cuc/DirectoryHandler/purge/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/cuc/DirectoryHandler/[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/DirectoryHandler/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/cuc/DirectoryHandler/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/cuc/DirectoryHandler/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/cuc/DirectoryHandler | 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/DirectoryHandler; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/cuc/DirectoryHandler/[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/DirectoryHandler and the JSON format can be used to import instances of device/cuc/DirectoryHandler.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/cuc/DirectoryHandler/[pkid] | hierarchy=[hierarchy] | The device/cuc/DirectoryHandler instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/cuc/DirectoryHandler/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/cuc/DirectoryHandler. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/cuc/DirectoryHandler/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |