[Index]
HcsRoleDAT
Model ref.: data/HcsRoleDAT
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": { "privileges": { "is_password": false, "title": "Privileges", "required": true, "displayable": false, "choices": [ { "value": "READ_WRITE", "title": "Administrator" }, { "value": "READ_ONLY", "title": "Operator" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "hcsComponentAccess": { "is_password": false, "title": "Hcs Component Access", "required": true, "displayable": false, "choices": [ { "value": "FF_SA", "title": "Fulfillment and ServiceAssurance" }, { "value": "FF_ONLY", "title": "Fulfillment Only" }, { "value": "SA_ONLY", "title": "Service Assurance Only" }, { "value": "SS_ONLY", "title": "Self Service" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "hierarchyType": { "is_password": false, "target": "/api/data/HierarchyNodeType/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Hierarchy Type", "required": true, "displayable": false, "choices": [], "target_attr": "name", "readonly": false, "maxLength": 1024, "target_model_type": "data/HierarchyNodeType", "type": "string" }, "name": { "is_password": false, "title": "Name", "required": true, "displayable": true, "readonly": false, "maxLength": 1024, "type": "string" } }, "schema_version": "2.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/HcsRoleDAT/add/ |
|
The GUI Add form of data/HcsRoleDAT 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/HcsRoleDAT/ | 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/HcsRoleDAT/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/HcsRoleDAT/[pkid1]", "/api/data/HcsRoleDAT/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/HcsRoleDAT/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/HcsRoleDAT/ |
|
The data/HcsRoleDAT schema and all instances as JSON. |
(The list will return 0 to 3 data/HcsRoleDAT 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": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/HcsRoleDAT/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 103 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.0", "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/HcsRoleDAT/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsRoleDAT/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/HcsRoleDAT/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } } ], "model_type": "data/HcsRoleDAT", "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5e8a78d2ce894e001671e3cb", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a78d2ce894e001671e3cb", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/" } ], "parent": [ { "pkid": "5e8a78cdce894e001671e1fb", "href": "/api/data/HierarchyNode/5e8a78cdce894e001671e1fb" } ], "foreign_key": [ { "pkid": "5e8391d0ce894e0015b9589b", "path": "hierarchyType", "model_type": "data/HierarchyNodeType" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/import/", "class": "import", "title": "Import" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/execute/", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/", "method": "GET", "title": "Get" } } ], "model_type": "data/HcsRoleDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a78d2ce894e001671e3cb" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "hierarchyType": "Customer", "name": "AAAGlobalCustomerAdministrator", "pkid": "5e8a78d2ce894e001671e3cf", "privileges": "READ_WRITE", "hcsComponentAccess": "FF_SA", "hierarchy_friendly_name": "AAAGlobal (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5e8a78d1ce894e001671e383", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a78d1ce894e001671e383", "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/" } ], "parent": [ { "pkid": "5e8a78cdce894e001671e1fb", "href": "/api/data/HierarchyNode/5e8a78cdce894e001671e1fb" } ], "foreign_key": [ { "pkid": "5e8391d0ce894e0015b9589b", "path": "hierarchyType", "model_type": "data/HierarchyNodeType" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "import": { "support_async": true, "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/import/", "title": "Import", "method": "POST", "class": "import" } }, { "execute": { "support_async": true, "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/execute/", "title": "Execute", "class": "execute", "method": "POST" } }, { "get": { "support_async": false, "href": "/api/data/HcsRoleDAT/5e8a78d1ce894e001671e383/", "title": "Get", "class": "get", "method": "GET" } } ], "model_type": "data/HcsRoleDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a78d1ce894e001671e383" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "hierarchyType": "Customer", "name": "AAAGlobalCustomerOperator", "pkid": "5e8a78d1ce894e001671e387", "privileges": "READ_ONLY", "hcsComponentAccess": "FF_SA", "hierarchy_friendly_name": "AAAGlobal (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5e8a78d3ce894e001671e413", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a78d3ce894e001671e413", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/" } ], "parent": [ { "pkid": "5e8a78cdce894e001671e1fb", "href": "/api/data/HierarchyNode/5e8a78cdce894e001671e1fb" } ], "foreign_key": [ { "pkid": "5e8391d0ce894e0015b9589b", "path": "hierarchyType", "model_type": "data/HierarchyNodeType" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/", "class": "delete", "title": "Delete" } }, { "import": { "support_async": true, "class": "import", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/import/", "method": "POST", "title": "Import" } }, { "execute": { "support_async": true, "method": "POST", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/execute/", "class": "execute", "title": "Execute" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/HcsRoleDAT/5e8a78d3ce894e001671e413/", "class": "get", "title": "Get" } } ], "model_type": "data/HcsRoleDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a78d3ce894e001671e413" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "hierarchyType": "Customer", "name": "AAAGlobalENTCustomerAdministrator", "pkid": "5e8a78d3ce894e001671e417", "privileges": "READ_WRITE", "hcsComponentAccess": "FF_SA", "hierarchy_friendly_name": "AAAGlobal (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } } ] }
(Show the first instance)
{ "pkid": "5e8a78d2ce894e001671e3cb", "meta": { "tags": [], "cached": false, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.0", "references": { "parent": [ { "pkid": "5e8a78cdce894e001671e1fb", "href": "/api/data/HierarchyNode/5e8a78cdce894e001671e1fb" } ], "self": [ { "pkid": "5e8a78d2ce894e001671e3cb", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/" } ], "foreign_key": [ { "pkid": "5e8391d0ce894e0015b9589b", "path": "hierarchyType", "model_type": "data/HierarchyNodeType" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "import": { "support_async": true, "method": "POST", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/import/?hierarchy=[hierarchy]", "class": "import", "title": "Import" } }, { "execute": { "support_async": true, "class": "execute", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/execute/?hierarchy=[hierarchy]", "method": "POST", "title": "Execute" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/HcsRoleDAT/5e8a78d2ce894e001671e3cb/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } } ], "model_type": "data/HcsRoleDAT", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a78d2ce894e001671e3cb" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5e8a78d2ce894e001671e3cf", "privileges": "READ_WRITE", "hcsComponentAccess": "FF_SA", "hierarchyType": "Customer", "name": "AAAGlobalCustomerAdministrator" } }
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/HcsRoleDAT/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/HcsRoleDAT/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/HcsRoleDAT/[pkid]/import/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/HcsRoleDAT/[pkid]/execute/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/HcsRoleDAT/[pkid]/ | hierarchy=[hierarchy] | The data/HcsRoleDAT instance with [pkid]. |