[Index]
View to add to custom fields to a relation.
Model ref.: view/CustomFields
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": { "custom_string_1": { "type": "string", "description": "custom_string_1", "title": "custom_string_1" }, "custom_string_2": { "type": "string", "description": "custom_string_2", "title": "custom_string_2" }, "custom_string_3": { "type": "string", "description": "custom_string_3", "title": "custom_string_3" }, "custom_string_4": { "type": "string", "description": "custom_string_4", "title": "custom_string_4" }, "custom_string_5": { "type": "string", "description": "custom_string_5", "title": "custom_string_5" }, "custom_string_6": { "type": "string", "description": "custom_string_6", "title": "custom_string_6" }, "custom_string_7": { "type": "string", "description": "custom_string_7", "title": "custom_string_7" }, "custom_string_8": { "type": "string", "description": "custom_string_8", "title": "custom_string_8" }, "custom_string_9": { "type": "string", "description": "custom_string_9", "title": "custom_string_9" }, "custom_string_10": { "type": "string", "description": "custom_string_10", "title": "custom_string_10" }, "custom_boolean_1": { "type": "boolean", "description": "custom_boolean_1", "title": "custom_boolean_1" }, "custom_boolean_2": { "type": "boolean", "description": "custom_boolean_2", "title": "custom_boolean_2" }, "custom_boolean_3": { "type": "boolean", "description": "custom_boolean_3", "title": "custom_boolean_3" }, "custom_boolean_4": { "type": "boolean", "description": "custom_boolean_4", "title": "custom_boolean_4" }, "custom_boolean_5": { "type": "boolean", "description": "custom_boolean_5", "title": "custom_boolean_5" }, "custom_boolean_6": { "type": "boolean", "description": "custom_boolean_6", "title": "custom_boolean_6" }, "custom_boolean_7": { "type": "boolean", "description": "custom_boolean_7", "title": "custom_boolean_7" }, "custom_boolean_8": { "type": "boolean", "description": "custom_boolean_8", "title": "custom_boolean_8" }, "custom_boolean_9": { "type": "boolean", "description": "custom_boolean_9", "title": "custom_boolean_9" }, "custom_boolean_10": { "type": "boolean", "description": "custom_boolean_10", "title": "custom_boolean_10" }, "ipcc_trigger": { "type": "boolean", "description": "IPCC Extension visibility trigger", "title": "ipcc_trigger" } } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/view/CustomFields/add/ |
|
The GUI Add form of view/CustomFields 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/view/CustomFields | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]shows the View resource has no instance pkid, because a view model stores no instances.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag | PATCH | /api/view/CustomFields/+tag/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/view/CustomFields/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/view/CustomFields/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/view/CustomFields/ |
|
The view/CustomFields schema and all instances as JSON. |
(The list will return 0 to 3 view/CustomFields instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": null, "direction": "asc", "current": "/api/view/CustomFields/?skip=0&limit=3&order_by=None&direction=asc&traversal=down" }, "operations": [ "add", "help", "configuration_template", "field_display_policy", "export_bulkload_template", "transform" ], "meta": { "model_type": "view/CustomFields", "summary_attrs": [ { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add" ], "schema_version": null, "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/view/CustomFields/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/view/CustomFields/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/view/CustomFields/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/view/CustomFields/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "list": { "method": "GET", "class": "list", "href": "/api/view/CustomFields/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/view/CustomFields/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for view/CustomFields. | GET | /api/view/CustomFields/help | hierarchy=[hierarchy] | On-line help of Model ref.: view/CustomFields as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/view/CustomFields/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/view/CustomFields/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/view/CustomFields/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/view/CustomFields/[pkid] | hierarchy=[hierarchy] | The view/CustomFields instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/view/CustomFields/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for view/CustomFields. |