[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", "move", "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": 20 }, "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": "610a1a1fe04a4a0014a79ad6", "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": "610a1a1fe04a4a0014a79ad6", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/" } ], "parent": [ { "pkid": "6109c040e04a4a00149d61cf", "href": "/api/data/HierarchyNode/6109c040e04a4a00149d61cf" } ], "foreign_key": [ { "pkid": "6109c042e04a4a00149d6230", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "6109c042e04a4a00149d6230", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/import/", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/execute/", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/help", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "61097058e04a4a001501b18c", "6109bff5e04a4a00149d4e1d", "6109c032e04a4a00149d5e4d", "6109c040e04a4a00149d61cf", "610a1a1fe04a4a0014a79ad6" ], "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\", \"76794a2c-f4a8-11eb-82f4-0242ac1ffc03\"]", "isDefaultLocation": false, "description": "THIS IS A INTERNALLY RESERVED LOCATION NAME CREATED BY CISCO TO CREATE A CPE WHEN IOS DEVICE GETS CREATED", "pkid": "610a1a1fe04a4a0014a79ad7", "id": "06686160-f4de-11eb-82f4-0242ac1ffc03", "hierarchy_friendly_name": "AAAGlobal (Customer)", "bkCustomer_shortName": "AAAGlobal", "shortName": "Internal_Reserved", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "6109c27ce04a4a00149df870", "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": "6109c27ce04a4a00149df870", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/" } ], "parent": [ { "pkid": "6109c228e04a4a00149dd97c", "href": "/api/data/HierarchyNode/6109c228e04a4a00149dd97c" } ], "foreign_key": [ { "pkid": "6109c042e04a4a00149d6230", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "6109c042e04a4a00149d6230", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "import": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/import/", "title": "Import", "method": "POST", "class": "import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/execute/", "title": "Execute", "class": "execute", "method": "POST" } }, { "get": { "support_async": false, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c27ce04a4a00149df870/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "61097058e04a4a001501b18c", "6109bff5e04a4a00149d4e1d", "6109c032e04a4a00149d5e4d", "6109c040e04a4a00149d61cf", "6109c228e04a4a00149dd97c", "6109c27ce04a4a00149df870" ], "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": "6109c27de04a4a00149df89b", "country": "United States of America", "extendedName": "LOC001en", "id": "cba93fba-f4a9-11eb-82f4-0242ac1ffc03", "customer": "[\"AAAGlobal\", \"76794a2c-f4a8-11eb-82f4-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": "6109c2f3e04a4a00149e23bb", "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": "6109c2f3e04a4a00149e23bb", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/" } ], "parent": [ { "pkid": "6109c297e04a4a00149e0152", "href": "/api/data/HierarchyNode/6109c297e04a4a00149e0152" } ], "foreign_key": [ { "pkid": "6109c042e04a4a00149d6230", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "6109c042e04a4a00149d6230", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/", "class": "delete", "title": "Delete" } }, { "import": { "support_async": true, "class": "import", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/import/", "method": "POST", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "execute": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/execute/", "class": "execute", "title": "Execute" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/HCSHcmfCustomerLocationDAT/6109c2f3e04a4a00149e23bb/help", "class": "help", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "61097058e04a4a001501b18c", "6109bff5e04a4a00149d4e1d", "6109c032e04a4a00149d5e4d", "6109c040e04a4a00149d61cf", "6109c297e04a4a00149e0152", "6109c2f3e04a4a00149e23bb" ], "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": "6109c2f4e04a4a00149e23fc", "country": "United States of America", "extendedName": "LOC002en", "id": "130dbffc-f4aa-11eb-82f4-0242ac1ffc03", "customer": "[\"AAAGlobal\", \"76794a2c-f4a8-11eb-82f4-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": "610a1a1fe04a4a0014a79ad6", "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": "6109c040e04a4a00149d61cf", "href": "/api/data/HierarchyNode/6109c040e04a4a00149d61cf" } ], "self": [ { "pkid": "610a1a1fe04a4a0014a79ad6", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/" } ], "foreign_key": [ { "pkid": "6109c042e04a4a00149d6230", "path": "customer", "model_type": "data/HCSHcmfCustomerDAT" }, { "pkid": "6109c042e04a4a00149d6230", "path": "bkCustomer_shortName", "model_type": "data/HCSHcmfCustomerDAT" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/execute/?hierarchy=[hierarchy]", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/HCSHcmfCustomerLocationDAT/610a1a1fe04a4a0014a79ad6/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/HCSHcmfCustomerLocationDAT", "path": [ "6t0ggef2c0deab00hb595101", "61097058e04a4a001501b18c", "6109bff5e04a4a00149d4e1d", "6109c032e04a4a00149d5e4d", "6109c040e04a4a00149d61cf", "610a1a1fe04a4a0014a79ad6" ], "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\", \"76794a2c-f4a8-11eb-82f4-0242ac1ffc03\"]", "isDefaultLocation": false, "description": "THIS IS A INTERNALLY RESERVED LOCATION NAME CREATED BY CISCO TO CREATE A CPE WHEN IOS DEVICE GETS CREATED", "pkid": "610a1a1fe04a4a0014a79ad7", "shortName": "Internal_Reserved", "bkCustomer_shortName": "AAAGlobal", "id": "06686160-f4de-11eb-82f4-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. |