[Index]
Site dial plan model input data.
Model ref.: data/DP_SiteDialPlanData
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": { "eNum": { "type": "string", "description": "Emergency Call Back Number - macro.DP_Site_ENum", "title": "Emergency Call Back Number" }, "sipdest09": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest9", "title": "SIP Trunk Destination IP" }, "sipdestport09": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort9", "title": "SIP Trunk Destination Port" }, "sipdest08": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest8", "title": "SIP Trunk Destination IP" }, "dpDialPlan": { "type": "string", "description": "Choose the dial plan model which will be applied to the site", "title": "Dial Plan Model for Site" }, "sipdest10": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest10", "title": "SIP Trunk Destination IP" }, "pNum": { "type": "string", "description": "Published Number for Site - macro.DP_Site_PNum", "title": "Published Number" }, "dpcv18": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal18", "title": "Dial Plan Custom Value 18" }, "dpcv19": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal19", "title": "Dial Plan Custom Value 19" }, "dpcv16": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal16", "title": "Dial Plan Custom Value 16" }, "dpcv17": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal17", "title": "Dial Plan Custom Value 17" }, "dpcv14": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal14", "title": "Dial Plan Custom Value 14" }, "dpcv15": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal15", "title": "Dial Plan Custom Value 15" }, "dpcv12": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal12", "title": "Dial Plan Custom Value 12" }, "dpcv13": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal13", "title": "Dial Plan Custom Value 13" }, "dpcv10": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal10", "title": "Dial Plan Custom Value 10" }, "dpcv11": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal11", "title": "Dial Plan Custom Value 11" }, "sipdestport10": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort10", "title": "SIP Trunk Destination Port" }, "dpcv28": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal28", "title": "Dial Plan Custom Value 28" }, "sipdest05": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest5", "title": "SIP Trunk Destination IP" }, "sipdestport07": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort7", "title": "SIP Trunk Destination Port" }, "sipdestprimport": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "Primary SIP Trunk Destination Port - macro.DP_Site_PrimarySIPPort", "title": "Primary SIP Trunk Destination Port" }, "custSiteID": { "type": "string", "description": "Custom Site ID - macro.DP_Site_ID", "title": "Custom Site ID" }, "sipdestprim": { "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$", "type": "string", "description": "Primary SIP Trunk Destination IP Address - macro.DP_Site_PrimarySIPAddr", "title": "Primary SIP Trunk Destination IP" }, "dpcv27": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal27", "title": "Dial Plan Custom Value 27" }, "dpcv26": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal26", "title": "Dial Plan Custom Value 26" }, "areaCodeArray": { "items": { "type": "object", "properties": { "areaCode": { "type": "string", "description": "Local region pstn area codes", "title": "Area Code" }, "dpTPChoice": { "type": "string", "description": "Translation Pattern Model", "title": "Choose Translation Pattern Model" }, "dpRPChoice": { "type": "string", "description": "Route pattern Model", "title": "Choose Route Pattern Model" }, "exchange": { "type": "string", "description": "Exchange Data Available for pattern building", "title": "Exchange" }, "dpPtnType": { "title": "Dial Plan Pattern Type", "type": "string", "description": "Choose the type of local pattern used in Dial Plan", "choices": [ { "value": "routepattern", "title": "Route Pattern" }, { "value": "transpattern", "title": "Translation Pattern" } ] } } }, "type": "array", "description": "Local region pstn area codes", "title": "Local Area Codes" }, "dpcv24": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal24", "title": "Dial Plan Custom Value 24" }, "dpcv23": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal23", "title": "Dial Plan Custom Value 23" }, "dpcv22": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal22", "title": "Dial Plan Custom Value 22" }, "dpcv21": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal21", "title": "Dial Plan Custom Value 21" }, "dpcv20": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal20", "title": "Dial Plan Custom Value 20" }, "callParkCUCM": { "type": "string", "description": "Call Park Call Manager - macro.DP_Site_CallParkCUCM", "title": "Call Park Call Manager" }, "dpcv29": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal29", "title": "Dial Plan Custom Value 29" }, "dpcv08": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal08", "title": "Dial Plan Custom Value 8" }, "sipdestsecport": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "Secondary SIP Trunk Destination Port - macro.DP_Site_SecondarySIPPort", "title": "Secondary SIP Trunk Destination Port" }, "sipdest04": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest4", "title": "SIP Trunk Destination IP" }, "sipdest07": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest7", "title": "SIP Trunk Destination IP" }, "sipdest06": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest6", "title": "SIP Trunk Destination IP" }, "dpcv09": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal09", "title": "Dial Plan Custom Value 9" }, "name": { "default": "{{ macro.SITENAME }} Dial Plan Input Data", "type": "string", "description": "Friendly name for site dial plan input data", "title": "Name" }, "sipdest03": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest3", "title": "SIP Trunk Destination IP" }, "dpcv05": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal05", "title": "Dial Plan Custom Value 5" }, "dpcv04": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal04", "title": "Dial Plan Custom Value 4" }, "dpcv07": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal07", "title": "Dial Plan Custom Value 7" }, "dpcv06": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal06", "title": "Dial Plan Custom Value 6" }, "dpcv01": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal01", "title": "Dial Plan Custom Value 1" }, "dpcv25": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal25", "title": "Dial Plan Custom Value 25" }, "dpcv03": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal03", "title": "Dial Plan Custom Value 3" }, "dpcv02": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal02", "title": "Dial Plan Custom Value 2" }, "dpcv30": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal30", "title": "Dial Plan Custom Value 30" }, "sipdestport03": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort3", "title": "SIP Trunk Destination Port" }, "sipdestport04": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort4", "title": "SIP Trunk Destination Port" }, "sipdestport05": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort5", "title": "SIP Trunk Destination Port" }, "sipdestport06": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort6", "title": "SIP Trunk Destination Port" }, "sipdestsec": { "pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$", "type": "string", "description": "Secondary SIP Trunk Destination IP - macro.DP_Site_SecondarySIPAddr", "title": "Secondary SIP Trunk Destination IP" }, "sipdestport08": { "default": "5060", "choices": [ { "value": "5060", "title": "5060" }, { "value": "5061", "title": "5061/TLS" }, { "value": "5062", "title": "5062" }, { "value": "5063", "title": "5063" }, { "value": "5064", "title": "5064" }, { "value": "5065", "title": "5065" }, { "value": "5066", "title": "5066" }, { "value": "5067", "title": "5067" }, { "value": "5068", "title": "5068" }, { "value": "5069", "title": "5069" } ], "type": "string", "description": "SIP Trunk Destination Port - macro.DP_Site_SIPPort8", "title": "SIP Trunk Destination Port" }, "extBO": { "type": "string", "description": "Digit dialed to break out to PSTN - macro.DP_Site_PSTNAccess", "title": "External Breakout Number" }, "slc": { "type": "string", "description": "Site specific location code - macro.DP_Site_SLC", "title": "Site Location Code" } }, "schema_version": "0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/DP_SiteDialPlanData/add/ |
|
The GUI Add form of data/DP_SiteDialPlanData 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/DP_SiteDialPlanData/ | 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/DP_SiteDialPlanData/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/DP_SiteDialPlanData/[pkid1]", "/api/data/DP_SiteDialPlanData/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/DP_SiteDialPlanData/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/DP_SiteDialPlanData/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/DP_SiteDialPlanData/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/DP_SiteDialPlanData/[pkid1]", "/api/v0/data/DP_SiteDialPlanData/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/DP_SiteDialPlanData/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/DP_SiteDialPlanData; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/DP_SiteDialPlanData/export/ |
|
{ "hrefs":["/api/data/DP_SiteDialPlanData/[pkid1]", "/api/data/DP_SiteDialPlanData/[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/DP_SiteDialPlanData and the JSON format can be used to import instances of data/DP_SiteDialPlanData.
GET http://[host-proxy]/api/data/DP_SiteDialPlanData/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/DP_SiteDialPlanData | POST | /api/data/DP_SiteDialPlanData/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/DP_SiteDialPlanData/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/DP_SiteDialPlanData/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/DP_SiteDialPlanData/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/DP_SiteDialPlanData/ |
|
The data/DP_SiteDialPlanData schema and all instances as JSON. |
(The list will return 0 to 3 data/DP_SiteDialPlanData instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/DP_SiteDialPlanData/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 2 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "0.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/DP_SiteDialPlanData/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DP_SiteDialPlanData/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/DP_SiteDialPlanData/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DP_SiteDialPlanData/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/DP_SiteDialPlanData/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/DP_SiteDialPlanData/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/DP_SiteDialPlanData/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/DP_SiteDialPlanData/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/DP_SiteDialPlanData/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DP_SiteDialPlanData/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/DP_SiteDialPlanData/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/DP_SiteDialPlanData", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "transform", "remove", "tag", "tag_version", "update" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "dpDialPlan", "title": "Dial Plan Model for Site" }, { "name": "extBO", "title": "External Breakout Number" }, { "name": "slc", "title": "Site Location Code" }, { "name": "pNum", "title": "Published Number" }, { "name": "eNum", "title": "Emergency Call Back Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5dcecd12e186e30018eac7cb", "meta": { "tags": [], "cached": true, "title": "GeoLogic-Guayaquil (GYE) Dial Plan Input Data", "business_key": {}, "schema_version": "0.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcecd12e186e30018eac7cb", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/" } ], "parent": [ { "pkid": "5dceccf856b5de00207db612", "href": "/api/data/HierarchyNode/5dceccf856b5de00207db612" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/help", "method": "GET", "title": "Help" } } ], "model_type": "data/DP_SiteDialPlanData", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd181e33fc9b0018900610", "5dceccf856b5de00207db612", "5dcecd12e186e30018eac7cb" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "dpDialPlan", "title": "Dial Plan Model for Site" }, { "name": "extBO", "title": "External Breakout Number" }, { "name": "slc", "title": "Site Location Code" }, { "name": "pNum", "title": "Published Number" }, { "name": "eNum", "title": "Emergency Call Back Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "sipdestsecport": "5060", "name": "GeoLogic-Guayaquil (GYE) Dial Plan Input Data", "pkid": "5dcecd12e186e30018eac7cc", "sipdestsec": "192.168.48.252", "sipdestprim": "192.168.48.251", "sipdestprimport": "5060", "dpDialPlan": "GeoLogic-GYE-DP", "hierarchy_friendly_name": "GeoLogic-GYE (Site)", "hierarchy_path": "sys.hcs.CS-P.GeoLogic.GeoLogic-GYE" } }, { "pkid": "5dcecd128192d40018fae555", "meta": { "tags": [], "cached": true, "title": "GeoLogic-Quito (UIO) Dial Plan Input Data", "business_key": {}, "schema_version": "0.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5dcecd128192d40018fae555", "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/" } ], "parent": [ { "pkid": "5dceccee8192d40018fae3e4", "href": "/api/data/HierarchyNode/5dceccee8192d40018fae3e4" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/DP_SiteDialPlanData/5dcecd128192d40018fae555/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/DP_SiteDialPlanData", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd181e33fc9b0018900610", "5dceccee8192d40018fae3e4", "5dcecd128192d40018fae555" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "dpDialPlan", "title": "Dial Plan Model for Site" }, { "name": "extBO", "title": "External Breakout Number" }, { "name": "slc", "title": "Site Location Code" }, { "name": "pNum", "title": "Published Number" }, { "name": "eNum", "title": "Emergency Call Back Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "sipdestsecport": "5060", "name": "GeoLogic-Quito (UIO) Dial Plan Input Data", "pkid": "5dcecd128192d40018fae556", "sipdestsec": "192.168.48.254", "sipdestprim": "192.168.48.253", "sipdestprimport": "5060", "dpDialPlan": "GeoLogic-UIO-DP", "hierarchy_friendly_name": "GeoLogic-UIO (Site)", "hierarchy_path": "sys.hcs.CS-P.GeoLogic.GeoLogic-UIO" } } ] }
(Show the first instance)
{ "pkid": "5dcecd12e186e30018eac7cb", "meta": { "tags": [], "cached": false, "title": "GeoLogic-Guayaquil (GYE) Dial Plan Input Data", "business_key": {}, "schema_version": "0.0", "references": { "parent": [ { "pkid": "5dceccf856b5de00207db612", "href": "/api/data/HierarchyNode/5dceccf856b5de00207db612" } ], "self": [ { "pkid": "5dcecd12e186e30018eac7cb", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DP_SiteDialPlanData/5dcecd12e186e30018eac7cb/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/DP_SiteDialPlanData", "path": [ "6t0ggef2c0deab00hb595101", "5dcc7ff74544b7001862482f", "5dcd17c256b5de00189138f9", "5dcd181e33fc9b0018900610", "5dceccf856b5de00207db612", "5dcecd12e186e30018eac7cb" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "dpDialPlan", "title": "Dial Plan Model for Site" }, { "name": "extBO", "title": "External Breakout Number" }, { "name": "slc", "title": "Site Location Code" }, { "name": "pNum", "title": "Published Number" }, { "name": "eNum", "title": "Emergency Call Back Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "sipdestsecport": "5060", "name": "GeoLogic-Guayaquil (GYE) Dial Plan Input Data", "pkid": "5dcecd12e186e30018eac7cc", "sipdestsec": "192.168.48.252", "sipdestprim": "192.168.48.251", "sipdestprimport": "5060", "dpDialPlan": "GeoLogic-GYE-DP" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/DP_SiteDialPlanData. | GET | /api/data/DP_SiteDialPlanData/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/DP_SiteDialPlanData as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/DP_SiteDialPlanData/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/DP_SiteDialPlanData/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/DP_SiteDialPlanData/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/DP_SiteDialPlanData/?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/DP_SiteDialPlanData; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/DP_SiteDialPlanData/[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/DP_SiteDialPlanData and the JSON format can be used to import instances of data/DP_SiteDialPlanData.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/DP_SiteDialPlanData/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/DP_SiteDialPlanData/[pkid]/ | hierarchy=[hierarchy] | The data/DP_SiteDialPlanData instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/DP_SiteDialPlanData/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/DP_SiteDialPlanData. |