[Index]
Unity schema meta type
Model ref.: data/HcsCucSchemaDAT
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": { "name": { "title": "Name", "type": "string", "maxLength": 1024, "required": true, "readonly": false, "is_password": false, "displayable": false }, "description": { "title": "Description", "description": "A description for this Unity schema", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false, "displayable": false }, "tenantArray": { "title": "Tenants", "description": "Tenants for this Unity schema", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "alias": { "title": "Alias", "description": "Alias for this tenant", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "smtpDomain": { "title": "SMTP Domain", "description": "SMTP domain for this tenant", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "description": { "title": "Description", "description": "A meaningful description for this tenant", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false } } } }, "portGroupArray": { "title": "Port Group", "description": "Port groups for this Unity schema", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "displayName": { "title": "Display Name", "description": "Display name for this port group", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "phoneSystem": { "title": "Phone System", "description": "Phone system for this port group", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "portGroupType": { "title": "Port Group Type", "description": "The type of port group", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "hostNameIp": { "title": "Host Name or IP", "description": "Host name or IPv4 address for this port group", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "port": { "title": "Port", "description": "Remove port for this port group", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "localPort": { "title": "Local Port", "description": "Local port for this port group that will be used for the SIP security profile.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false } } } }, "portsArray": { "title": "Ports", "description": "Ports for this Unity schema", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "portGroup": { "title": "Port Group", "description": "Port group for this port", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "enabled": { "title": "Enabled", "description": "Is this Port enabled", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "mediaSwitch": { "title": "Phone System", "description": "Phone System/Tenant for this port", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "server": { "title": "Server", "description": "Server (domain name) for this port", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "answerCalls": { "title": "Answer Calls", "description": "Answer calls on this port?", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "performMessagingNotification": { "title": "Perform Messaging Notification", "description": "Perform messaging notification on this port?", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "sendMwiRequests": { "title": "Send MWI Requests", "description": "Send MWI requests", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "allowTrapConnections": { "title": "Allow Trap Connections", "description": "Allow trap connections", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false } } } }, "partitionArray": { "title": "Partitions", "description": "Partitions for this Unity schema", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "partitionName": { "title": "Partition Name", "description": "The name for this partition", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "description": { "title": "Description", "description": "A meaningful description for this partition", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false } } } }, "cssArray": { "title": "Calling Search Spaces", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "cssName": { "title": "CSS Name", "description": "The name of the calling search space", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "description": { "title": "Description", "description": "A meaningful description for this calling search space", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "partitionMembersArray": { "title": "Partition Members", "description": "The array of default partitions associated with this calling search space", "type": "array", "minItems": 0, "required": false, "readonly": false, "displayable": false, "is_password": false, "items": { "type": "object", "properties": { "name": { "title": "Route Partition Name", "description": "The name of the partition", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false } } } } } } }, "directRoutingRuleArray": { "title": "Direct Routing Rule", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "displayName": { "title": "Display Name", "description": "Display Name for this Direct Routing Rule", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "state": { "title": "Status", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false, "default": "0", "choices": [ { "value": "0", "title": "Active" }, { "value": "1", "title": "Inactive" }, { "value": "2", "title": "Invalid" } ] }, "useDefaultLanguage": { "title": "Use System Default Language", "description": "Use the system's default language for this Direct Routing Rule", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "useCallLanguage": { "title": "Inherit Language from Caller", "description": "Use the language used by the caller for this Direct Routing Rule", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "searchScope": { "title": "Search Scope", "description": "Search Scope for this Direct Routing Rule", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "sendCallTo": { "title": "Send Call To", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false, "default": "AttemptSignIn", "choices": [ { "value": "AttemptSignIn", "title": "Attempt Sign In" }, { "value": "PHTransfer", "title": "Phone Transfer" } ] }, "routingRuleConditionsArray": { "title": "Routing Rule Conditions", "type": "array", "minItems": 0, "required": false, "readonly": false, "displayable": false, "is_password": false, "items": { "type": "object", "properties": { "parameter": { "title": "Parameter", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false, "default": "2", "choices": [ { "value": "1", "title": "CallingNumber" }, { "value": "2", "title": "DialedNumber" }, { "value": "3", "title": "ForwardingStation" }, { "value": "4", "title": "Origin" }, { "value": "5", "title": "PhoneSystem" }, { "value": "6", "title": "PortID" }, { "value": "7", "title": "Reason" }, { "value": "8", "title": "Schedule" }, { "value": "9", "title": "TrunkID" } ] }, "operator": { "title": "Operator", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false, "choices": [ { "value": "1", "title": "in" }, { "value": "2", "title": "=" }, { "value": "3", "title": ">" }, { "value": "4", "title": "<" }, { "value": "5", "title": "<=" }, { "value": "6", "title": ">=" } ] }, "operandValue": { "title": "Operand Value", "description": "Operand Value for this Direct Routing Rule", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false } } } } } } }, "forwardRoutingRuleArray": { "title": "Forward Routing Rule", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "displayName": { "title": "Display Name", "description": "Display Name for this Forward Routing Rule", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "state": { "title": "Status", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false, "default": "0", "choices": [ { "value": "0", "title": "Active" }, { "value": "1", "title": "Inactive" }, { "value": "2", "title": "Invalid" } ] }, "useDefaultLanguage": { "title": "Use System Default Language", "description": "Use the system's default language for this Forward Routing Rule", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "useCallLanguage": { "title": "Inherit Language from Caller", "description": "Use the language used by the caller for this Forward Routing Rule", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "searchScope": { "title": "Search Scope", "description": "Search Scope for this Forward Routing Rule", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "sendCallTo": { "title": "Send Call To", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false, "default": "AttemptForward", "choices": [ { "value": "AttemptForward", "title": "Attempt Forward" }, { "value": "PHTransfer", "title": "Phone Transfer" } ] }, "routingRuleConditionsArray": { "title": "Routing Rule Conditions", "description": "Routing Rule Conditions for this Forward Routing Rule", "type": "array", "minItems": 0, "required": false, "readonly": false, "displayable": false, "is_password": false, "items": { "type": "object", "properties": { "parameter": { "title": "Parameter", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false, "default": "2", "choices": [ { "value": "1", "title": "CallingNumber" }, { "value": "2", "title": "DialedNumber" }, { "value": "3", "title": "ForwardingStation" }, { "value": "4", "title": "Origin" }, { "value": "5", "title": "PhoneSystem" }, { "value": "6", "title": "PortID" }, { "value": "7", "title": "Reason" }, { "value": "8", "title": "Schedule" }, { "value": "9", "title": "TrunkID" } ] }, "operator": { "title": "Operator", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false, "choices": [ { "value": "1", "title": "in" }, { "value": "2", "title": "=" }, { "value": "3", "title": ">" }, { "value": "4", "title": "<" }, { "value": "5", "title": "<=" }, { "value": "6", "title": ">=" } ] }, "operandValue": { "title": "Operand Value", "description": "Operand Value for this Forward Routing Rule", "type": "string", "maxLength": 1024, "is_password": false, "required": false, "readonly": false, "displayable": false } } } } } } }, "userTemplateArray": { "title": "User Template", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "displayable": false, "items": { "type": "object", "is_password": false, "properties": { "alias": { "title": "Alias", "description": "Alias for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "displayName": { "title": "Display Name", "description": "Display Name for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "partition": { "title": "Partition", "description": "Partition for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "searchScope": { "title": "Search Scope", "description": "Search Scope for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "phoneSystem": { "title": "Phone System", "description": "Phone System for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "Cos": { "title": "Class Of Service", "description": "Class Of Service for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "activeSchedule": { "title": "Active Schedule", "description": "Active Schedule for this User Template", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "displayable": false, "is_password": false }, "isSetForVmEnrollment": { "title": "Is Set For VM Enrollment", "description": "Is Set For VM Enrollment for next sign-in", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "listInDirectory": { "title": "List In Directory", "description": "List In Directory for this User Template", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "sendFailedReceipts": { "title": "Send Failed Receipts", "description": "Send Failed Receipts for this User Template", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "useDefaultTimeZone": { "title": "Use Default TimeZone", "description": "Use Default TimeZone for this User Template", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false }, "useDefaultLanguage": { "title": "Use Default Language", "description": "Use Default Language for this User Template", "type": "boolean", "required": false, "readonly": false, "displayable": false, "is_password": false } } } } }, "schema_version": "2.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HcsCucSchemaDAT/add/ |
|
The GUI Add form of data/HcsCucSchemaDAT 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/data/HcsCucSchemaDAT | 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/data/HcsCucSchemaDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsCucSchemaDAT/[pkid1]", "/api/data/HcsCucSchemaDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HcsCucSchemaDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HcsCucSchemaDAT/export/ |
|
{ "hrefs":["/api/data/HcsCucSchemaDAT/[pkid1]", "/api/data/HcsCucSchemaDAT/[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 data/HcsCucSchemaDAT and the JSON format can be used to import instances of data/HcsCucSchemaDAT.
GET http://[host-proxy]/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HcsCucSchemaDAT | POST | /api/data/HcsCucSchemaDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HcsCucSchemaDAT/ |
|
The data/HcsCucSchemaDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsCucSchemaDAT instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 4, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/data/HcsCucSchemaDAT/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "help", "bulk_update_form", "update", "add", "export", "get", "list", "export_bulkload_template", "migration", "remove", "move", "transform", "configuration_template", "field_display_policy" ], "meta": { "model_type": "data/HcsCucSchemaDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "unique": [ "name" ], "hierarchy": false }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute", "export", "export_bulkload_template", "help" ], "schema_version": "2.0", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/HcsCucSchemaDAT/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/HcsCucSchemaDAT/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/data/HcsCucSchemaDAT/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCucSchemaDAT/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "name": "HcsDpAddVmPilotDedicated", "directRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-DirRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptSignIn", "useDefaultLanguage": true } ], "forwardRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-FwdRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptForward", "useDefaultLanguage": true } ], "description": "Add the direct and forward routing rules when a pilot number is added to a dedicated voice mail service. Note that pwf.hcsDpVmServiceDAT and pwf.hcsDpVmPilotDAT are available in the input context.", "pkid": "5da4c98ace894e001222832e", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCucSchemaDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "HcsVoiceMailService", "V4UC", "ba_SYSdotHCS_with_hcmf" ], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5da4c643ce894e0012225c90", "href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90" } ], "foreign_key": [], "self": [ { "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/", "pkid": "5da4c98ace894e001222832d" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5da4c98ace894e001222832d" ], "schema_version": "2.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5da4c98ace894e001222832d" }, { "data": { "name": "HcsDpAddVmPilotPartitioned", "directRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-DirRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptSignIn", "useDefaultLanguage": true } ], "forwardRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-FwdRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptForward", "useDefaultLanguage": true } ], "description": "Add the direct and forward routing rules when a pilot number is added to a partitioned voice mail service. Note that pwf.hcsDpVmServiceDAT and pwf.hcsDpVmPilotDAT are available in the input context.", "pkid": "5da4c989ce894e0012228328", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCucSchemaDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "HcsVoiceMailService", "V4UC", "ba_SYSdotHCS_with_hcmf" ], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5da4c643ce894e0012225c90", "href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90" } ], "foreign_key": [], "self": [ { "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/", "pkid": "5da4c989ce894e0012228327" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5da4c989ce894e0012228327" ], "schema_version": "2.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCucSchemaDAT/5da4c989ce894e0012228327/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5da4c989ce894e0012228327" }, { "data": { "cssArray": [ { "partitionMembersArray": [ { "name": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PT" } ], "cssName": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS" } ], "name": "HcsDpAssociateVmSvcToCustomerDedicated_v2", "partitionArray": [ { "partitionName": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PT", "description": "{{ macro.HcsDpCustomerName }}" } ], "portGroupArray": [ { "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PG", "localPort": "{{ pwf.hcsDpVmServiceDAT.vmServicePort }}", "phoneSystem": "PhoneSystem", "hostNameIp": "{{ pwf.hcsDpVmServiceDAT.cucmServiceAddr }}", "portGroupType": "SIP", "port": "{{ pwf.hcsDpVmServiceDAT.cucmServicePort }}" } ], "userTemplateArray": [ { "Cos": "Voice Mail User COS", "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "Voice mail for {{ macro.HcsDpCustomerName }}", "partition": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PT", "phoneSystem": "PhoneSystem", "useDefaultTimeZone": true, "sendFailedReceipts": true, "alias": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-BasicVoiceMail-UT", "listInDirectory": true, "useDefaultLanguage": true, "isSetForVmEnrollment": true, "activeSchedule": "Weekdays" } ], "portsArray": [ { "sendMwiRequests": true, "enabled": true, "mediaSwitch": "PhoneSystem", "performMessagingNotification": true, "allowTrapConnections": true, "server": "{{ device.cuc.VmsServer.ServerName | IpAddress : pwf.hcsDpVmServiceDAT.cuc }}", "answerCalls": true, "portGroup": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PG" } ], "description": "This CUCxn schema gets deployed at the customer hierarchy node context when a dedicated VM service is associated with a customer. Note that pwf.hcsDpVmServiceDAT is be available in the input context.", "pkid": "5da4c98ace894e0012228331", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCucSchemaDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "HcsVoiceMailService", "V4UC", "ba_SYSdotHCS_with_hcmf" ], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5da4c643ce894e0012225c90", "href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90" } ], "foreign_key": [], "self": [ { "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/", "pkid": "5da4c98ace894e0012228330" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5da4c98ace894e0012228330" ], "schema_version": "2.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e0012228330/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5da4c98ace894e0012228330" } ] }
(Show the first instance)
{ "data": { "name": "HcsDpAddVmPilotDedicated", "directRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-DirRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptSignIn", "useDefaultLanguage": true } ], "forwardRoutingRuleArray": [ { "searchScope": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS", "displayName": "{{ macro.HcsDpUniqueCustomerPrefixMCR}}-{{ pwf.hcsDpVmPilotDAT.voiceMailService }}-{{ pwf.hcsDpVmPilotDAT.pilotNumber }}-FwdRule", "useCallLanguage": true, "routingRuleConditionsArray": [ { "operator": "2", "operandValue": "{{ pwf.hcsDpVmPilotDAT.pilotNumber }}", "parameter": "2" } ], "state": "0", "sendCallTo": "AttemptForward", "useDefaultLanguage": true } ], "description": "Add the direct and forward routing rules when a pilot number is added to a dedicated voice mail service. Note that pwf.hcsDpVmServiceDAT and pwf.hcsDpVmPilotDAT are available in the input context.", "pkid": "5da4c98ace894e001222832e" }, "meta": { "model_type": "data/HcsCucSchemaDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "HcsVoiceMailService", "V4UC", "ba_SYSdotHCS_with_hcmf" ], "title": "title format", "business_key": { "unique": [ "name" ], "hierarchy": false }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90", "pkid": "5da4c643ce894e0012225c90" } ], "foreign_key": [], "children": [], "self": [ { "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/", "pkid": "5da4c98ace894e001222832d" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5da4c643ce894e0012225c90", "5da4c98ace894e001222832d" ], "schema_version": "2.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/import/?hierarchy=[hierarchy]", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/execute/?hierarchy=[hierarchy]", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCucSchemaDAT/5da4c98ace894e001222832d/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "5da4c98ace894e001222832d" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HcsCucSchemaDAT. | GET | /api/data/HcsCucSchemaDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HcsCucSchemaDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HcsCucSchemaDAT/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HcsCucSchemaDAT/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HcsCucSchemaDAT/[pkid]/import | 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 data/HcsCucSchemaDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HcsCucSchemaDAT/[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 data/HcsCucSchemaDAT and the JSON format can be used to import instances of data/HcsCucSchemaDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/HcsCucSchemaDAT/[pkid]/execute | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HcsCucSchemaDAT/[pkid] | hierarchy=[hierarchy] | The data/HcsCucSchemaDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HcsCucSchemaDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HcsCucSchemaDAT. |