[Index]
HcsCommandBuilderDAT
Model ref.: data/HcsCommandBuilderDAT
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": { "name": { "is_password": false, "description": "Command Builder name", "title": "Name", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "eventName": { "is_password": false, "description": "Event name", "format": "uri", "required": true, "displayable": false, "target_attr": "eventName", "readonly": false, "target": "/api/data/HcsCommandEventDAT/choices/?field=eventName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "maxLength": 1024, "title": "Event Name", "type": "string", "target_model_type": "data/HcsCommandEventDAT", "choices": [] }, "description": { "is_password": false, "description": "A description for the command builder", "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 4096, "type": "string" }, "commandTemplate": { "is_password": false, "description": "Command template triggered by this event", "title": "Command Template", "required": false, "displayable": false, "readonly": false, "maxLength": 4096, "type": "string" }, "enabled": { "is_password": false, "description": "command builder enabled or not", "title": "Enabled", "default": "true", "required": true, "displayable": false, "readonly": false, "type": "boolean" }, "applicableDevType": { "is_password": false, "description": "Applicable Device Type", "title": "Applicable Device Type", "required": true, "displayable": false, "choices": [ { "value": "IOS_DEVICE", "title": "IOS Device" }, { "value": "SIP_GATEWAY", "title": "SIP Local Gateway" }, { "value": "ANALOG_GATEWAY", "title": "Analog Gateway" } ], "readonly": false, "maxLength": 1024, "type": "string" } }, "schema_version": "2.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HcsCommandBuilderDAT/add/ |
|
The GUI Add form of data/HcsCommandBuilderDAT 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/HcsCommandBuilderDAT | 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/HcsCommandBuilderDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsCommandBuilderDAT/[pkid1]", "/api/data/HcsCommandBuilderDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsCommandBuilderDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HcsCommandBuilderDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HcsCommandBuilderDAT/export/ |
|
{ "hrefs":["/api/data/HcsCommandBuilderDAT/[pkid1]", "/api/data/HcsCommandBuilderDAT/[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/HcsCommandBuilderDAT and the JSON format can be used to import instances of data/HcsCommandBuilderDAT.
GET http://[host-proxy]/api/data/HcsCommandBuilderDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HcsCommandBuilderDAT | POST | /api/data/HcsCommandBuilderDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HcsCommandBuilderDAT/ |
|
The data/HcsCommandBuilderDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsCommandBuilderDAT instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 37, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/data/HcsCommandBuilderDAT/?skip=0&limit=3&order_by=name&direction=asc&traversal=fulltree" }, "operations": [ "field_display_policy", "update", "help", "remove", "move", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/HcsCommandBuilderDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "eventName", "title": "Event Name" }, { "name": "description", "title": "Description" }, { "name": "enabled", "title": "Enabled" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "help", "clone", "export", "export_bulkload_template" ], "schema_version": "2.1", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/HcsCommandBuilderDAT/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCommandBuilderDAT/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/HcsCommandBuilderDAT/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/data/HcsCommandBuilderDAT/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/HcsCommandBuilderDAT/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCommandBuilderDAT/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "name": "addAnalogGateway", "eventName": "HcsAddAnalogGatewayEVT", "description": "Command Builder for adding an Analog Gateway", "commandTemplate": "conf t\nstcapp ccm-group 1 \nstcapp \nstcapp feature access-code \nstcapp feature speed-dial \nsccp local {{ pwf.GatewayDAT.networkInterface }} \nsccp \nccm-manager fax protocol cisco \n{{ macro.HcsAnalogGwCommandForCCMIdentifierMCR }}sccp ccm group 1 \nbind interface {{ pwf.GatewayDAT.networkInterface }} \n{{ macro.HcsAnalogGwCommandForCCMPriorityMCR }}ccm-manager config server {{ macro.GATEWAY_CUCM_ADDRESS }} \nccm-manager sccp local {{ pwf.GatewayDAT.networkInterface }} \nccm-manager sccp \nstcapp \nend", "enabled": true, "applicableDevType": "ANALOG_GATEWAY", "pkid": "5ad5d0e3affa9343e4d98940", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCommandBuilderDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "eventName", "title": "Event Name" }, { "name": "description", "title": "Description" }, { "name": "enabled", "title": "Enabled" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [ { "pkid": "5ad5d0e3affa9343e4d98941", "version": "0.1.1", "href": "/api/v0/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/?cached=5ad5d0e3affa9343e4d98941" } ], "tags": [ "HcsCommandBuilder", "V4UC", "ba_CommonOverlay" ], "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ad5bacbaffa9343e4d93e01", "href": "/api/data/HierarchyNode/5ad5bacbaffa9343e4d93e01" } ], "foreign_key": [ { "pkid": "5ad5d0b5affa9343e4d988b1", "path": "eventName", "model_type": "data/HcsCommandEventDAT" } ], "self": [ { "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/", "pkid": "5ad5d0e3affa9343e4d9893d" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ad5d0e3affa9343e4d9893d" ], "version_tag": "0.1.1", "schema_version": "2.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ad5d0e3affa9343e4d9893d" }, { "data": { "name": "addAnalogGatewayEndpoint", "eventName": "HcsAddAnalogGatewayEndpointEVT", "description": "Command Builder for adding an Analog Gateway Endpoint", "commandTemplate": "conf t\nvoice-port {{ pwf.PORT_NUM }} \ncaller-id enable \ntimeouts call-disconnect {{ fn.as_string pwf.GatewayDAT.disconnectTimeout }} \ncptone {{ pwf.GatewayDAT.cpTone }} \nsignal {{macro.HcsIosCmdAnalogGwSignalMCR}} \nno shutdown \ndial-peer voice {{ pwf.DIAL_PEER_NO }} pots \nservice stcapp \nport {{ pwf.PORT_NUM }} \nend", "enabled": true, "applicableDevType": "ANALOG_GATEWAY", "pkid": "5ad5d0e8affa9343e4d9894f", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCommandBuilderDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "eventName", "title": "Event Name" }, { "name": "description", "title": "Description" }, { "name": "enabled", "title": "Enabled" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [ { "pkid": "5ad5d0e8affa9343e4d98950", "version": "0.1.1", "href": "/api/v0/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/?cached=5ad5d0e8affa9343e4d98950" } ], "tags": [ "HcsCommandBuilder", "V4UC", "ba_CommonOverlay" ], "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ad5bacbaffa9343e4d93e01", "href": "/api/data/HierarchyNode/5ad5bacbaffa9343e4d93e01" } ], "foreign_key": [ { "pkid": "5ad5d0b9affa9343e4d988c0", "path": "eventName", "model_type": "data/HcsCommandEventDAT" } ], "self": [ { "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/", "pkid": "5ad5d0e8affa9343e4d9894c" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ad5d0e8affa9343e4d9894c" ], "version_tag": "0.1.1", "schema_version": "2.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e8affa9343e4d9894c/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ad5d0e8affa9343e4d9894c" }, { "data": { "name": "addAnalogGatewayEndpointMod", "eventName": "HcsAddAnalogGatewayEndpointModEVT", "description": "Command Builder for adding an Analog Gateway Endpoint", "commandTemplate": "conf t\nvoice-port {{ pwf.PORT_NUM }} \ncaller-id enable \ntimeouts call-disconnect {{ fn.as_string pwf.GatewayDAT.disconnectTimeout }} \ncptone {{ pwf.GatewayDAT.cpTone }} \nsignal {{macro.HcsIosCmdAnalogGwSignalMCR}} \nno shutdown \ndial-peer voice {{ pwf.DIAL_PEER_NO }} pots \nservice stcapp \nport {{ pwf.PORT_NUM }} \nend", "enabled": true, "applicableDevType": "ANALOG_GATEWAY", "pkid": "5ad5d0edaffa9343e4d9895e", "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" }, "meta": { "model_type": "data/HcsCommandBuilderDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "eventName", "title": "Event Name" }, { "name": "description", "title": "Description" }, { "name": "enabled", "title": "Enabled" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [ { "pkid": "5ad5d0edaffa9343e4d9895f", "version": "0.1.1", "href": "/api/v0/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/?cached=5ad5d0edaffa9343e4d9895f" } ], "tags": [ "HcsCommandBuilder", "V4UC", "ba_CommonOverlay" ], "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ad5bacbaffa9343e4d93e01", "href": "/api/data/HierarchyNode/5ad5bacbaffa9343e4d93e01" } ], "foreign_key": [ { "pkid": "5ad5d0bdaffa9343e4d988cf", "path": "eventName", "model_type": "data/HcsCommandEventDAT" } ], "self": [ { "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/", "pkid": "5ad5d0edaffa9343e4d9895b" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ad5d0edaffa9343e4d9895b" ], "version_tag": "0.1.1", "schema_version": "2.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0edaffa9343e4d9895b/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ad5d0edaffa9343e4d9895b" } ] }
(Show the first instance)
{ "data": { "name": "addAnalogGateway", "eventName": "HcsAddAnalogGatewayEVT", "description": "Command Builder for adding an Analog Gateway", "commandTemplate": "conf t\nstcapp ccm-group 1 \nstcapp \nstcapp feature access-code \nstcapp feature speed-dial \nsccp local {{ pwf.GatewayDAT.networkInterface }} \nsccp \nccm-manager fax protocol cisco \n{{ macro.HcsAnalogGwCommandForCCMIdentifierMCR }}sccp ccm group 1 \nbind interface {{ pwf.GatewayDAT.networkInterface }} \n{{ macro.HcsAnalogGwCommandForCCMPriorityMCR }}ccm-manager config server {{ macro.GATEWAY_CUCM_ADDRESS }} \nccm-manager sccp local {{ pwf.GatewayDAT.networkInterface }} \nccm-manager sccp \nstcapp \nend", "enabled": true, "applicableDevType": "ANALOG_GATEWAY", "pkid": "5ad5d0e3affa9343e4d98940" }, "meta": { "model_type": "data/HcsCommandBuilderDAT", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "eventName", "title": "Event Name" }, { "name": "description", "title": "Description" }, { "name": "enabled", "title": "Enabled" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [ { "pkid": "5ad5d0e3affa9343e4d98941", "version": "0.1.1", "href": "/api/v0/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/?cached=5ad5d0e3affa9343e4d98941" } ], "tags": [ "HcsCommandBuilder", "V4UC", "ba_CommonOverlay" ], "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ad5bacbaffa9343e4d93e01", "pkid": "5ad5bacbaffa9343e4d93e01" } ], "foreign_key": [ { "pkid": "5ad5d0b5affa9343e4d988b1", "path": "eventName", "model_type": "data/HcsCommandEventDAT" } ], "children": [], "self": [ { "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/", "pkid": "5ad5d0e3affa9343e4d9893d" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ad5d0e3affa9343e4d9893d" ], "version_tag": "0.1.1", "schema_version": "2.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/import/?hierarchy=[hierarchy]", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HcsCommandBuilderDAT/5ad5d0e3affa9343e4d9893d/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "5ad5d0e3affa9343e4d9893d" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HcsCommandBuilderDAT. | GET | /api/data/HcsCommandBuilderDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HcsCommandBuilderDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HcsCommandBuilderDAT/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HcsCommandBuilderDAT/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/HcsCommandBuilderDAT/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/HcsCommandBuilderDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HcsCommandBuilderDAT/[pkid]/import | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/HcsCommandBuilderDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HcsCommandBuilderDAT/[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/HcsCommandBuilderDAT and the JSON format can be used to import instances of data/HcsCommandBuilderDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HcsCommandBuilderDAT/[pkid] | hierarchy=[hierarchy] | The data/HcsCommandBuilderDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HcsCommandBuilderDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HcsCommandBuilderDAT. |