[Index]
Field Display Policies are applied to data models and domain models in order to modify the default form that is displayed when instances of these models are created or accessed. With Field Display Policies, the fields on a model form can be grouped, hidden, on-line help text can be added, a field can be set as read-only, it can be provided with a new label and the field order on the form can be re-sequenced. More than one Field Display Policy can be created for a particular model so that the selection of a particular policy will present another view of the model form. A Field Display Policy can also be selected for a particular model in a User Role so that users that belong to this User Role will by default view the particular model according to this display policy.
Model ref.: data/FieldDisplayPolicy
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": { "target_model_type": { "description": "The target model type to which the Field Display Policy applies.", "title": "Target Model Type", "format": "uri", "required": true, "choices": [], "type": "string", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "field_overrides": { "items": { "type": "object", "properties": { "help_text": { "type": "string", "description": "New help text to display for field.", "title": "Help Text" }, "field": { "choices": [ { "value": "", "title": "" } ], "required": true, "type": "string", "description": "Name of the model field to override.", "title": "Field" }, "input_type": { "title": "Input Type", "type": "string", "description": "Overrides the input type of the field", "choices": [ { "value": "default", "title": "Default" }, { "value": "multiSelect", "title": "Multiselect" }, { "value": "transferBox", "title": "Transferbox" }, { "value": "sequence", "title": "Sequence" }, { "value": "radioButton", "title": "Radiobutton" } ] }, "disabled": { "type": "boolean", "description": "Will set the field to read-only if checked.", "title": "Disabled" }, "title": { "type": "string", "description": "New title to display for field.", "title": "Title" } } }, "type": "array", "description": "Field display policy overrides to apply to a model fields.", "title": "Field Overrides" }, "name": { "required": true, "type": "string", "description": "The name that is given to the Field Display Policy.", "title": "Name" }, "groups": { "items": { "type": "object", "properties": { "fields": { "items": { "type": "string", "choices": [ { "value": "", "title": "" } ] }, "type": "array", "description": "Model fields that will form part of the particular group.", "title": "Fields" }, "num_cols": { "type": "integer", "description": "The number of columns of fields.", "title": "Number of Columns" }, "display_as_fieldset": { "type": "boolean", "description": "Render this group as a fieldset in the form.", "title": "Display as Fieldset" }, "title": { "required": true, "type": "string", "description": "The title of a specific group of attributes.", "title": "Title" } } }, "required": true, "type": "array", "description": "The groups that describe groupings of attributes that are displayed together on the user interface.", "title": "Groups" }, "description": { "required": false, "type": "string", "description": "A description for the Field Display Policy instance.", "title": "Description" } }, "schema_version": "1.0.2" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/FieldDisplayPolicy/add/ |
|
The GUI Add form of data/FieldDisplayPolicy 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/FieldDisplayPolicy/ | 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/FieldDisplayPolicy/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/FieldDisplayPolicy/[pkid1]", "/api/data/FieldDisplayPolicy/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/FieldDisplayPolicy/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/FieldDisplayPolicy/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/FieldDisplayPolicy/[pkid1]", "/api/v0/data/FieldDisplayPolicy/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/FieldDisplayPolicy; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/FieldDisplayPolicy/export/ |
|
{ "hrefs":["/api/data/FieldDisplayPolicy/[pkid1]", "/api/data/FieldDisplayPolicy/[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/FieldDisplayPolicy and the JSON format can be used to import instances of data/FieldDisplayPolicy.
GET http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/FieldDisplayPolicy | POST | /api/data/FieldDisplayPolicy/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/FieldDisplayPolicy/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/FieldDisplayPolicy/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/FieldDisplayPolicy/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/FieldDisplayPolicy/ |
|
The data/FieldDisplayPolicy schema and all instances as JSON. |
(The list will return 0 to 3 data/FieldDisplayPolicy 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/FieldDisplayPolicy/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 503 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name", "target_model_type" ] }, "schema_version": "1.0.2", "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/FieldDisplayPolicy/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/FieldDisplayPolicy/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/FieldDisplayPolicy/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/FieldDisplayPolicy/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/FieldDisplayPolicy/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/FieldDisplayPolicy/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/FieldDisplayPolicy/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/FieldDisplayPolicy/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/FieldDisplayPolicy", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "remove", "tag", "tag_version", "update" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "name": "target_model_type", "title": "Target Model Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "6305082943fcc416f18e9f03", "meta": { "tags": [ "feature_tag_add_customer", "V4UC", "ba_EndToEnd" ], "cached": true, "title": "AddCustomerAdmin_FDP - data/User", "business_key": { "hierarchy": true, "unique": [ "name", "target_model_type" ] }, "schema_version": "1.0.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305082943fcc416f18e9f03", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/help", "method": "GET", "title": "Help" } } ], "model_type": "data/FieldDisplayPolicy", "path": [ "6t0ggef2c0deab00hb595101", "6305082943fcc416f18e9f03" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "name": "target_model_type", "title": "Target Model Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "name": "AddCustomerAdmin_FDP", "pkid": "6305082943fcc416f18e9f04", "groups": [ { "fields": [ "username", "email", "first_name", "last_name", "password", "role" ], "title": "Default" } ], "target_model_type": "data/User", "hierarchy_friendly_name": "sys (System)", "field_overrides": [ { "disabled": true, "field": "role" } ], "hierarchy_path": "sys" } }, { "pkid": "6305104143fcc416f18f3535", "meta": { "tags": [ "useroverhaul", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "AdminUser - relation/User", "business_key": { "hierarchy": true, "unique": [ "name", "target_model_type" ] }, "schema_version": "1.0.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305104143fcc416f18f3535", "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/FieldDisplayPolicy/6305104143fcc416f18f3535/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/FieldDisplayPolicy", "path": [ "6t0ggef2c0deab00hb595101", "6305104143fcc416f18f3535" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "name": "target_model_type", "title": "Target Model Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "name": "AdminUser", "pkid": "6305104143fcc416f18f3536", "groups": [ { "fields": [ "username", "first_name", "last_name", "title", "email", "password", "role", "language", "auth_method", "ldap_server", "ldap_username", "sso_idp", "sso_username", "sync_source", "sync_type", "user_type", "authorized_admin_hierarchy" ], "title": "User Details" }, { "fields": [ "account_information.change_password_on_login", "account_information.credential_policy", "account_information.disabled", "account_information.reason_for_disabled", "account_information.failed_login_lock_date", "account_information.last_login_time", "account_information.locked", "account_information.num_of_failed_login_attempts", "account_information.password_last_change_time", "account_information.password_last_change_time_by_user" ], "title": "Account Information" }, { "fields": [ "UserProvisioningStatus.hide_not_provisioned", "UserProvisioningStatus.username", "UserProvisioningStatus.hcmf_bkey", "UserProvisioningStatus.cucm_bkey", "UserProvisioningStatus.cucm_ldap_directory", "UserProvisioningStatus.cuc_bkey", "UserProvisioningStatus.ldap_bkey", "UserProvisioningStatus.spark_bkey", "UserProvisioningStatus.uccx_bkey", "UserProvisioningStatus.voss_hierarchy", "UserProvisioningStatus.hcmf_hierarchy", "UserProvisioningStatus.cucm_hierarchy", "UserProvisioningStatus.cuc_hierarchy", "UserProvisioningStatus.ldap_hierarchy", "UserProvisioningStatus.spark_hierarchy", "UserProvisioningStatus.uccx_hierarchy", "UserProvisioningStatus.cucm_bkey_1", "UserProvisioningStatus.cucm_bkey_2", "UserProvisioningStatus.cucm_bkey_3", "UserProvisioningStatus.cucm_bkey_4", "UserProvisioningStatus.cucm_bkey_5", "UserProvisioningStatus.cucm_bkey_6", "UserProvisioningStatus.cucm_bkey_7", "UserProvisioningStatus.cucm_bkey_8", "UserProvisioningStatus.cucm_bkey_9", "UserProvisioningStatus.cucm_bkey_10", "UserProvisioningStatus.cucm_bkey_11", "UserProvisioningStatus.cucm_bkey_12", "UserProvisioningStatus.cucm_bkey_13", "UserProvisioningStatus.cucm_bkey_14", "UserProvisioningStatus.cucm_bkey_15", "UserProvisioningStatus.cucm_bkey_16", "UserProvisioningStatus.cucm_bkey_17", "UserProvisioningStatus.cucm_bkey_18", "UserProvisioningStatus.cucm_bkey_19", "UserProvisioningStatus.cucm_bkey_20", "UserProvisioningStatus.cucm_bkey_21", "UserProvisioningStatus.cucm_bkey_22", "UserProvisioningStatus.cucm_bkey_23", "UserProvisioningStatus.cucm_bkey_24", "UserProvisioningStatus.cucm_bkey_25", "UserProvisioningStatus.cucm_bkey_26", "UserProvisioningStatus.cucm_bkey_27", "UserProvisioningStatus.cucm_bkey_28", "UserProvisioningStatus.cucm_bkey_29", "UserProvisioningStatus.cucm_bkey_30" ], "title": "Provisioning Status" } ], "target_model_type": "relation/User", "hierarchy_friendly_name": "sys (System)", "field_overrides": [ { "disabled": true, "field": "user_type", "title": "User Type" }, { "disabled": false, "field": "auth_method", "title": "Authentication Method" }, { "disabled": true, "field": "UserProvisioningStatus.hide_not_provisioned", "title": "Provisioned" } ], "hierarchy_path": "sys" } }, { "pkid": "6305104f43fcc416f18f36b6", "meta": { "tags": [ "microsoftonly", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "AzureAD_MsolUser_FDP - device/msgraph/MsolUser", "business_key": { "hierarchy": true, "unique": [ "name", "target_model_type" ] }, "schema_version": "1.0.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "6305104f43fcc416f18f36b6", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/FieldDisplayPolicy/6305104f43fcc416f18f36b6/help", "class": "help", "title": "Help" } } ], "model_type": "data/FieldDisplayPolicy", "path": [ "6t0ggef2c0deab00hb595101", "6305104f43fcc416f18f36b6" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "name": "target_model_type", "title": "Target Model Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "field_overrides": [ { "field": "FirstName", "title": "First Name" }, { "field": "LastName", "title": "Last Name" }, { "field": "PhoneNumber", "title": "Phone Number" }, { "field": "MobilePhone", "title": "Mobile Phone" }, { "field": "StreetAddress", "title": "Street Address" } ], "pkid": "6305104f43fcc416f18f36b8", "name": "AzureAD_MsolUser_FDP", "groups": [ { "fields": [ "UserPrincipalName", "Title", "FirstName", "LastName", "DisplayName", "Department", "ProxyAddresses", "PhoneNumber", "MobilePhone", "Office", "StreetAddress", "City", "State", "PostalCode", "Country", "UsageLocation", "DisplayLicenses" ], "title": "User Details" }, { "fields": [ "Licenses", "Licenses.AccountSkuId", "Licenses.ServicePlans", "Licenses.ServicePlans.ServiceName", "Licenses.ServicePlans.Enabled" ], "title": "Licenses" } ], "target_model_type": "device/msgraph/MsolUser", "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys", "description": "Updated - 13Oct2021" } } ] }
(Show the first instance)
{ "pkid": "6305082943fcc416f18e9f03", "meta": { "tags": [ "feature_tag_add_customer", "V4UC", "ba_EndToEnd" ], "cached": false, "title": "AddCustomerAdmin_FDP - data/User", "business_key": { "hierarchy": true, "unique": [ "name", "target_model_type" ] }, "schema_version": "1.0.2", "references": { "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "self": [ { "pkid": "6305082943fcc416f18e9f03", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/FieldDisplayPolicy/6305082943fcc416f18e9f03/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/FieldDisplayPolicy", "path": [ "6t0ggef2c0deab00hb595101", "6305082943fcc416f18e9f03" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "name": "target_model_type", "title": "Target Model Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "pkid": "6305082943fcc416f18e9f04", "target_model_type": "data/User", "name": "AddCustomerAdmin_FDP", "groups": [ { "fields": [ "username", "email", "first_name", "last_name", "password", "role" ], "title": "Default" } ], "field_overrides": [ { "disabled": true, "field": "role" } ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/FieldDisplayPolicy. | GET | /api/data/FieldDisplayPolicy/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/FieldDisplayPolicy as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/FieldDisplayPolicy/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/FieldDisplayPolicy/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/FieldDisplayPolicy/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/FieldDisplayPolicy; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/FieldDisplayPolicy/[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/FieldDisplayPolicy and the JSON format can be used to import instances of data/FieldDisplayPolicy.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/FieldDisplayPolicy/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/FieldDisplayPolicy/[pkid]/ | hierarchy=[hierarchy] | The data/FieldDisplayPolicy instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/FieldDisplayPolicy/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/FieldDisplayPolicy. |