[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" }, "sipdest10": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest10", "title": "SIP Trunk Destination IP" }, "dpcv47": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal47", "title": "Dial Plan Custom Value 47" }, "dpcv34": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal34", "title": "Dial Plan Custom Value 34" }, "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" }, "dpcv46": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal46", "title": "Dial Plan Custom Value 46" }, "dpcv35": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal35", "title": "Dial Plan Custom Value 35" }, "dpcv50": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal50", "title": "Dial Plan Custom Value 50" }, "dpDialPlan": { "type": "string", "description": "Choose the dial plan model which will be applied to the site", "title": "Dial Plan Model for Site" }, "dpcv43": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal43", "title": "Dial Plan Custom Value 43" }, "dpcv37": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal37", "title": "Dial Plan Custom Value 37" }, "dpcv38": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal38", "title": "Dial Plan Custom Value 38" }, "dpcv33": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal33", "title": "Dial Plan Custom Value 33" }, "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" }, "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" }, "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" }, "sipdest04": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest4", "title": "SIP Trunk Destination IP" }, "sipdest09": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest9", "title": "SIP Trunk Destination IP" }, "sipdest05": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest5", "title": "SIP Trunk Destination IP" }, "dpcv44": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal44", "title": "Dial Plan Custom Value 44" }, "dpcv45": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal45", "title": "Dial Plan Custom Value 45" }, "dpcv39": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal39", "title": "Dial Plan Custom Value 39" }, "custSiteID": { "type": "string", "description": "Custom Site ID - macro.DP_Site_ID", "title": "Custom Site ID" }, "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" }, "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" }, "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" }, "dpcv49": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal49", "title": "Dial Plan Custom Value 49" }, "dpcv48": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal48", "title": "Dial Plan Custom Value 48" }, "sipdest08": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Site_SIPDest8", "title": "SIP Trunk Destination IP" }, "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" }, "dpcv41": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal41", "title": "Dial Plan Custom Value 41" }, "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" }, "dpcv40": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal40", "title": "Dial Plan Custom Value 40" }, "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" }, "dpcv42": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal42", "title": "Dial Plan Custom Value 42" }, "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" }, "dpcv31": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal31", "title": "Dial Plan Custom Value 31" }, "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" }, "dpcv36": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal36", "title": "Dial Plan Custom Value 36" }, "dpcv32": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Site_CVal32", "title": "Dial Plan Custom Value 32" }, "slc": { "type": "string", "description": "Site specific location code - macro.DP_Site_SLC", "title": "Site Location Code" } }, "schema_version": "1.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": 0 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "1.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": "21.2", "tagged_versions": [] }, "resources": [] }
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. |