[Index]
Global dial plan model input data.
Model ref.: data/DP_GlobalDialPlanData
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_Global_ENum", "title": "Emergency Call Back Number" }, "sipdest09": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_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_Global_SIPPort9", "title": "SIP Trunk Destination Port" }, "sipdest08": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest8", "title": "SIP Trunk Destination IP" }, "dpDialPlan": { "type": "string", "description": "Choose the dial plan model which will be applied to the global elements ", "title": "Global Dial Plan Model" }, "sipdest10": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest10", "title": "SIP Trunk Destination IP" }, "pNum": { "type": "string", "description": "Published Number for Site - macro.DP_Global_PNum", "title": "Published Number" }, "dpcv18": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal18", "title": "Dial Plan Custom Value 18" }, "dpcv19": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal19", "title": "Dial Plan Custom Value 19" }, "dpcv16": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal16", "title": "Dial Plan Custom Value 16" }, "dpcv17": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal17", "title": "Dial Plan Custom Value 17" }, "dpcv14": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal14", "title": "Dial Plan Custom Value 14" }, "dpcv15": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal15", "title": "Dial Plan Custom Value 15" }, "dpcv12": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal12", "title": "Dial Plan Custom Value 12" }, "dpcv13": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal13", "title": "Dial Plan Custom Value 13" }, "dpcv10": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal10", "title": "Dial Plan Custom Value 10" }, "dpcv11": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal11", "title": "Dial Plan Custom Value 11" }, "dpcv28": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal28", "title": "Dial Plan Custom Value 28" }, "sipdest05": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest5", "title": "SIP Trunk Destination IP" }, "custCustID": { "type": "string", "description": "Custom Customer ID - macro.DP_Global_CustomCustID", "title": "Custom Customer ID" }, "sipdestport310": { "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_Global_SIPPort10", "title": "SIP Trunk Destination Port" }, "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_Global_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_Global_PrimarySIPPort", "title": "Primary SIP Trunk Destination Port" }, "sipdestprim": { "type": "string", "description": "Primary SIP Trunk Destination IP Address - macro.DP_Global_PrimarySIPAddr", "title": "Primary SIP Trunk Destination IP" }, "dpcv27": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal27", "title": "Dial Plan Custom Value 27" }, "dpcv26": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_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_Global_CVal24", "title": "Dial Plan Custom Value 24" }, "dpcv23": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal23", "title": "Dial Plan Custom Value 23" }, "dpcv22": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal22", "title": "Dial Plan Custom Value 22" }, "dpcv21": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal21", "title": "Dial Plan Custom Value 21" }, "dpcv20": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal20", "title": "Dial Plan Custom Value 20" }, "callParkCUCM": { "type": "string", "description": "Call Park Call Manager - macro.DP_Global_CallParkCUCM", "title": "Call Park Call Manager" }, "dpcv29": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal29", "title": "Dial Plan Custom Value 29" }, "dpcv08": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_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_Global_SecondarySIPPort", "title": "Secondary SIP Trunk Destination Port" }, "sipdest04": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest4", "title": "SIP Trunk Destination IP" }, "sipdest07": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest7", "title": "SIP Trunk Destination IP" }, "sipdest06": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest6", "title": "SIP Trunk Destination IP" }, "dpcv09": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal09", "title": "Dial Plan Custom Value 9" }, "name": { "default": "{{ macro.HcsVossCustomerName }} Global Dial Plan Input Data", "type": "string", "description": "Global Dial Plan Input Data Friendly Name", "title": "Name" }, "sipdest03": { "type": "string", "description": "SIP Trunk Destination IP - macro.DP_Global_SIPDest3", "title": "SIP Trunk Destination IP" }, "dpcv05": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal05", "title": "Dial Plan Custom Value 5" }, "dpcv04": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal04", "title": "Dial Plan Custom Value 4" }, "dpcv07": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal07", "title": "Dial Plan Custom Value 7" }, "dpcv06": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal06", "title": "Dial Plan Custom Value 6" }, "dpcv01": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal01", "title": "Dial Plan Custom Value 1" }, "dpcv25": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal25", "title": "Dial Plan Custom Value 25" }, "dpcv03": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal03", "title": "Dial Plan Custom Value 3" }, "dpcv02": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_CVal02", "title": "Dial Plan Custom Value 2" }, "dpcv30": { "type": "string", "description": "Dial Plan Custom Value - macro.DP_Global_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_Global_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_Global_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_Global_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_Global_SIPPort6", "title": "SIP Trunk Destination Port" }, "sipdestsec": { "type": "string", "description": "Secondary SIP Trunk Destination IP - macro.DP_Global_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_Global_SIPPort8", "title": "SIP Trunk Destination Port" }, "extBO": { "type": "string", "description": "Digit dialed to break out to PSTN: Use Macro - macro.DP_Global_PSTNAccess", "title": "External Breakout Number" } }, "schema_version": "0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/DP_GlobalDialPlanData/add/ |
|
The GUI Add form of data/DP_GlobalDialPlanData 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_GlobalDialPlanData/ | 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_GlobalDialPlanData/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/DP_GlobalDialPlanData/[pkid1]", "/api/data/DP_GlobalDialPlanData/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/DP_GlobalDialPlanData/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/DP_GlobalDialPlanData/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/DP_GlobalDialPlanData/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/DP_GlobalDialPlanData/[pkid1]", "/api/v0/data/DP_GlobalDialPlanData/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/DP_GlobalDialPlanData/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/DP_GlobalDialPlanData; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/DP_GlobalDialPlanData/export/ |
|
{ "hrefs":["/api/data/DP_GlobalDialPlanData/[pkid1]", "/api/data/DP_GlobalDialPlanData/[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_GlobalDialPlanData and the JSON format can be used to import instances of data/DP_GlobalDialPlanData.
GET http://[host-proxy]/api/data/DP_GlobalDialPlanData/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/DP_GlobalDialPlanData | POST | /api/data/DP_GlobalDialPlanData/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_GlobalDialPlanData/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_GlobalDialPlanData/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_GlobalDialPlanData/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/DP_GlobalDialPlanData/ |
|
The data/DP_GlobalDialPlanData schema and all instances as JSON. |
(The list will return 0 to 3 data/DP_GlobalDialPlanData instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/DP_GlobalDialPlanData/?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": "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_GlobalDialPlanData/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DP_GlobalDialPlanData/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/DP_GlobalDialPlanData/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_GlobalDialPlanData/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_GlobalDialPlanData/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DP_GlobalDialPlanData/+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_GlobalDialPlanData/+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_GlobalDialPlanData/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/DP_GlobalDialPlanData/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/DP_GlobalDialPlanData/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/DP_GlobalDialPlanData/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DP_GlobalDialPlanData/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/DP_GlobalDialPlanData/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/DP_GlobalDialPlanData", "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": "extBO", "title": "External Breakout Number" }, { "name": "pNum", "title": "Published Number" }, { "name": "eNum", "title": "Emergency Call Back Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/DP_GlobalDialPlanData. | GET | /api/data/DP_GlobalDialPlanData/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/DP_GlobalDialPlanData as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/DP_GlobalDialPlanData/[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_GlobalDialPlanData/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/DP_GlobalDialPlanData/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/DP_GlobalDialPlanData/?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_GlobalDialPlanData; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/DP_GlobalDialPlanData/[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_GlobalDialPlanData and the JSON format can be used to import instances of data/DP_GlobalDialPlanData.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/DP_GlobalDialPlanData/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/DP_GlobalDialPlanData/[pkid]/ | hierarchy=[hierarchy] | The data/DP_GlobalDialPlanData instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/DP_GlobalDialPlanData/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/DP_GlobalDialPlanData. |