[Index]
CLI Pattern settings
Model ref.: data/EmergencyAndCLITransformations_Settings_DAT
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": { "emerEnabled": { "required": false, "type": "boolean", "title": "Enable Emergency Pattern" }, "secondaryCliPatternFormat": { "required": false, "type": "string", "title": "Secondary CLI DN Pattern Format macro" }, "secondaryCliFormat": { "required": false, "type": "string", "title": "Secondary E164 CLI Pattern Format macro" }, "cliPatternFormat": { "required": false, "type": "string", "title": "CLI DN Pattern Format macro" }, "secondaryCliEnabled": { "required": false, "type": "boolean", "title": "Enable Secondary CLI Pattern" }, "secondaryCliPt": { "required": false, "type": "string", "title": "Secondary CLI Pattern Partition macro" }, "emerFormat": { "required": false, "type": "string", "title": "Emergency E164 Pattern Format macro" }, "emerPt": { "required": false, "type": "string", "title": "Emergency Pattern Partition macro" }, "cliFormat": { "required": false, "type": "string", "title": "CLI E164 Pattern Format macro" }, "hn": { "default": "{{ fn.hierarchy_friendly_path }}", "type": "string", "title": "Hierarchy" }, "cliPt": { "required": false, "type": "string", "title": "CLI Pattern Partition macro" }, "emerPatternFormat": { "required": false, "type": "string", "title": "Emergency DN Pattern Format macro" }, "cliEnabled": { "required": false, "type": "boolean", "title": "Enable CLI Pattern" } }, "schema_version": "1.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/add/ |
|
The GUI Add form of data/EmergencyAndCLITransformations_Settings_DAT 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/EmergencyAndCLITransformations_Settings_DAT/ | 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/EmergencyAndCLITransformations_Settings_DAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid1]", "/api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/EmergencyAndCLITransformations_Settings_DAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/EmergencyAndCLITransformations_Settings_DAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/EmergencyAndCLITransformations_Settings_DAT/export/ |
|
{ "hrefs":["/api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid1]", "/api/data/EmergencyAndCLITransformations_Settings_DAT/[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/EmergencyAndCLITransformations_Settings_DAT and the JSON format can be used to import instances of data/EmergencyAndCLITransformations_Settings_DAT.
GET http://[host-proxy]/api/data/EmergencyAndCLITransformations_Settings_DAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/EmergencyAndCLITransformations_Settings_DAT | POST | /api/data/EmergencyAndCLITransformations_Settings_DAT/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/EmergencyAndCLITransformations_Settings_DAT/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/ |
|
The data/EmergencyAndCLITransformations_Settings_DAT schema and all instances as JSON. |
(The list will return 0 to 3 data/EmergencyAndCLITransformations_Settings_DAT 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": "hn", "maximum_limit": 2000, "skip": 0, "current": "/api/data/EmergencyAndCLITransformations_Settings_DAT/?skip=0&limit=3&order_by=hn&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 1 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": false, "unique": [ "hn" ] }, "schema_version": "1.1", "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/EmergencyAndCLITransformations_Settings_DAT/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/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/EmergencyAndCLITransformations_Settings_DAT/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/EmergencyAndCLITransformations_Settings_DAT", "model_specific_actions": [ "add", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "transform", "remove", "update" ], "summary_attrs": [ { "name": "hn", "title": "Hierarchy" }, { "name": "emerEnabled", "title": "Enable Emergency Pattern" }, { "name": "emerPt", "title": "Emergency Pattern Partition macro" }, { "name": "cliEnabled", "title": "Enable CLI Pattern" }, { "name": "cliPt", "title": "CLI Pattern Partition macro" }, { "name": "secondaryCliEnabled", "title": "Enable Secondary CLI Pattern" }, { "name": "secondaryCliPt", "title": "Secondary CLI Pattern Partition macro" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5dcc8c089d77dd00186e318e", "meta": { "tags": [ "emerclitransformations", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "sys.hcs", "business_key": { "hierarchy": false, "unique": [ "hn" ] }, "schema_version": "1.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcc8c089d77dd00186e318e", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/" } ], "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/help", "method": "GET", "title": "Help" } } ], "model_type": "data/EmergencyAndCLITransformations_Settings_DAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc8c089d77dd00186e318e" ], "summary_attrs": [ { "name": "hn", "title": "Hierarchy" }, { "name": "emerEnabled", "title": "Enable Emergency Pattern" }, { "name": "emerPt", "title": "Emergency Pattern Partition macro" }, { "name": "cliEnabled", "title": "Enable CLI Pattern" }, { "name": "cliPt", "title": "CLI Pattern Partition macro" }, { "name": "secondaryCliEnabled", "title": "Enable Secondary CLI Pattern" }, { "name": "secondaryCliPt", "title": "Secondary CLI Pattern Partition macro" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "cliEnabled": false, "emerEnabled": false, "secondaryCliPatternFormat": "{{ pwf.dn_number }}", "secondaryCliFormat": "{{ fn.remove_and_trim pwf.e164_number,macro.EmergencyAndCLITransformations_SiteCountryCodeWithPlus }}", "pkid": "5dcc8c089d77dd00186e318f", "cliPatternFormat": "{{ pwf.dn_number }}", "secondaryCliEnabled": false, "secondaryCliPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-E164LookUp-PT", "emerFormat": "{{ pwf.e164_number }}", "emerPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-DN2DDI4Emer-PT", "cliFormat": "{{ pwf.e164_number }}", "hn": "sys.hcs", "cliPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-DN2DDI4RCCN-PT", "hierarchy_friendly_name": "hcs (Hcs)", "emerPatternFormat": "*{{ pwf.sitePrefix }}*{{ pwf.dn_number }}", "hierarchy_path": "sys.hcs" } } ] }
(Show the first instance)
{ "pkid": "5dcc8c089d77dd00186e318e", "meta": { "tags": [ "emerclitransformations", "V4UC", "ba_CommonOverlay" ], "cached": false, "title": "sys.hcs", "business_key": { "hierarchy": false, "unique": [ "hn" ] }, "schema_version": "1.1", "references": { "parent": [ { "pkid": "5dcc7ff74544b7001862482f", "href": "/api/data/HierarchyNode/5dcc7ff74544b7001862482f" } ], "self": [ { "pkid": "5dcc8c089d77dd00186e318e", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/EmergencyAndCLITransformations_Settings_DAT/5dcc8c089d77dd00186e318e/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/EmergencyAndCLITransformations_Settings_DAT", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcc8c089d77dd00186e318e" ], "summary_attrs": [ { "name": "hn", "title": "Hierarchy" }, { "name": "emerEnabled", "title": "Enable Emergency Pattern" }, { "name": "emerPt", "title": "Emergency Pattern Partition macro" }, { "name": "cliEnabled", "title": "Enable CLI Pattern" }, { "name": "cliPt", "title": "CLI Pattern Partition macro" }, { "name": "secondaryCliEnabled", "title": "Enable Secondary CLI Pattern" }, { "name": "secondaryCliPt", "title": "Secondary CLI Pattern Partition macro" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "emerEnabled": false, "secondaryCliPatternFormat": "{{ pwf.dn_number }}", "secondaryCliFormat": "{{ fn.remove_and_trim pwf.e164_number,macro.EmergencyAndCLITransformations_SiteCountryCodeWithPlus }}", "pkid": "5dcc8c089d77dd00186e318f", "cliPatternFormat": "{{ pwf.dn_number }}", "secondaryCliEnabled": false, "secondaryCliPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-E164LookUp-PT", "emerFormat": "{{ pwf.e164_number }}", "emerPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-DN2DDI4Emer-PT", "cliFormat": "{{ pwf.e164_number }}", "hn": "sys.hcs", "cliPt": "{{ macro.HcsDpUniqueCustomerPrefixMCR }}-DN2DDI4RCCN-PT", "emerPatternFormat": "*{{ pwf.sitePrefix }}*{{ pwf.dn_number }}", "cliEnabled": false } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/EmergencyAndCLITransformations_Settings_DAT. | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/EmergencyAndCLITransformations_Settings_DAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/EmergencyAndCLITransformations_Settings_DAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/EmergencyAndCLITransformations_Settings_DAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/[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/EmergencyAndCLITransformations_Settings_DAT and the JSON format can be used to import instances of data/EmergencyAndCLITransformations_Settings_DAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid]/ | hierarchy=[hierarchy] | The data/EmergencyAndCLITransformations_Settings_DAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/EmergencyAndCLITransformations_Settings_DAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/EmergencyAndCLITransformations_Settings_DAT. |