[Index]
doc
Model ref.: data/DialPlan
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": { "DialPlanName": { "readonly": false, "required": true, "type": "string", "is_password": false }, "AddCucmPartitions": { "is_password": false, "title": "Add Cucm Partitions", "items": { "is_password": false, "type": "object", "properties": { "CucmPT": { "is_password": false, "title": "Partition Name", "required": false, "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCucmCSS": { "is_password": false, "title": "Add Cucm CSS's", "items": { "is_password": false, "type": "object", "properties": { "CucmCSS": { "is_password": false, "title": "CSS Name", "required": false, "readonly": false, "type": "string" }, "CucmPartition": { "is_password": false, "title": "Member Partition", "items": { "type": "object", "properties": { "CucmMemPT": { "is_password": false, "title": "Member Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "array" } } }, "required": false, "readonly": false, "type": "array" }, "AddCucmTP": { "is_password": false, "title": "Add Cucm Translation Patterns", "items": { "is_password": false, "type": "object", "properties": { "Pattern": { "readonly": false, "required": false, "type": "string", "is_password": false }, "CucmTPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" }, "CucmTPCSS": { "is_password": false, "title": "CSS", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCucmRP": { "is_password": false, "title": "Add Cucm Route Patterns", "items": { "is_password": false, "type": "object", "properties": { "CucmRP": { "is_password": false, "title": "Route Pattern", "required": false, "readonly": false, "type": "string" }, "CucmRPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCucmCalledXformation": { "is_password": false, "title": "Add Cucm Called Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CucmDNISXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CucmDNISXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCucmCallingXformation": { "is_password": false, "title": "Add Cucm Calling Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CucmANIXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CucmANIXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryPartitions": { "is_password": false, "title": "Add Country Partitions", "items": { "is_password": false, "type": "object", "properties": { "CountryPT": { "is_password": false, "title": "Partition Name", "required": false, "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryCSS": { "is_password": false, "title": "Add Country CSS's", "items": { "is_password": false, "type": "object", "properties": { "CountryCSS": { "is_password": false, "title": "CSS Name", "required": false, "readonly": false, "type": "string" }, "CountryPartition": { "is_password": false, "title": "Member Partition", "items": { "type": "object", "properties": { "CountryMemPT": { "is_password": false, "title": "Member Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "array" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryTP": { "is_password": false, "title": "Add Country Translation Patterns", "items": { "is_password": false, "type": "object", "properties": { "Pattern": { "readonly": false, "required": false, "type": "string", "is_password": false }, "CountryTPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" }, "CountryTPCSS": { "is_password": false, "title": "CSS", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryRP": { "is_password": false, "title": "Add Country Route Patterns", "items": { "is_password": false, "type": "object", "properties": { "CountryRP": { "is_password": false, "title": "Route Pattern", "required": false, "readonly": false, "type": "string" }, "CountryRPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryCalledXformation": { "is_password": false, "title": "Add Country Called Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CountryDNISXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CountryDNISXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCountryCallingXformation": { "is_password": false, "title": "Add Country Calling Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CountryANIXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CountryANIXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerPartitions": { "is_password": false, "title": "Add Customer Partitions", "items": { "is_password": false, "type": "object", "properties": { "CustPT": { "is_password": false, "title": "Partition Name", "required": false, "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerCSS": { "is_password": false, "title": "Add Customer CSS's", "items": { "is_password": false, "type": "object", "properties": { "CustCSS": { "is_password": false, "title": "CSS Name", "required": false, "readonly": false, "type": "string" }, "CustPartition": { "is_password": false, "title": "Member Partition", "items": { "type": "object", "properties": { "CustMemPT": { "is_password": false, "title": "Member Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "array" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerTP": { "is_password": false, "title": "Add Customer Translation Patterns", "items": { "is_password": false, "type": "object", "properties": { "Pattern": { "readonly": false, "required": false, "type": "string", "is_password": false }, "CustTPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" }, "CustTPCSS": { "is_password": false, "title": "CSS", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerRP": { "is_password": false, "title": "Add Customer Route Patterns", "items": { "is_password": false, "type": "object", "properties": { "CustRP": { "is_password": false, "title": "Route Pattern", "required": false, "readonly": false, "type": "string" }, "CustRPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerCalledXformation": { "is_password": false, "title": "Add Customer Called Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CustDNISXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CustDNISXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddCustomerCallingXformation": { "is_password": false, "title": "Add Customer Calling Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "CustANIXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "CustANIXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddSitePartitions": { "is_password": false, "title": "Add Site Partitions", "items": { "is_password": false, "type": "object", "properties": { "SitePT": { "is_password": false, "title": "Partition Name", "required": false, "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddSiteCSS": { "is_password": false, "title": "Add Site CSS's", "items": { "is_password": false, "type": "object", "properties": { "SiteCSS": { "is_password": false, "title": "CSS Name", "required": false, "readonly": false, "type": "string" }, "SitePartition": { "is_password": false, "title": "Member Partition", "items": { "type": "object", "properties": { "SiteMemPT": { "is_password": false, "title": "Member Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "array" } } }, "required": false, "readonly": false, "type": "array" }, "AddSiteTP": { "is_password": false, "title": "Add Site Translation Patterns", "items": { "is_password": false, "type": "object", "properties": { "Pattern": { "readonly": false, "required": false, "type": "string", "is_password": false }, "SiteTPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" }, "SiteTPCSS": { "is_password": false, "title": "CSS", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddSiteRP": { "is_password": false, "title": "Add Site Route Patterns", "items": { "is_password": false, "type": "object", "properties": { "SiteRP": { "is_password": false, "title": "Route Pattern", "required": false, "readonly": false, "type": "string" }, "SiteRPPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddSiteCalledXformation": { "is_password": false, "title": "Add Site Called Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "SiteDNISXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "SiteDNISXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" }, "AddSiteCallingXformation": { "is_password": false, "title": "Add Site Calling Party Transformations", "items": { "is_password": false, "type": "object", "properties": { "SiteANIXF": { "is_password": false, "title": "Pattern", "required": false, "readonly": false, "type": "string" }, "SiteANIXFPT": { "is_password": false, "title": "Partition", "required": false, "choices": [ { "value": "Partition", "title": "Partition" } ], "readonly": false, "type": "string" } } }, "required": false, "readonly": false, "type": "array" } }, "schema_version": "1.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/DialPlan/add/ |
|
The GUI Add form of data/DialPlan 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/DialPlan | 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/DialPlan/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/DialPlan/[pkid1]", "/api/data/DialPlan/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/DialPlan/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/DialPlan; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/DialPlan/export/ |
|
{ "hrefs":["/api/data/DialPlan/[pkid1]", "/api/data/DialPlan/[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/DialPlan and the JSON format can be used to import instances of data/DialPlan.
GET http://[host-proxy]/api/data/DialPlan/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/DialPlan | POST | /api/data/DialPlan/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/DialPlan/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/DialPlan/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/DialPlan/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/DialPlan/ |
|
The data/DialPlan schema and all instances as JSON. |
(The list will return 0 to 3 data/DialPlan instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 1, "total_limit": null, "order_by": "DialPlanName", "direction": "asc", "current": "/api/data/DialPlan/?skip=0&limit=3&order_by=DialPlanName&direction=asc&traversal=down" }, "operations": [ "field_display_policy", "update", "help", "remove", "move", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/DialPlan", "summary_attrs": [ { "name": "DialPlanName", "title": "Dialplanname" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "hierarchy": true, "unique": [ "DialPlanName" ] }, "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", "export_bulkload_template", "bulk_update", "configuration_template", "field_display_policy", "export", "migration", "help" ], "schema_version": "1.1", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/DialPlan/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/DialPlan/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/DialPlan/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/DialPlan/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/DialPlan/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/DialPlan/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/DialPlan/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/DialPlan/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/DialPlan/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "bulk_update": { "method": "POST", "class": "update", "href": "/api/data/DialPlan/bulk_update/?hierarchy=[hierarchy]", "support_async": true, "title": "Bulk Modify" } } ] }, "resources": [ { "data": { "AddCucmCSS": [ { "CucmCSS": "InterSiteRoutingCSS", "CucmPartition": [ { "CucmMemPT": "InterSiteRoutingPT" } ] } ], "DialPlanName": "VOSS-DEMO-DialPlan", "AddSitePartitions": [ { "SitePT": "AllowInternal-{{macro.SITENAME}}" }, { "SitePT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SitePT": "EmerCalls-{{macro.SITENAME}}" }, { "SitePT": "Site-{{macro.SITENAME}}" } ], "AddCucmPartitions": [ { "CucmPT": "InterSiteRoutingPT" } ], "AddCountryPartitions": [ { "CountryPT": "AllowIntl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowMobl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowNatl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowSVC24Hr-{{macro.COUNTRY}}" } ], "AddSiteTP": [ { "Pattern": "{{macro.SITECODE}}{{macro.SITEMASK}}", "SiteTPCSS": "IncomingToSite-{{macro.SITENAME}}", "SiteTPPT": "Site-{{macro.SITENAME}}" }, { "Pattern": "[^{{macro.ISP}}{{macro.EXT}}]{{macro.SITEMASKMINUSONE}}", "SiteTPCSS": "IncomingToSite-{{macro.SITENAME}}", "SiteTPPT": "AllowInternal-{{macro.SITENAME}}" } ], "AddSiteCSS": [ { "SitePartition": [ { "SiteMemPT": "EmerCalls-{{macro.SITENAME}}" } ], "SiteCSS": "EmergencyCalls-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" } ], "SiteCSS": "EmergencyOnly-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "IncomingToSite-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" }, { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "Internal-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" }, { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "Intl24HrsEnh-{{macro.SITENAME}}" } ], "pkid": "5ad5b53faffa9343e4d93726", "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" }, "meta": { "model_type": "data/DialPlan", "summary_attrs": [ { "name": "DialPlanName", "title": "Dialplanname" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "feature_tag_add_dialplan", "V4UC", "ba_EndToEnd" ], "title": "VOSS-DEMO-DialPlan", "business_key": { "hierarchy": true, "unique": [ "DialPlanName" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [], "self": [ { "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/", "pkid": "5ad5b53faffa9343e4d93725" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5b53faffa9343e4d93725" ], "schema_version": "1.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ad5b53faffa9343e4d93725" } ] }
(Show the first instance)
{ "data": { "AddCucmCSS": [ { "CucmCSS": "InterSiteRoutingCSS", "CucmPartition": [ { "CucmMemPT": "InterSiteRoutingPT" } ] } ], "DialPlanName": "VOSS-DEMO-DialPlan", "AddSitePartitions": [ { "SitePT": "AllowInternal-{{macro.SITENAME}}" }, { "SitePT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SitePT": "EmerCalls-{{macro.SITENAME}}" }, { "SitePT": "Site-{{macro.SITENAME}}" } ], "AddCucmPartitions": [ { "CucmPT": "InterSiteRoutingPT" } ], "AddCountryPartitions": [ { "CountryPT": "AllowIntl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowMobl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowNatl24Hr-{{macro.COUNTRY}}" }, { "CountryPT": "AllowSVC24Hr-{{macro.COUNTRY}}" } ], "AddSiteTP": [ { "Pattern": "{{macro.SITECODE}}{{macro.SITEMASK}}", "SiteTPCSS": "IncomingToSite-{{macro.SITENAME}}", "SiteTPPT": "Site-{{macro.SITENAME}}" }, { "Pattern": "[^{{macro.ISP}}{{macro.EXT}}]{{macro.SITEMASKMINUSONE}}", "SiteTPCSS": "IncomingToSite-{{macro.SITENAME}}", "SiteTPPT": "AllowInternal-{{macro.SITENAME}}" } ], "AddSiteCSS": [ { "SitePartition": [ { "SiteMemPT": "EmerCalls-{{macro.SITENAME}}" } ], "SiteCSS": "EmergencyCalls-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" } ], "SiteCSS": "EmergencyOnly-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "IncomingToSite-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" }, { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "Internal-{{macro.SITENAME}}" }, { "SitePartition": [ { "SiteMemPT": "AllowVMCalls-{{macro.SITENAME}}" }, { "SiteMemPT": "AllowInternal-{{macro.SITENAME}}" }, { "SiteMemPT": "Site-{{macro.SITENAME}}" } ], "SiteCSS": "Intl24HrsEnh-{{macro.SITENAME}}" } ], "pkid": "5ad5b53faffa9343e4d93726" }, "meta": { "model_type": "data/DialPlan", "summary_attrs": [ { "name": "DialPlanName", "title": "Dialplanname" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "feature_tag_add_dialplan", "V4UC", "ba_EndToEnd" ], "title": "VOSS-DEMO-DialPlan", "business_key": { "hierarchy": true, "unique": [ "DialPlanName" ] }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "foreign_key": [], "children": [], "self": [ { "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/", "pkid": "5ad5b53faffa9343e4d93725" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5b53faffa9343e4d93725" ], "schema_version": "1.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/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/data/DialPlan/5ad5b53faffa9343e4d93725/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/DialPlan/5ad5b53faffa9343e4d93725/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "5ad5b53faffa9343e4d93725" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/DialPlan. | GET | /api/data/DialPlan/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/DialPlan as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | POST | /api/data/DialPlan/bulk_update/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/DialPlan/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/DialPlan/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/DialPlan; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/DialPlan/[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/DialPlan and the JSON format can be used to import instances of data/DialPlan.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/DialPlan/[pkid] | hierarchy=[hierarchy] | The data/DialPlan instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/DialPlan/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/DialPlan. |