[Index]
HCSHcmfOrgUnitDAT
Model ref.: data/HCSHcmfOrgUnitDAT
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": { "baseKey": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "id": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "description": { "is_password": false, "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "accountID": { "is_password": false, "title": "Account ID", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactName": { "is_password": false, "title": "Contact Name", "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" }, "contactAddress2": { "is_password": false, "title": "Contact Address2", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactCity": { "is_password": false, "title": "Contact City", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactState": { "is_password": false, "title": "Contact State", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactPostZip": { "is_password": false, "title": "Contact Post Zip", "required": false, "displayable": false, "readonly": false, "maxLength": 32, "type": "string" }, "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" }, "contactEmail": { "is_password": false, "title": "Contact Email", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "cCDM": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "CCDM", "type": "string", "target": "/api/data/HCSHcmfCCDMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfCCDMDAT", "choices": [] }, "cUCDM2": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "CUCDM2", "type": "string", "target": "/api/data/HCSHcmfCUCDM2DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfCUCDM2DAT", "choices": [] }, "directoryDomain": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Directory Domain", "type": "string", "target": "/api/data/HCSHcmfDirectoryDomainDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfDirectoryDomainDAT", "choices": [] }, "ownsCTX": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Owns CTX", "type": "string", "target": "/api/data/HCSHcmfCTXDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfCTXDAT", "choices": [] }, "monitorsPrimeCollab": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Monitors Prime Collab", "type": "string", "target": "/api/data/HCSHcmfPrimeCollabDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfPrimeCollabDAT", "choices": [] } }, "schema_version": "11.5.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HCSHcmfOrgUnitDAT/add/ |
|
The GUI Add form of data/HCSHcmfOrgUnitDAT 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/HCSHcmfOrgUnitDAT | 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/HCSHcmfOrgUnitDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HCSHcmfOrgUnitDAT/[pkid1]", "/api/data/HCSHcmfOrgUnitDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HCSHcmfOrgUnitDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HCSHcmfOrgUnitDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HCSHcmfOrgUnitDAT/export/ |
|
{ "hrefs":["/api/data/HCSHcmfOrgUnitDAT/[pkid1]", "/api/data/HCSHcmfOrgUnitDAT/[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/HCSHcmfOrgUnitDAT and the JSON format can be used to import instances of data/HCSHcmfOrgUnitDAT.
GET http://[host-proxy]/api/data/HCSHcmfOrgUnitDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HCSHcmfOrgUnitDAT | POST | /api/data/HCSHcmfOrgUnitDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HCSHcmfOrgUnitDAT/ |
|
The data/HCSHcmfOrgUnitDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HCSHcmfOrgUnitDAT instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 7, "total_limit": null, "order_by": "baseKey", "direction": "asc", "current": "/api/data/HCSHcmfOrgUnitDAT/?skip=0&limit=3&order_by=baseKey&direction=asc&traversal=down" }, "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/HCSHcmfOrgUnitDAT", "summary_attrs": [ { "name": "baseKey", "title": "Basekey" }, { "name": "id", "title": "Id" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "hierarchy": false, "unique": [ "baseKey", "id" ] }, "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", "execute", "export", "export_bulkload_template", "help" ], "schema_version": "11.5.1", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/HCSHcmfOrgUnitDAT/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HCSHcmfOrgUnitDAT/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/HCSHcmfOrgUnitDAT/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/HCSHcmfOrgUnitDAT/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/HCSHcmfOrgUnitDAT/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HCSHcmfOrgUnitDAT/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "contactPhoneNumber": "+33 5 81 31 75 00", "contactAddress1": "Axis Building, 20 rue de Group d'Argent", "contactCountry": "France", "description": "AB Group", "contactPostZip": "31815", "contactCity": "Bleriot Cedex", "contactEmail": "msmith@AB_Group.com", "baseKey": "AB_Group, 0681ea08-4d62-11e8-aee0-0050569b71db", "contactName": "Mark Smith", "id": "0681ea08-4d62-11e8-aee0-0050569b71db", "accountID": "AB_Group-C1", "pkid": "5ae89ea5affa931cce38a64f", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/HCSHcmfOrgUnitDAT", "summary_attrs": [ { "name": "baseKey", "title": "Basekey" }, { "name": "id", "title": "Id" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "baseKey", "id" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [], "self": [ { "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/", "pkid": "5ae89ea5affa931cce38a64e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89ea5affa931cce38a64e" ], "schema_version": "11.5.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89ea5affa931cce38a64e" }, { "data": { "contactAddress2": "Imperial Way", "contactAddress1": "Atlantic House", "contactCountry": "United Kingdom", "description": "Cisco HCS-10 AB Multi-National", "contactPhoneNumber": "+44 7775 895001", "pkid": "5ae89c14affa931cce386c65", "contactPostZip": "RG2 0TD", "contactCity": "Reading", "contactEmail": "[email protected]", "baseKey": "CS-AB, 7da24616-4d60-11e8-aee0-0050569b71db", "contactName": "Max Schmidt", "contactState": "Berkshire", "id": "7da24616-4d60-11e8-aee0-0050569b71db", "hierarchy_friendly_name": "CS-AB (Reseller)", "hierarchy_path": "sys.hcs.CS-P.CS-AB" }, "meta": { "model_type": "data/HCSHcmfOrgUnitDAT", "summary_attrs": [ { "name": "baseKey", "title": "Basekey" }, { "name": "id", "title": "Id" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "baseKey", "id" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89c0faffa931cce386c0f", "href": "/api/data/HierarchyNode/5ae89c0faffa931cce386c0f" } ], "foreign_key": [], "self": [ { "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/", "pkid": "5ae89c14affa931cce386c64" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89c14affa931cce386c64" ], "schema_version": "11.5.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89c14affa931cce386c64/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89c14affa931cce386c64" }, { "data": { "contactAddress2": "Imperial Way", "contactAddress1": "Atlantic House", "contactCountry": "United Kingdom", "description": "Cisco HCS-10 New Build Channel", "contactPhoneNumber": "+44 7775 891234", "pkid": "5ae89bdaaffa931cce38644f", "contactPostZip": "RG2 0TD", "contactCity": "Reading", "contactEmail": "[email protected]", "baseKey": "CS-NB, 5b498390-4d60-11e8-aee0-0050569b71db", "contactName": "Geoff Davis", "contactState": "Berkshire", "id": "5b498390-4d60-11e8-aee0-0050569b71db", "hierarchy_friendly_name": "CS-NB (Reseller)", "hierarchy_path": "sys.hcs.CS-P.CS-NB" }, "meta": { "model_type": "data/HCSHcmfOrgUnitDAT", "summary_attrs": [ { "name": "baseKey", "title": "Basekey" }, { "name": "id", "title": "Id" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "baseKey", "id" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89bd5affa931cce3863f9", "href": "/api/data/HierarchyNode/5ae89bd5affa931cce3863f9" } ], "foreign_key": [], "self": [ { "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/", "pkid": "5ae89bdaaffa931cce38644e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89bd5affa931cce3863f9", "5ae89bdaaffa931cce38644e" ], "schema_version": "11.5.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/import/", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/execute/", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89bdaaffa931cce38644e/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae89bdaaffa931cce38644e" } ] }
(Show the first instance)
{ "data": { "contactPhoneNumber": "+33 5 81 31 75 00", "contactAddress1": "Axis Building, 20 rue de Group d'Argent", "contactCountry": "France", "description": "AB Group", "contactPostZip": "31815", "contactCity": "Bleriot Cedex", "contactEmail": "msmith@AB_Group.com", "baseKey": "AB_Group, 0681ea08-4d62-11e8-aee0-0050569b71db", "contactName": "Mark Smith", "id": "0681ea08-4d62-11e8-aee0-0050569b71db", "accountID": "AB_Group-C1", "pkid": "5ae89ea5affa931cce38a64f" }, "meta": { "model_type": "data/HCSHcmfOrgUnitDAT", "summary_attrs": [ { "name": "baseKey", "title": "Basekey" }, { "name": "id", "title": "Id" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "title format", "business_key": { "hierarchy": false, "unique": [ "baseKey", "id" ] }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523", "pkid": "5ae89ea2affa931cce38a523" } ], "foreign_key": [], "children": [], "self": [ { "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/", "pkid": "5ae89ea5affa931cce38a64e" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89ea5affa931cce38a64e" ], "schema_version": "11.5.1", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "import": { "method": "POST", "class": "import", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/import/?hierarchy=[hierarchy]", "support_async": true, "title": "Import" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "execute": { "method": "POST", "class": "execute", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/execute/?hierarchy=[hierarchy]", "support_async": true, "title": "Execute" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/HCSHcmfOrgUnitDAT/5ae89ea5affa931cce38a64e/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "5ae89ea5affa931cce38a64e" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HCSHcmfOrgUnitDAT. | GET | /api/data/HCSHcmfOrgUnitDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HCSHcmfOrgUnitDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HCSHcmfOrgUnitDAT/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HCSHcmfOrgUnitDAT/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HCSHcmfOrgUnitDAT/[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/HCSHcmfOrgUnitDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HCSHcmfOrgUnitDAT/[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/HCSHcmfOrgUnitDAT and the JSON format can be used to import instances of data/HCSHcmfOrgUnitDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/HCSHcmfOrgUnitDAT/[pkid]/execute | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HCSHcmfOrgUnitDAT/[pkid] | hierarchy=[hierarchy] | The data/HCSHcmfOrgUnitDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HCSHcmfOrgUnitDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HCSHcmfOrgUnitDAT. |