[Index]
HCSHcmfCustomerLocationDAT
Model ref.: data/HCSHcmfCustomerLocationDAT
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": { "streetAddress3": { "is_password": false, "title": "Street Address3", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "streetAddress2": { "is_password": false, "title": "Street Address2", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "streetAddress1": { "is_password": false, "title": "Street Address1", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "isDefaultLocation": { "is_password": false, "title": "Is Default Location", "default": false, "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "description": { "is_password": false, "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "city": { "is_password": false, "title": "City", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "country": { "is_password": false, "title": "Country", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "state": { "is_password": false, "title": "State", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "customer": { "is_password": false, "target": "/api/data/HCSHcmfCustomerDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Customer", "required": true, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCustomerDAT", "type": "string" }, "extendedName": { "is_password": false, "title": "Extended Name", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "siteLocationCode": { "is_password": false, "title": "Site Location Code", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "externalID": { "is_password": false, "title": "External ID", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "postalCode": { "is_password": false, "title": "Postal Code", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "shortName": { "is_password": false, "title": "Short Name", "required": true, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "bkCustomer_shortName": { "is_password": false, "target": "/api/data/HCSHcmfCustomerDAT/choices/?field=shortName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Bk Customer Short Name", "required": false, "displayable": false, "choices": [], "target_attr": "shortName", "readonly": false, "maxLength": 1024, "target_model_type": "data/HCSHcmfCustomerDAT", "type": "string" }, "id": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } }, "schema_version": "11.5.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HCSHcmfCustomerLocationDAT/add/ |
|
The GUI Add form of data/HCSHcmfCustomerLocationDAT 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/HCSHcmfCustomerLocationDAT/ | 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/HCSHcmfCustomerLocationDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HCSHcmfCustomerLocationDAT/[pkid1]", "/api/data/HCSHcmfCustomerLocationDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HCSHcmfCustomerLocationDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/HCSHcmfCustomerLocationDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/HCSHcmfCustomerLocationDAT/export/ |
|
{ "hrefs":["/api/data/HCSHcmfCustomerLocationDAT/[pkid1]", "/api/data/HCSHcmfCustomerLocationDAT/[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/HCSHcmfCustomerLocationDAT and the JSON format can be used to import instances of data/HCSHcmfCustomerLocationDAT.
GET http://[host-proxy]/api/data/HCSHcmfCustomerLocationDAT/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/HCSHcmfCustomerLocationDAT | POST | /api/data/HCSHcmfCustomerLocationDAT/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HCSHcmfCustomerLocationDAT/ |
|
The data/HCSHcmfCustomerLocationDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HCSHcmfCustomerLocationDAT instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "bkCustomer_shortName", "maximum_limit": 2000, "skip": 0, "current": "/api/data/HCSHcmfCustomerLocationDAT/?skip=0&limit=3&order_by=bkCustomer_shortName&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 23 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": false, "consider_null": true, "unique": [ "bkCustomer_shortName", "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/HCSHcmfCustomerLocationDAT/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerLocationDAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/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/HCSHcmfCustomerLocationDAT/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/HCSHcmfCustomerLocationDAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerLocationDAT/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute", "export", "export_bulkload_template", "help" ], "summary_attrs": [ { "name": "bkCustomer_shortName", "title": "Bk Customer Short Name" }, { "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": "6305c8fac46e74b46889da20", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "consider_null": true, "unique": [ "bkCustomer_shortName", "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305c8fac46e74b46889da20", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/" } ], "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ], "foreign_key": [ { "pkid": "63054c50c46e74b4687bc976", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "63054c50c46e74b4687bc976", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/import/", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/execute/", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/help", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "6305c8fac46e74b46889da20" ], "summary_attrs": [ { "name": "bkCustomer_shortName", "title": "Bk Customer Short Name" }, { "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": { "customer": "[\"AAAGlobal\", \"01088fea-232e-11ed-95ce-0242ac1ffc03\"]", "isDefaultLocation": false, "description": "THIS IS A INTERNALLY RESERVED LOCATION NAME CREATED BY CISCO TO CREATE A CPE WHEN IOS DEVICE GETS CREATED", "pkid": "6305c8fac46e74b46889da21", "id": "4f1b1276-2378-11ed-95ce-0242ac1ffc03", "hierarchy_friendly_name": "AAAGlobal (Customer)", "bkCustomer_shortName": "AAAGlobal", "shortName": "Internal_Reserved", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "63055043c46e74b4687cd4ac", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "consider_null": true, "unique": [ "bkCustomer_shortName", "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63055043c46e74b4687cd4ac", "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/" } ], "parent": [ { "pkid": "6305501dc46e74b4687ccdf9", "href": "/api/data/HierarchyNode/6305501dc46e74b4687ccdf9" } ], "foreign_key": [ { "pkid": "63054c50c46e74b4687bc976", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "63054c50c46e74b4687bc976", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "import": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/import/", "title": "Import", "method": "POST", "class": "import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/execute/", "title": "Execute", "class": "execute", "method": "POST" } }, { "get": { "support_async": false, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/HCSHcmfCustomerLocationDAT/63055043c46e74b4687cd4ac/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "6305501dc46e74b4687ccdf9", "63055043c46e74b4687cd4ac" ], "summary_attrs": [ { "name": "bkCustomer_shortName", "title": "Bk Customer Short Name" }, { "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": { "streetAddress3": "Floor 3", "streetAddress2": "Building 9", "streetAddress1": "7100 Kit Creek Road", "isDefaultLocation": false, "description": "Site added by automation.", "city": "RTP", "pkid": "63055044c46e74b4687cd4b7", "country": "United States of America", "extendedName": "LOC001en", "id": "5c444e4c-2330-11ed-95ce-0242ac1ffc03", "customer": "[\"AAAGlobal\", \"01088fea-232e-11ed-95ce-0242ac1ffc03\"]", "state": "NC", "externalID": "LOC001eid", "postalCode": "27519", "hierarchy_friendly_name": "LOC001 (Site)", "bkCustomer_shortName": "AAAGlobal", "shortName": "LOC001", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC001" } }, { "pkid": "6305506ec46e74b4687ce0bb", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": false, "consider_null": true, "unique": [ "bkCustomer_shortName", "shortName", "id" ] }, "schema_version": "11.5.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305506ec46e74b4687ce0bb", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/" } ], "parent": [ { "pkid": "63055054c46e74b4687cd8a0", "href": "/api/data/HierarchyNode/63055054c46e74b4687cd8a0" } ], "foreign_key": [ { "pkid": "63054c50c46e74b4687bc976", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "63054c50c46e74b4687bc976", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/", "class": "delete", "title": "Delete" } }, { "import": { "support_async": true, "class": "import", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/import/", "method": "POST", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/execute/", "class": "execute", "title": "Execute" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305506ec46e74b4687ce0bb/help", "class": "help", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "63055054c46e74b4687cd8a0", "6305506ec46e74b4687ce0bb" ], "summary_attrs": [ { "name": "bkCustomer_shortName", "title": "Bk Customer Short Name" }, { "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": { "streetAddress3": "Floor 3", "streetAddress2": "Building 9", "streetAddress1": "7100 Kit Creek Road", "isDefaultLocation": false, "description": "Site added by automation.", "city": "RTP", "pkid": "6305506fc46e74b4687ce0c9", "country": "United States of America", "extendedName": "LOC002en", "id": "758691da-2330-11ed-95ce-0242ac1ffc03", "customer": "[\"AAAGlobal\", \"01088fea-232e-11ed-95ce-0242ac1ffc03\"]", "state": "NC", "externalID": "LOC002eid", "postalCode": "27519", "hierarchy_friendly_name": "LOC002 (Site)", "bkCustomer_shortName": "AAAGlobal", "shortName": "LOC002", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC002" } } ] }
(Show the first instance)
{ "pkid": "6305c8fac46e74b46889da20", "meta": { "tags": [], "cached": false, "title": "title format", "business_key": { "hierarchy": false, "consider_null": true, "unique": [ "bkCustomer_shortName", "shortName", "id" ] }, "schema_version": "11.5.1", "references": { "parent": [ { "pkid": "63054c4fc46e74b4687bc91b", "href": "/api/data/HierarchyNode/63054c4fc46e74b4687bc91b" } ], "self": [ { "pkid": "6305c8fac46e74b46889da20", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/" } ], "foreign_key": [ { "pkid": "63054c50c46e74b4687bc976", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "63054c50c46e74b4687bc976", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/execute/?hierarchy=[hierarchy]", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerLocationDAT/6305c8fac46e74b46889da20/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63054bfdc46e74b4687bb868", "63054c3bc46e74b4687bc61b", "63054c4fc46e74b4687bc91b", "6305c8fac46e74b46889da20" ], "summary_attrs": [ { "name": "bkCustomer_shortName", "title": "Bk Customer Short Name" }, { "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": { "customer": "[\"AAAGlobal\", \"01088fea-232e-11ed-95ce-0242ac1ffc03\"]", "isDefaultLocation": false, "description": "THIS IS A INTERNALLY RESERVED LOCATION NAME CREATED BY CISCO TO CREATE A CPE WHEN IOS DEVICE GETS CREATED", "pkid": "6305c8fac46e74b46889da21", "shortName": "Internal_Reserved", "bkCustomer_shortName": "AAAGlobal", "id": "4f1b1276-2378-11ed-95ce-0242ac1ffc03" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/HCSHcmfCustomerLocationDAT. | GET | /api/data/HCSHcmfCustomerLocationDAT/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/HCSHcmfCustomerLocationDAT as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HCSHcmfCustomerLocationDAT/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HCSHcmfCustomerLocationDAT/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HCSHcmfCustomerLocationDAT/[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/HCSHcmfCustomerLocationDAT; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/HCSHcmfCustomerLocationDAT/[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/HCSHcmfCustomerLocationDAT and the JSON format can be used to import instances of data/HCSHcmfCustomerLocationDAT.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/HCSHcmfCustomerLocationDAT/[pkid]/execute/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HCSHcmfCustomerLocationDAT/[pkid]/ | hierarchy=[hierarchy] | The data/HCSHcmfCustomerLocationDAT instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/HCSHcmfCustomerLocationDAT/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/HCSHcmfCustomerLocationDAT. |