[Index]
HcsLocalizedStringDat
Model ref.: data/HcsLocalizedStringDat
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": {
"key": {
"title": "Key",
"type": "string",
"maxLength": 1024,
"required": true,
"readonly": false,
"is_password": false,
"displayable": false
},
"value": {
"title": "Localized String",
"type": "string",
"maxLength": 1024,
"required": true,
"readonly": false,
"is_password": false,
"displayable": true
}
},
"schema_version": "2.1"
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the GUI Add form. | GET | /api/data/HcsLocalizedStringDat/add/ |
|
The GUI Add form of data/HcsLocalizedStringDat 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/HcsLocalizedStringDat | 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/HcsLocalizedStringDat/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsLocalizedStringDat/[pkid1]", "/api/data/HcsLocalizedStringDat/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsLocalizedStringDat/?hierarchy=[hierarchy]&format=json
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| List | GET | /api/data/HcsLocalizedStringDat/ |
|
The data/HcsLocalizedStringDat schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsLocalizedStringDat instances)
{
"pagination": {
"skip": 0,
"limit": 3,
"maximum_limit": 2000,
"total": 149,
"total_limit": null,
"order_by": "key",
"direction": "asc",
"current": "/api/data/HcsLocalizedStringDat/?skip=0&limit=3&order_by=key&direction=asc&traversal=fulltree"
},
"operations": [
"export",
"help",
"update",
"migration",
"get",
"list",
"remove",
"configuration_template",
"add",
"export_bulkload_template",
"transform",
"bulk_update_form",
"field_display_policy"
],
"meta": {
"model_type": "data/HcsLocalizedStringDat",
"summary_attrs": [
{
"name": "key",
"title": "Key"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "",
"business_key": {
"unique": [
"key"
],
"hierarchy": true
},
"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"
],
"schema_version": "2.1",
"actions": [
{
"add": {
"method": "GET",
"class": "add",
"href": "/api/data/HcsLocalizedStringDat/add/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Add"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsLocalizedStringDat/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"list": {
"method": "GET",
"class": "list",
"href": "/api/data/HcsLocalizedStringDat/?hierarchy=[hierarchy]",
"support_async": false,
"title": "List"
}
}
]
},
"resources": [
{
"data": {
"value": "Custom Templates Audit",
"key": "auditReport_component",
"pkid": "5da4c9d8ce894e00122285e2",
"hierarchy_friendly_name": "hcs (Hcs)",
"hierarchy_path": "sys.hcs"
},
"meta": {
"model_type": "data/HcsLocalizedStringDat",
"summary_attrs": [
{
"name": "key",
"title": "Key"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [
"HcsLocalization",
"V4UC",
"ba_SYSdotHCS_with_hcmf"
],
"title": "title format",
"business_key": {
"hierarchy": false,
"unique": [
"key"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5da4c643ce894e0012225c90",
"href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/",
"pkid": "5da4c9d8ce894e00122285e1"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5da4c643ce894e0012225c90",
"5da4c9d8ce894e00122285e1"
],
"schema_version": "2.1",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/import/",
"support_async": true,
"title": "Import"
}
},
{
"execute": {
"method": "POST",
"class": "execute",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/execute/",
"support_async": true,
"title": "Execute"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/",
"support_async": false,
"title": "Get"
}
}
],
"summary": "false"
},
"pkid": "5da4c9d8ce894e00122285e1"
},
{
"data": {
"value": "There were no customized templates found at ",
"key": "auditReport_no_templates",
"pkid": "5da4c9e7ce894e001222868a",
"hierarchy_friendly_name": "hcs (Hcs)",
"hierarchy_path": "sys.hcs"
},
"meta": {
"model_type": "data/HcsLocalizedStringDat",
"summary_attrs": [
{
"name": "key",
"title": "Key"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [
"HcsLocalization",
"V4UC",
"ba_SYSdotHCS_with_hcmf"
],
"title": "title format",
"business_key": {
"hierarchy": false,
"unique": [
"key"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5da4c643ce894e0012225c90",
"href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/",
"pkid": "5da4c9e7ce894e0012228689"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5da4c643ce894e0012225c90",
"5da4c9e7ce894e0012228689"
],
"schema_version": "2.1",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/import/",
"support_async": true,
"title": "Import"
}
},
{
"execute": {
"method": "POST",
"class": "execute",
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/execute/",
"support_async": true,
"title": "Execute"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsLocalizedStringDat/5da4c9e7ce894e0012228689/",
"support_async": false,
"title": "Get"
}
}
],
"summary": "false"
},
"pkid": "5da4c9e7ce894e0012228689"
},
{
"data": {
"value": "Please make sure these templates are expected at hierarchy ",
"key": "auditReport_rec_action",
"pkid": "5da4c9d8ce894e00122285d9",
"hierarchy_friendly_name": "hcs (Hcs)",
"hierarchy_path": "sys.hcs"
},
"meta": {
"model_type": "data/HcsLocalizedStringDat",
"summary_attrs": [
{
"name": "key",
"title": "Key"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [
"HcsLocalization",
"V4UC",
"ba_SYSdotHCS_with_hcmf"
],
"title": "title format",
"business_key": {
"hierarchy": false,
"unique": [
"key"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5da4c643ce894e0012225c90",
"href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/",
"pkid": "5da4c9d8ce894e00122285d8"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5da4c643ce894e0012225c90",
"5da4c9d8ce894e00122285d8"
],
"schema_version": "2.1",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/import/",
"support_async": true,
"title": "Import"
}
},
{
"execute": {
"method": "POST",
"class": "execute",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/execute/",
"support_async": true,
"title": "Execute"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285d8/",
"support_async": false,
"title": "Get"
}
}
],
"summary": "false"
},
"pkid": "5da4c9d8ce894e00122285d8"
}
]
}
(Show the first instance)
{
"data": {
"value": "Custom Templates Audit",
"key": "auditReport_component",
"pkid": "5da4c9d8ce894e00122285e2"
},
"meta": {
"model_type": "data/HcsLocalizedStringDat",
"summary_attrs": [
{
"name": "key",
"title": "Key"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [
"HcsLocalization",
"V4UC",
"ba_SYSdotHCS_with_hcmf"
],
"title": "title format",
"business_key": {
"unique": [
"key"
],
"hierarchy": true
},
"api_version": "21.2",
"cached": false,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"href": "/api/data/HierarchyNode/5da4c643ce894e0012225c90",
"pkid": "5da4c643ce894e0012225c90"
}
],
"foreign_key": [],
"children": [],
"self": [
{
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/",
"pkid": "5da4c9d8ce894e00122285e1"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5da4c643ce894e0012225c90",
"5da4c9d8ce894e00122285e1"
],
"schema_version": "2.1",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"import": {
"method": "POST",
"class": "import",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/import/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Import"
}
},
{
"execute": {
"method": "POST",
"class": "execute",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/execute/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Execute"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/data/HcsLocalizedStringDat/5da4c9d8ce894e00122285e1/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Get"
}
}
]
},
"pkid": "5da4c9d8ce894e00122285e1"
}
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Modify | PUT | /api/data/HcsLocalizedStringDat/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Delete | DELETE | /api/data/HcsLocalizedStringDat/[pkid] | hierarchy=[hierarchy] |
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Import | POST | /api/data/HcsLocalizedStringDat/[pkid]/import | hierarchy=[hierarchy] | If payload required: |
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Execute | POST | /api/data/HcsLocalizedStringDat/[pkid]/execute | hierarchy=[hierarchy] | If payload required: |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get | GET | /api/data/HcsLocalizedStringDat/[pkid] | hierarchy=[hierarchy] | The data/HcsLocalizedStringDat instance with [pkid]. |