[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": { "userTemplateArray": { "is_password": false, "title": "User Template", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "Cos": { "is_password": false, "description": "Class Of Service for this User Template", "title": "Class Of Service", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "searchScope": { "is_password": false, "description": "Search Scope for this User Template", "title": "Search Scope", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "displayName": { "is_password": false, "description": "Display Name for this User Template", "title": "Display Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "partition": { "is_password": false, "description": "Partition for this User Template", "title": "Partition", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "phoneSystem": { "is_password": false, "description": "Phone System for this User Template", "title": "Phone System", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "useDefaultTimeZone": { "is_password": false, "description": "Use Default TimeZone for this User Template", "title": "Use Default TimeZone", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "sendFailedReceipts": { "is_password": false, "description": "Send Failed Receipts for this User Template", "title": "Send Failed Receipts", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "alias": { "is_password": false, "description": "Alias for this User Template", "title": "Alias", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "listInDirectory": { "is_password": false, "description": "List In Directory for this User Template", "title": "List In Directory", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "useDefaultLanguage": { "is_password": false, "description": "Use Default Language for this User Template", "title": "Use Default Language", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "isSetForVmEnrollment": { "is_password": false, "description": "Is Set For VM Enrollment for next sign-in", "title": "Is Set For VM Enrollment", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "activeSchedule": { "is_password": false, "description": "Active Schedule for this User Template", "title": "Active Schedule", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "cssArray": { "is_password": false, "title": "Calling Search Spaces", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "partitionMembersArray": { "is_password": false, "description": "The array of default partitions associated with this calling search space", "title": "Partition Members", "minItems": 0, "items": { "type": "object", "properties": { "name": { "is_password": false, "description": "The name of the partition", "title": "Route Partition Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "cssName": { "is_password": false, "description": "The name of the calling search space", "title": "CSS Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "description": "A meaningful description for this calling search space", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "name": { "is_password": false, "title": "Name", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "description": "A description for this Unity schema", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "partitionArray": { "is_password": false, "description": "Partitions for this Unity schema", "title": "Partitions", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "partitionName": { "is_password": false, "description": "The name for this partition", "title": "Partition Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "description": "A meaningful description for this partition", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "directRoutingRuleArray": { "is_password": false, "title": "Direct Routing Rule", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "searchScope": { "is_password": false, "description": "Search Scope for this Direct Routing Rule", "title": "Search Scope", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "displayName": { "is_password": false, "description": "Display Name for this Direct Routing Rule", "title": "Display Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "useCallLanguage": { "is_password": false, "description": "Use the language used by the caller for this Direct Routing Rule", "title": "Inherit Language from Caller", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "routingRuleConditionsArray": { "is_password": false, "title": "Routing Rule Conditions", "minItems": 0, "items": { "type": "object", "properties": { "operator": { "is_password": false, "title": "Operator", "required": false, "displayable": false, "choices": [ { "value": "1", "title": "in" }, { "value": "2", "title": "=" }, { "value": "3", "title": ">" }, { "value": "4", "title": "<" }, { "value": "5", "title": "<=" }, { "value": "6", "title": ">=" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "operandValue": { "is_password": false, "description": "Operand Value for this Direct Routing Rule", "title": "Operand Value", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "parameter": { "is_password": false, "title": "Parameter", "default": "2", "required": false, "displayable": false, "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" } ], "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "state": { "is_password": false, "title": "Status", "default": "0", "required": false, "displayable": false, "choices": [ { "value": "0", "title": "Active" }, { "value": "1", "title": "Inactive" }, { "value": "2", "title": "Invalid" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "sendCallTo": { "is_password": false, "title": "Send Call To", "default": "AttemptSignIn", "required": false, "displayable": false, "choices": [ { "value": "AttemptSignIn", "title": "Attempt Sign In" }, { "value": "PHTransfer", "title": "Phone Transfer" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "useDefaultLanguage": { "is_password": false, "description": "Use the system's default language for this Direct Routing Rule", "title": "Use System Default Language", "required": false, "displayable": false, "readonly": false, "type": "boolean" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "forwardRoutingRuleArray": { "is_password": false, "title": "Forward Routing Rule", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "searchScope": { "is_password": false, "description": "Search Scope for this Forward Routing Rule", "title": "Search Scope", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "displayName": { "is_password": false, "description": "Display Name for this Forward Routing Rule", "title": "Display Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "useCallLanguage": { "is_password": false, "description": "Use the language used by the caller for this Forward Routing Rule", "title": "Inherit Language from Caller", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "routingRuleConditionsArray": { "is_password": false, "description": "Routing Rule Conditions for this Forward Routing Rule", "title": "Routing Rule Conditions", "minItems": 0, "items": { "type": "object", "properties": { "operator": { "is_password": false, "title": "Operator", "required": false, "displayable": false, "choices": [ { "value": "1", "title": "in" }, { "value": "2", "title": "=" }, { "value": "3", "title": ">" }, { "value": "4", "title": "<" }, { "value": "5", "title": "<=" }, { "value": "6", "title": ">=" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "operandValue": { "is_password": false, "description": "Operand Value for this Forward Routing Rule", "title": "Operand Value", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "parameter": { "is_password": false, "title": "Parameter", "default": "2", "required": false, "displayable": false, "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" } ], "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "state": { "is_password": false, "title": "Status", "default": "0", "required": false, "displayable": false, "choices": [ { "value": "0", "title": "Active" }, { "value": "1", "title": "Inactive" }, { "value": "2", "title": "Invalid" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "sendCallTo": { "is_password": false, "title": "Send Call To", "default": "AttemptForward", "required": false, "displayable": false, "choices": [ { "value": "AttemptForward", "title": "Attempt Forward" }, { "value": "PHTransfer", "title": "Phone Transfer" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "useDefaultLanguage": { "is_password": false, "description": "Use the system's default language for this Forward Routing Rule", "title": "Use System Default Language", "required": false, "displayable": false, "readonly": false, "type": "boolean" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "tenantArray": { "is_password": false, "description": "Tenants for this Unity schema", "title": "Tenants", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "alias": { "is_password": false, "description": "Alias for this tenant", "title": "Alias", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "description": "A meaningful description for this tenant", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "smtpDomain": { "is_password": false, "description": "SMTP domain for this tenant", "title": "SMTP Domain", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "portsArray": { "is_password": false, "description": "Ports for this Unity schema", "title": "Ports", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "sendMwiRequests": { "is_password": false, "description": "Send MWI requests", "title": "Send MWI Requests", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "enabled": { "is_password": false, "description": "Is this Port enabled", "title": "Enabled", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "mediaSwitch": { "is_password": false, "description": "Phone System/Tenant for this port", "title": "Phone System", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "performMessagingNotification": { "is_password": false, "description": "Perform messaging notification on this port?", "title": "Perform Messaging Notification", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "allowTrapConnections": { "is_password": false, "description": "Allow trap connections", "title": "Allow Trap Connections", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "server": { "is_password": false, "description": "Server (domain name) for this port", "title": "Server", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "answerCalls": { "is_password": false, "description": "Answer calls on this port?", "title": "Answer Calls", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "portGroup": { "is_password": false, "description": "Port group for this port", "title": "Port Group", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "portGroupArray": { "is_password": false, "description": "Port groups for this Unity schema", "title": "Port Group", "minItems": 0, "items": { "is_password": false, "type": "object", "properties": { "displayName": { "is_password": false, "description": "Display name for this port group", "title": "Display Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "localPort": { "is_password": false, "description": "Local port for this port group that will be used for the SIP security profile.", "title": "Local Port", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "phoneSystem": { "is_password": false, "description": "Phone system for this port group", "title": "Phone System", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "hostNameIp": { "is_password": false, "description": "Host name or IPv4 address for this port group", "title": "Host Name or IP", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "portGroupType": { "is_password": false, "description": "The type of port group", "title": "Port Group Type", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "port": { "is_password": false, "description": "Remove port for this port group", "title": "Port", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } }, "required": false, "displayable": false, "readonly": false, "type": "array" } }, "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)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/HcsCucSchemaDAT/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 4 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "2.0", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/data/HcsCucSchemaDAT/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsCucSchemaDAT/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/data/HcsCucSchemaDAT/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/HcsCucSchemaDAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsCucSchemaDAT/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsCucSchemaDAT", "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute", "export", "export_bulkload_template", "help" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5dcc856656b5de001960aff7", "meta": { "tags": [ "HcsVoiceMailService", "V4UC", "ba_dcpld__SYSdotHCS" ], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcc856656b5de001960aff7", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/" } ], "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/import/", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/execute/", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/help", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsCucSchemaDAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc856656b5de001960aff7" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "name": "HcsDpAddVmPilotDedicated", "pkid": "5dcc856656b5de001960aff8", "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.", "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 } ], "hierarchy_friendly_name": "hcs (Hcs)", "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 } ], "hierarchy_path": "sys.hcs" } }, { "pkid": "5dcc8566e186e300184001d1", "meta": { "tags": [ "HcsVoiceMailService", "V4UC", "ba_dcpld__SYSdotHCS" ], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcc8566e186e300184001d1", "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/" } ], "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "import": { "support_async": true, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/import/", "title": "Import", "method": "POST", "class": "import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/execute/", "title": "Execute", "class": "execute", "method": "POST" } }, { "get": { "support_async": false, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/HcsCucSchemaDAT/5dcc8566e186e300184001d1/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/HcsCucSchemaDAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc8566e186e300184001d1" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "name": "HcsDpAddVmPilotPartitioned", "pkid": "5dcc8566e186e300184001d2", "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.", "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 } ], "hierarchy_friendly_name": "hcs (Hcs)", "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 } ], "hierarchy_path": "sys.hcs" } }, { "pkid": "5dcc856756b5de001960affa", "meta": { "tags": [ "HcsVoiceMailService", "V4UC", "ba_dcpld__SYSdotHCS" ], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcc856756b5de001960affa", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/" } ], "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/", "class": "delete", "title": "Delete" } }, { "import": { "support_async": true, "class": "import", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/import/", "method": "POST", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "method": "POST", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/execute/", "class": "execute", "title": "Execute" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/HcsCucSchemaDAT/5dcc856756b5de001960affa/help", "class": "help", "title": "Help" } } ], "model_type": "data/HcsCucSchemaDAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc856756b5de001960affa" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "cssArray": [ { "partitionMembersArray": [ { "name": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-PT" } ], "cssName": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-Vm-CSS" } ], "name": "HcsDpAssociateVmSvcToCustomerDedicated_v2", "pkid": "5dcc856756b5de001960affb", "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.", "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 }}" } ], "hierarchy_friendly_name": "hcs (Hcs)", "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" } ], "hierarchy_path": "sys.hcs" } } ] }
(Show the first instance)
{ "pkid": "5dcc856656b5de001960aff7", "meta": { "tags": [ "HcsVoiceMailService", "V4UC", "ba_dcpld__SYSdotHCS" ], "cached": false, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "2.0", "references": { "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "self": [ { "pkid": "5dcc856656b5de001960aff7", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/execute/?hierarchy=[hierarchy]", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HcsCucSchemaDAT/5dcc856656b5de001960aff7/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HcsCucSchemaDAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc856656b5de001960aff7" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "pkid": "5dcc856656b5de001960aff8", "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 } ], "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 } ], "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." } }
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. |