[Index]
HcsCommandDAT
Model ref.: data/HcsCommandDAT
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": {
"commandBuilder": {
"is_password": false,
"description": "Command Builder name",
"title": "Command Builder",
"required": true,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
},
"description": {
"is_password": false,
"description": "A description for the command set",
"title": "Description",
"required": false,
"displayable": false,
"readonly": false,
"maxLength": 4096,
"type": "string"
},
"commands": {
"is_password": false,
"description": "commands triggered by the event",
"title": "Commands",
"required": false,
"displayable": false,
"readonly": false,
"maxLength": 4096,
"type": "string"
},
"deviceName": {
"is_password": false,
"description": "IOS Devices that the commands applies to",
"title": "Device Name",
"required": true,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
},
"gatewayName": {
"is_password": false,
"description": "Gateways that the command applies to",
"title": "Gateway Name",
"required": false,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
},
"applicableDevType": {
"is_password": false,
"description": "Applicable Device Type",
"title": "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"
},
"timestamp": {
"is_password": false,
"description": "When the event occured",
"title": "Timestamp",
"required": false,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
},
"deviceDeleted": {
"is_password": false,
"description": "Indicates whether or not the assoicated device has been deleted",
"title": "Device Deleted",
"default": "false",
"required": false,
"displayable": false,
"readonly": false,
"type": "boolean"
}
},
"schema_version": "2.3"
}
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Bulk delete [pkid1],[pkid2]... | DELETE | /api/data/HcsCommandDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsCommandDAT/[pkid1]", "/api/data/HcsCommandDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsCommandDAT/?hierarchy=[hierarchy]&format=json
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HcsCommandDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HcsCommandDAT/export/ |
|
{ "hrefs":["/api/data/HcsCommandDAT/[pkid1]", "/api/data/HcsCommandDAT/[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/HcsCommandDAT and the JSON format can be used to import instances of data/HcsCommandDAT.
GET http://[host-proxy]/api/data/HcsCommandDAT/?hierarchy=[hierarchy]
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get a compressed format of the Bulk Load spreadsheet template for data/HcsCommandDAT | POST | /api/data/HcsCommandDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| List | GET | /api/data/HcsCommandDAT/ |
|
The data/HcsCommandDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsCommandDAT instances)
{
"pagination": {
"skip": 0,
"limit": 3,
"maximum_limit": 2000,
"total": 39,
"total_limit": null,
"order_by": "timestamp",
"direction": "asc",
"current": "/api/data/HcsCommandDAT/?skip=0&limit=3&order_by=timestamp&direction=asc&traversal=down"
},
"operations": [
"transform",
"get",
"configuration_template",
"export",
"update",
"export_bulkload_template",
"list",
"bulk_update_form",
"field_display_policy",
"migration",
"help",
"add",
"remove",
"move"
],
"meta": {
"model_type": "data/HcsCommandDAT",
"summary_attrs": [
{
"name": "timestamp",
"title": "Timestamp"
},
{
"name": "deviceName",
"title": "Device Name"
},
{
"name": "gatewayName",
"title": "Gateway Name"
},
{
"name": "commandBuilder",
"title": "Command Builder"
},
{
"name": "description",
"title": "Description"
},
{
"name": "deviceDeleted",
"title": "Device Deleted"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "",
"business_key": {},
"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",
"update",
"remove",
"import",
"help",
"export",
"export_bulkload_template",
"help"
],
"schema_version": "2.3",
"actions": [
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsCommandDAT/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "POST",
"class": "export",
"href": "/api/data/HcsCommandDAT/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/HcsCommandDAT/export_bulkload_template/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Export Bulk Load Template"
}
},
{
"list": {
"method": "GET",
"class": "list",
"href": "/api/data/HcsCommandDAT/?hierarchy=[hierarchy]",
"support_async": false,
"title": "List"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/data/HcsCommandDAT/help?hierarchy=[hierarchy]",
"support_async": false,
"title": "Help"
}
}
]
},
"resources": [
{
"data": {
"deviceName": "AAA-London-VG224-GW1",
"commands": "conf t\nvoice service voip \nno ip address trusted authenticate\ny\nfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw\nmodem passthrough nse codec g711ulaw \nvoice class codec 1\ncodec preference 1 g729r8 bytes 30\ncodec preference 2 g711ulaw\ncodec preference 3 g711alaw\nend",
"gatewayName": "",
"description": "Command Builder for adding an IOS device",
"pkid": "5a8a62120085ec1f7f351a55",
"timestamp": "2018-02-19 07:35:14.526053",
"applicableDevType": "IOS_DEVICE",
"commandBuilder": "addIOSDevice",
"deviceDeleted": true,
"hierarchy_friendly_name": "AAAGlobal (Customer)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal"
},
"meta": {
"model_type": "data/HcsCommandDAT",
"summary_attrs": [
{
"name": "timestamp",
"title": "Timestamp"
},
{
"name": "deviceName",
"title": "Device Name"
},
{
"name": "gatewayName",
"title": "Gateway Name"
},
{
"name": "commandBuilder",
"title": "Command Builder"
},
{
"name": "description",
"title": "Description"
},
{
"name": "deviceDeleted",
"title": "Device Deleted"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "title format",
"business_key": {},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a8673030085ec1f7f30e906",
"href": "/api/data/HierarchyNode/5a8673030085ec1f7f30e906"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/",
"pkid": "5a8a62120085ec1f7f351a54"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a8a62120085ec1f7f351a54"
],
"schema_version": "2.3",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/import/",
"support_async": true,
"title": "Import"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a8a62120085ec1f7f351a54"
},
{
"data": {
"deviceName": "AAA-Berlin-VG224-GW1",
"commands": "conf t\nvoice service voip \nno ip address trusted authenticate\ny\nfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw\nmodem passthrough nse codec g711ulaw \nvoice class codec 1\ncodec preference 1 g729r8 bytes 30\ncodec preference 2 g711ulaw\ncodec preference 3 g711alaw\nend",
"gatewayName": "",
"description": "Command Builder for adding an IOS device",
"pkid": "5a8a621b142896209a62be81",
"timestamp": "2018-02-19 07:35:23.062074",
"applicableDevType": "IOS_DEVICE",
"commandBuilder": "addIOSDevice",
"deviceDeleted": true,
"hierarchy_friendly_name": "AAAGlobal (Customer)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal"
},
"meta": {
"model_type": "data/HcsCommandDAT",
"summary_attrs": [
{
"name": "timestamp",
"title": "Timestamp"
},
{
"name": "deviceName",
"title": "Device Name"
},
{
"name": "gatewayName",
"title": "Gateway Name"
},
{
"name": "commandBuilder",
"title": "Command Builder"
},
{
"name": "description",
"title": "Description"
},
{
"name": "deviceDeleted",
"title": "Device Deleted"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "title format",
"business_key": {},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a8673030085ec1f7f30e906",
"href": "/api/data/HierarchyNode/5a8673030085ec1f7f30e906"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/",
"pkid": "5a8a621b142896209a62be80"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a8a621b142896209a62be80"
],
"schema_version": "2.3",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/import/",
"support_async": true,
"title": "Import"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/data/HcsCommandDAT/5a8a621b142896209a62be80/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a8a621b142896209a62be80"
},
{
"data": {
"deviceName": "AAA-Berlin-VG224-GW2",
"commands": "conf t\nvoice service voip \nno ip address trusted authenticate\ny\nfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw\nmodem passthrough nse codec g711ulaw \nvoice class codec 1\ncodec preference 1 g729r8 bytes 30\ncodec preference 2 g711ulaw\ncodec preference 3 g711alaw\nend",
"gatewayName": "",
"description": "Command Builder for adding an IOS device",
"pkid": "5a8a62210085ec1f7f351a63",
"timestamp": "2018-02-19 07:35:29.270671",
"applicableDevType": "IOS_DEVICE",
"commandBuilder": "addIOSDevice",
"deviceDeleted": true,
"hierarchy_friendly_name": "AAAGlobal (Customer)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal"
},
"meta": {
"model_type": "data/HcsCommandDAT",
"summary_attrs": [
{
"name": "timestamp",
"title": "Timestamp"
},
{
"name": "deviceName",
"title": "Device Name"
},
{
"name": "gatewayName",
"title": "Gateway Name"
},
{
"name": "commandBuilder",
"title": "Command Builder"
},
{
"name": "description",
"title": "Description"
},
{
"name": "deviceDeleted",
"title": "Device Deleted"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "title format",
"business_key": {},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a8673030085ec1f7f30e906",
"href": "/api/data/HierarchyNode/5a8673030085ec1f7f30e906"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/",
"pkid": "5a8a62210085ec1f7f351a62"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a8a62210085ec1f7f351a62"
],
"schema_version": "2.3",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/import/",
"support_async": true,
"title": "Import"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/data/HcsCommandDAT/5a8a62210085ec1f7f351a62/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a8a62210085ec1f7f351a62"
}
]
}
(Show the first instance)
{
"data": {
"deviceName": "AAA-London-VG224-GW1",
"commands": "conf t\nvoice service voip \nno ip address trusted authenticate\ny\nfax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw\nmodem passthrough nse codec g711ulaw \nvoice class codec 1\ncodec preference 1 g729r8 bytes 30\ncodec preference 2 g711ulaw\ncodec preference 3 g711alaw\nend",
"gatewayName": "",
"description": "Command Builder for adding an IOS device",
"timestamp": "2018-02-19 07:35:14.526053",
"applicableDevType": "IOS_DEVICE",
"commandBuilder": "addIOSDevice",
"deviceDeleted": true,
"pkid": "5a8a62120085ec1f7f351a55"
},
"meta": {
"model_type": "data/HcsCommandDAT",
"summary_attrs": [
{
"name": "timestamp",
"title": "Timestamp"
},
{
"name": "deviceName",
"title": "Device Name"
},
{
"name": "gatewayName",
"title": "Gateway Name"
},
{
"name": "commandBuilder",
"title": "Command Builder"
},
{
"name": "description",
"title": "Description"
},
{
"name": "deviceDeleted",
"title": "Device Deleted"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "title format",
"business_key": {},
"api_version": "21.2",
"cached": false,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"href": "/api/data/HierarchyNode/5a8673030085ec1f7f30e906",
"pkid": "5a8673030085ec1f7f30e906"
}
],
"foreign_key": [],
"children": [],
"self": [
{
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/",
"pkid": "5a8a62120085ec1f7f351a54"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a8a62120085ec1f7f351a54"
],
"schema_version": "2.3",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/import/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Import"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/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/HcsCommandDAT/5a8a62120085ec1f7f351a54/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/data/HcsCommandDAT/5a8a62120085ec1f7f351a54/help?hierarchy=[hierarchy]",
"support_async": false,
"title": "Help"
}
}
]
},
"pkid": "5a8a62120085ec1f7f351a54"
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the on-line Help for data/HcsCommandDAT. | GET | /api/data/HcsCommandDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HcsCommandDAT as HTML |
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Modify | PUT | /api/data/HcsCommandDAT/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Delete | DELETE | /api/data/HcsCommandDAT/[pkid] | hierarchy=[hierarchy] |
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Import | POST | /api/data/HcsCommandDAT/[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/HcsCommandDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HcsCommandDAT/[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/HcsCommandDAT and the JSON format can be used to import instances of data/HcsCommandDAT.
For Bulk Export, refer to the Bulk Export section.
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get | GET | /api/data/HcsCommandDAT/[pkid] | hierarchy=[hierarchy] | The data/HcsCommandDAT instance with [pkid]. |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Help | GET | /api/data/HcsCommandDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HcsCommandDAT. |