[Index]
HCSHcmfCustomerDAT
Model ref.: data/HCSHcmfCustomerDAT
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": { "usesTMSs": { "is_password": false, "title": "Uses TM Ss", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfTMSDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfTMSDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "contactCountry": { "is_password": false, "title": "Contact Country", "required": false, "displayable": false, "readonly": false, "maxLength": 32, "type": "string" }, "contactPhoneNumber": { "is_password": false, "title": "Contact Phone Number", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactCity": { "is_password": false, "title": "Contact City", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "directoryDomain": { "is_password": false, "target": "/api/data/HCSHcmfDirectoryDomainDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Directory Domain", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfDirectoryDomainDAT", "type": "string" }, "contactEmail": { "is_password": false, "title": "Contact Email", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactName": { "is_password": false, "title": "Contact Name", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "id": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "monitorsPrimeCollab": { "is_password": false, "target": "/api/data/HCSHcmfPrimeCollabDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Monitors Prime Collab", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfPrimeCollabDAT", "type": "string" }, "cUCDM": { "is_password": false, "target": "/api/data/HCSHcmfCUCDMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "CUCDM", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCUCDMDAT", "type": "string" }, "contactPostZip": { "is_password": false, "title": "Contact Post Zip", "required": false, "displayable": false, "readonly": false, "maxLength": 32, "type": "string" }, "usesCTX": { "is_password": false, "target": "/api/data/HCSHcmfCTXDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Uses CTX", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCTXDAT", "type": "string" }, "clusters": { "is_password": false, "title": "Clusters", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfClusterDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfClusterDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "usesCTMSs": { "is_password": false, "title": "Uses CTM Ss", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfCTMSDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfCTMSDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "cUCDM2": { "is_password": false, "target": "/api/data/HCSHcmfCUCDM2DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "CUCDM2", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCUCDM2DAT", "type": "string" }, "accountID": { "is_password": false, "title": "Account ID", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactAddress2": { "is_password": false, "title": "Contact Address2", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactAddress1": { "is_password": false, "title": "Contact Address1", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "description": { "is_password": false, "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "serviceProvider": { "is_password": false, "target": "/api/data/HCSHcmfServiceProviderDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Service Provider", "required": true, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfServiceProviderDAT", "type": "string" }, "northboundAdjacencies": { "is_password": false, "title": "Northbound Adjacencies", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfNorthboundAdjacencyDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfNorthboundAdjacencyDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "contactState": { "is_password": false, "title": "Contact State", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "dealIDInfo": { "is_password": false, "title": "Deal ID Info", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "ownsCTX": { "is_password": false, "target": "/api/data/HCSHcmfCTXDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Owns CTX", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCTXDAT", "type": "string" }, "extendedName": { "is_password": false, "title": "Extended Name", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "usesIVRs": { "is_password": false, "title": "Uses IV Rs", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfIVRDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfIVRDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "externalCustomerID": { "is_password": false, "title": "External Customer ID", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "shortName": { "is_password": false, "title": "Short Name", "required": true, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "usesMCUs": { "is_password": false, "title": "Uses MC Us", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfMCUDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfMCUDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "usesTS_Hardwares": { "is_password": false, "title": "Uses TS Hardwares", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfTS_HardwareDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfTS_HardwareDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "usesVPGWs": { "is_password": false, "title": "Uses VPG Ws", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfVPGWDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfVPGWDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "reseller": { "is_password": false, "target": "/api/data/HCSHcmfResellerDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Reseller", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfResellerDAT", "type": "string" }, "eLM": { "is_password": false, "target": "/api/data/HCSHcmfELMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "ELM", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfELMDAT", "type": "string" }, "usesTS_Virtuals": { "is_password": false, "title": "Uses TS Virtuals", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfTS_VirtualDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfTS_VirtualDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "cCDM": { "is_password": false, "target": "/api/data/HCSHcmfCCDMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "CCDM", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCCDMDAT", "type": "string" }, "usesTS_Supervisors": { "is_password": false, "title": "Uses TS Supervisors", "minItems": 0, "items": { "is_password": false, "target": "/api/data/HCSHcmfTS_SupervisorDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_model_type": "data/HCSHcmfTS_SupervisorDAT", "type": "string" }, "required": false, "displayable": false, "readonly": false, "type": "array" }, "cUOM": { "is_password": false, "target": "/api/data/HCSHcmfCUOMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "CUOM", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCUOMDAT", "type": "string" } }, "schema_version": "11.5.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HCSHcmfCustomerDAT/add/ |
|
The GUI Add form of data/HCSHcmfCustomerDAT 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/HCSHcmfCustomerDAT/ | 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/HCSHcmfCustomerDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HCSHcmfCustomerDAT/[pkid1]", "/api/data/HCSHcmfCustomerDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HCSHcmfCustomerDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HCSHcmfCustomerDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HCSHcmfCustomerDAT/export/ |
|
{ "hrefs":["/api/data/HCSHcmfCustomerDAT/[pkid1]", "/api/data/HCSHcmfCustomerDAT/[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/HCSHcmfCustomerDAT and the JSON format can be used to import instances of data/HCSHcmfCustomerDAT.
GET http://[host-proxy]/api/data/HCSHcmfCustomerDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HCSHcmfCustomerDAT | POST | /api/data/HCSHcmfCustomerDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HCSHcmfCustomerDAT/ |
|
The data/HCSHcmfCustomerDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HCSHcmfCustomerDAT 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": "shortName", "maximum_limit": 2000, "skip": 0, "current": "/api/data/HCSHcmfCustomerDAT/?skip=0&limit=3&order_by=shortName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 4 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": false, "unique": [ "shortName", "id" ] }, "schema_version": "11.5.1", "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/HCSHcmfCustomerDAT/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerDAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerDAT/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/HCSHcmfCustomerDAT/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/HCSHcmfCustomerDAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerDAT/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerDAT", "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute", "export", "export_bulkload_template", "help" ], "summary_attrs": [ { "name": "shortName", "title": "Short Name" }, { "name": "id", "title": "Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "61b12ee1eadb826afd7b71bb", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b12ee1eadb826afd7b71bb", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [ { "pkid": "61b0e7a841e9336d6e1f6106", "path": "serviceProvider", "model_type": "data/HCSHcmfServiceProviderDAT" }, { "pkid": "61b12ed1eadb826afd7b6df6", "path": "reseller", "model_type": "data/HCSHcmfResellerDAT" }, { "pkid": "61b12f75eadb826afd7b96af", "path": "clusters.0", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12fa0eadb826afd7ba24d", "path": "clusters.1", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f51eadb826afd7b8ca0", "path": "clusters.2", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f2aeadb826afd7b846e", "path": "clusters.3", "model_type": "data/HCSHcmfClusterDAT" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/import/", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/execute/", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/help", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerDAT", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b12ee1eadb826afd7b71bb" ], "summary_attrs": [ { "name": "shortName", "title": "Short Name" }, { "name": "id", "title": "Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "contactPhoneNumber": "919-555-0001", "contactAddress1": "7100-9 Kit Creek Road", "contactCountry": "USA", "description": "AAAGlobal Description", "reseller": "[\"CS-NB\", \"8a2f598c-5874-11ec-8caf-0242ac1ffc05\"]", "pkid": "61b12ee1eadb826afd7b71bc", "serviceProvider": "[\"CS-P\", \"1\"]", "contactCity": "RTP", "contactState": "NC", "contactEmail": "[email protected]", "hierarchy_friendly_name": "AAAGlobal (Customer)", "contactName": "AAAGlobal Admin", "contactPostZip": "27709", "clusters": [ "[\"AAAGlobal-CL2, ea831b8e-5874-11ec-8caf-0242ac1ffc05\", \"ea831b8e-5874-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CUCX-CL2, 03be1b44-5875-11ec-8caf-0242ac1ffc05\", \"03be1b44-5875-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CUCX-CL1, d5b5dd9a-5874-11ec-8caf-0242ac1ffc05\", \"d5b5dd9a-5874-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CL1, be6fb818-5874-11ec-8caf-0242ac1ffc05\", \"be6fb818-5874-11ec-8caf-0242ac1ffc05\"]" ], "shortName": "AAAGlobal", "id": "9354cfec-5874-11ec-8caf-0242ac1ffc05", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "61b12eeeeadb826afd7b7527", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b12eeeeadb826afd7b7527", "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/" } ], "parent": [ { "pkid": "61b12eeceadb826afd7b74c0", "href": "/api/data/HierarchyNode/61b12eeceadb826afd7b74c0" } ], "foreign_key": [ { "pkid": "61b0e7a841e9336d6e1f6106", "path": "serviceProvider", "model_type": "data/HCSHcmfServiceProviderDAT" }, { "pkid": "61b12effeadb826afd7b79a9", "path": "clusters.0", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f10eadb826afd7b7d42", "path": "clusters.1", "model_type": "data/HCSHcmfClusterDAT" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "import": { "support_async": true, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/import/", "title": "Import", "method": "POST", "class": "import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/execute/", "title": "Execute", "class": "execute", "method": "POST" } }, { "get": { "support_async": false, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/HCSHcmfCustomerDAT/61b12eeeeadb826afd7b7527/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/HCSHcmfCustomerDAT", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12eeceadb826afd7b74c0", "61b12eeeeadb826afd7b7527" ], "summary_attrs": [ { "name": "shortName", "title": "Short Name" }, { "name": "id", "title": "Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "contactPhoneNumber": "919-555-0001", "contactAddress1": "7100-9 Kit Creek Road", "contactCountry": "USA", "description": "GeoLogic Description", "pkid": "61b12eeeeadb826afd7b7528", "serviceProvider": "[\"CS-P\", \"1\"]", "contactCity": "RTP", "contactState": "NC", "contactEmail": "[email protected]", "hierarchy_friendly_name": "GeoLogic (Customer)", "contactName": "GeoLogic Admin", "contactPostZip": "27709", "clusters": [ "[\"CS-P-CL1, a4c257cc-5874-11ec-8caf-0242ac1ffc05\", \"a4c257cc-5874-11ec-8caf-0242ac1ffc05\"]", "[\"CS-P-CUCX-CL1, aefbfcc0-5874-11ec-8caf-0242ac1ffc05\", \"aefbfcc0-5874-11ec-8caf-0242ac1ffc05\"]" ], "shortName": "GeoLogic", "id": "9b3e9814-5874-11ec-8caf-0242ac1ffc05", "hierarchy_path": "sys.hcs.CS-P.GeoLogic" } }, { "pkid": "61b13917eadb826afd7d8d31", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b13917eadb826afd7d8d31", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/" } ], "parent": [ { "pkid": "61b13916eadb826afd7d8cd0", "href": "/api/data/HierarchyNode/61b13916eadb826afd7d8cd0" } ], "foreign_key": [ { "pkid": "61b0e7a841e9336d6e1f6106", "path": "serviceProvider", "model_type": "data/HCSHcmfServiceProviderDAT" }, { "pkid": "61b12ed1eadb826afd7b6df6", "path": "reseller", "model_type": "data/HCSHcmfResellerDAT" }, { "pkid": "61b12effeadb826afd7b79a9", "path": "clusters.0", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f10eadb826afd7b7d42", "path": "clusters.1", "model_type": "data/HCSHcmfClusterDAT" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/", "class": "delete", "title": "Delete" } }, { "import": { "support_async": true, "class": "import", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/import/", "method": "POST", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/execute/", "class": "execute", "title": "Execute" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerDAT/61b13917eadb826afd7d8d31/help", "class": "help", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerDAT", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b13916eadb826afd7d8cd0", "61b13917eadb826afd7d8d31" ], "summary_attrs": [ { "name": "shortName", "title": "Short Name" }, { "name": "id", "title": "Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "contactPhoneNumber": "812-555-0001", "contactAddress1": "4001-5 North Bound Creek Road", "contactCountry": "USA", "description": "NBIcorp Description", "reseller": "[\"CS-NB\", \"8a2f598c-5874-11ec-8caf-0242ac1ffc05\"]", "pkid": "61b13917eadb826afd7d8d32", "serviceProvider": "[\"CS-P\", \"1\"]", "contactCity": "CAL", "contactState": "CA", "contactEmail": "[email protected]", "hierarchy_friendly_name": "NBIcorp (Customer)", "contactName": "NBIcorp Admin", "contactPostZip": "95825", "externalCustomerID": "NBIcorp001", "clusters": [ "[\"CS-P-CL1, a4c257cc-5874-11ec-8caf-0242ac1ffc05\", \"a4c257cc-5874-11ec-8caf-0242ac1ffc05\"]", "[\"CS-P-CUCX-CL1, aefbfcc0-5874-11ec-8caf-0242ac1ffc05\", \"aefbfcc0-5874-11ec-8caf-0242ac1ffc05\"]" ], "shortName": "NBIcorp", "id": "a9b2004c-587a-11ec-8caf-0242ac1ffc05", "hierarchy_path": "sys.hcs.CS-P.CS-NB.NBIcorp" } } ] }
(Show the first instance)
{ "pkid": "61b12ee1eadb826afd7b71bb", "meta": { "tags": [], "cached": false, "title": "title format", "business_key": { "hierarchy": false, "unique": [ "shortName", "id" ] }, "schema_version": "11.5.1", "references": { "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "self": [ { "pkid": "61b12ee1eadb826afd7b71bb", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/" } ], "foreign_key": [ { "pkid": "61b0e7a841e9336d6e1f6106", "path": "serviceProvider", "model_type": "data/HCSHcmfServiceProviderDAT" }, { "pkid": "61b12ed1eadb826afd7b6df6", "path": "reseller", "model_type": "data/HCSHcmfResellerDAT" }, { "pkid": "61b12f75eadb826afd7b96af", "path": "clusters.0", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12fa0eadb826afd7ba24d", "path": "clusters.1", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f51eadb826afd7b8ca0", "path": "clusters.2", "model_type": "data/HCSHcmfClusterDAT" }, { "pkid": "61b12f2aeadb826afd7b846e", "path": "clusters.3", "model_type": "data/HCSHcmfClusterDAT" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/execute/?hierarchy=[hierarchy]", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerDAT/61b12ee1eadb826afd7b71bb/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerDAT", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b12ee1eadb826afd7b71bb" ], "summary_attrs": [ { "name": "shortName", "title": "Short Name" }, { "name": "id", "title": "Id" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "contactPhoneNumber": "919-555-0001", "contactAddress1": "7100-9 Kit Creek Road", "contactCountry": "USA", "description": "AAAGlobal Description", "reseller": "[\"CS-NB\", \"8a2f598c-5874-11ec-8caf-0242ac1ffc05\"]", "pkid": "61b12ee1eadb826afd7b71bc", "serviceProvider": "[\"CS-P\", \"1\"]", "contactCity": "RTP", "contactPostZip": "27709", "contactEmail": "[email protected]", "contactName": "AAAGlobal Admin", "contactState": "NC", "clusters": [ "[\"AAAGlobal-CL2, ea831b8e-5874-11ec-8caf-0242ac1ffc05\", \"ea831b8e-5874-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CUCX-CL2, 03be1b44-5875-11ec-8caf-0242ac1ffc05\", \"03be1b44-5875-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CUCX-CL1, d5b5dd9a-5874-11ec-8caf-0242ac1ffc05\", \"d5b5dd9a-5874-11ec-8caf-0242ac1ffc05\"]", "[\"AAAGlobal-CL1, be6fb818-5874-11ec-8caf-0242ac1ffc05\", \"be6fb818-5874-11ec-8caf-0242ac1ffc05\"]" ], "shortName": "AAAGlobal", "id": "9354cfec-5874-11ec-8caf-0242ac1ffc05" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HCSHcmfCustomerDAT. | GET | /api/data/HCSHcmfCustomerDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HCSHcmfCustomerDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HCSHcmfCustomerDAT/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HCSHcmfCustomerDAT/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HCSHcmfCustomerDAT/[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/HCSHcmfCustomerDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HCSHcmfCustomerDAT/[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/HCSHcmfCustomerDAT and the JSON format can be used to import instances of data/HCSHcmfCustomerDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/HCSHcmfCustomerDAT/[pkid]/execute/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HCSHcmfCustomerDAT/[pkid]/ | hierarchy=[hierarchy] | The data/HCSHcmfCustomerDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HCSHcmfCustomerDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HCSHcmfCustomerDAT. |