[Index]
View instances allow data entry based on a schema, but not necessarily with persistence, i.e. just a form.
Model ref.: data/View
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": { "operations": { "items": { "type": "string", "choices": [ { "value": "add", "title": "Add" }, { "value": "clone", "title": "Clone" }, { "value": "configuration_template", "title": "Configuration Template" }, { "value": "field_display_policy", "title": "Field Display Policy" }, { "value": "export_bulkload_template", "title": "Export Bulk Load Template" }, { "value": "get", "title": "Get" }, { "value": "help", "title": "Help" }, { "value": "list", "title": "List" }, { "value": "tag", "title": "Tag" }, { "value": "tag_version", "title": "Tag Version" }, { "value": "transform", "title": "Transform Template" } ] }, "type": "array", "title": "Operations" }, "doc": { "type": "string", "description": "Used for generating reference documentation for the model.", "title": "Documentation" }, "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "attr_props": { "minItems": 1, "items": { "type": "object", "properties": { "minimum": { "type": "number", "description": "Defines the minimum value of the instance property when the type of the instance value is a number.", "title": "Minimum" }, "maxItems": { "type": "integer", "description": "Defines the maximum number of values in an array when the array is the instance value.", "title": "Maximum Number of Values" }, "disable_confirmation": { "type": "boolean", "description": "Disable confirmation field for password?", "title": "Disable Password Confirmation" }, "title": { "type": "string", "description": "What to show as the name of the form field.", "title": "Friendly Name" }, "pattern": { "type": "string", "title": "Validation Regular Expression" }, "displayable": { "type": "boolean", "description": "Marks whether the content of this field would be visible and therefore marked for translation.", "title": "Is Displayable?" }, "readonly": { "type": "boolean", "description": "If a field is marked as read-only it cannot be changed once added.", "title": "Is Read-Only?" }, "version": { "type": "string", "description": "Defines the version of the instance for use by the packaging system.", "title": "Version" }, "store_encrypted": { "type": "boolean", "description": "Should the field be stored encrypted?", "title": "Store Encrypted?" }, "type": { "title": "Data Type", "required": true, "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "is_password": { "type": "boolean", "description": "Is the string field a password?", "title": "Is Password?" }, "description": { "type": "string", "description": "Provides a full description of the of purpose the instance property.", "title": "Description" }, "format": { "title": "String Format", "required": false, "type": "string", "choices": [ { "value": "", "title": "" }, { "value": "date", "title": "Date (\"YYYY-MM-DD\")" }, { "value": "date-time", "title": "Date-timestamp (\"YYYY-MM-DDThh:mm:ssZ\" in UTC)" }, { "value": "time", "title": "Time (\"hh:mm:ss\")" }, { "value": "utc-millisec", "title": "Milliseconds since 1 January 1970 00:00" }, { "value": "phone", "title": "Phone number" }, { "value": "uri", "title": "URI" }, { "value": "email", "title": "E-mail address" }, { "value": "ip-address", "title": "IP version 4 address" }, { "value": "ipv6", "title": "IP version 6 address" }, { "value": "host-name", "title": "Host name" }, { "value": "regex", "title": "Regular expression" }, { "value": "link", "title": "Link" } ] }, "minLength": { "type": "integer", "description": "When the instance value is a string, this defines the minimum length of the string.", "title": "Minimum Length" }, "maxLength": { "type": "integer", "description": "When the instance value is a string, this defines the maximum length of the string.", "title": "Maximum Length" }, "name": { "required": true, "type": "string", "title": "Name" }, "target": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Target", "format": "uri", "choices": [], "target_model_type": "", "type": "string", "description": "If Format is \"URI\", what is the entity type of the foreign key?" }, "minItems": { "type": "integer", "description": "Defines the minimum number of values in an array when the array is the instance value.", "title": "Minimum Number of Values" }, "items": { "properties": { "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "type": { "title": "Data Type", "type": "string", "choices": [ { "value": "array", "title": "Array" }, { "value": "boolean", "title": "Boolean" }, { "value": "integer", "title": "Integer" }, { "value": "null", "title": "Null" }, { "value": "number", "title": "Number" }, { "value": "object", "title": "Object" }, { "value": "string", "title": "String" }, { "value": "any", "title": "Anything" } ] }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" } }, "type": "object", "description": "If Format is \"Array\", what are the properties of the items?", "title": "Items" }, "required": { "type": "boolean", "title": "Is Mandatory?" }, "maximum": { "type": "number", "description": "Defines the maximum value of the instance property when the type of the instance value is a number.", "title": "Maximum" }, "choices": { "items": { "type": "object", "properties": { "value": { "type": [ "string", "integer" ], "title": "Value" }, "title": { "type": "string", "title": "Title" } } }, "type": "array", "title": "Choices" }, "target_attr": { "title": "Target Field", "type": "string", "description": "If Format is \"URI\", what is the field name of the referenced resource?", "choices": { "value": "", "title": "" } }, "default": { "type": "any", "description": "Default value for field. Accepts comma-separated values if field type is array.", "title": "Default Value" } } }, "required": false, "type": "array", "title": "Attribute Properties" }, "name": { "required": true, "type": "string", "title": "Name" }, "workflows": { "items": { "type": "object", "properties": { "parameters": { "minItems": 1, "items": { "type": "object", "properties": { "view_attr": { "required": true, "type": "string", "title": "View attribute" }, "tool_param": { "required": true, "type": "string", "title": "Tool parameter" } } }, "required": false, "type": "array" }, "workflow": { "target": "/api/data/ProvisioningWorkflow/template_choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Workflow", "required": false, "choices": [], "target_attr": "name", "target_model_type": "data/ProvisioningWorkflow", "type": "string" }, "tool": { "required": false, "type": "string", "title": "Tool" }, "workflow_model_types": { "description": "Map View attributes to Workflow model types' attributes.", "title": "Workflow Model Types", "minItems": 1, "items": { "type": "object", "properties": { "model_type": { "required": true, "type": "string" }, "attributes": { "minItems": 1, "items": { "type": "object", "properties": { "view_attr": { "required": true, "type": "string", "title": "View attribute" }, "model_attr": { "required": true, "type": "string", "title": "Model attribute" } } }, "required": true, "type": "array" } } }, "required": false, "type": "array" }, "operation": { "pattern": "^[a-z]*$", "required": true, "type": "string", "title": "Operation" }, "return_results": { "default": false, "required": false, "type": "boolean", "title": "Operation returns results?" }, "result_type": { "title": "Type of results", "type": "string", "choices": [ { "value": "list", "title": "List" }, { "value": "object", "title": "Object" } ] }, "tool_workflow": { "default": "workflow", "choices": [ { "value": "tool", "title": "Tool" }, { "value": "workflow", "title": "Provisioning Workflow" } ], "required": true, "type": "string", "title": "Use a tool or workflow?" } } }, "type": "array", "title": "Workflows" } }, "schema_version": "0.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/View/add/ |
|
The GUI Add form of data/View 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/View/ | 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/View/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/View/[pkid1]", "/api/data/View/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/View/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/View/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/View/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/View/[pkid1]", "/api/v0/data/View/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/View/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/View; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/View/export/ |
|
{ "hrefs":["/api/data/View/[pkid1]", "/api/data/View/[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/View and the JSON format can be used to import instances of data/View.
GET http://[host-proxy]/api/data/View/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/View | POST | /api/data/View/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/View/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/View/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/View/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/View/ |
|
The data/View schema and all instances as JSON. |
(The list will return 0 to 3 data/View instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/View/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 275 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "0.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/View/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/View/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/View/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/View/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/View/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/View/+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/View/+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/View/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/View/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/View/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/View/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/View/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/View/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/View", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "transform", "remove", "tag", "tag_version", "update" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "63050f9443fcc416f18f2318", "meta": { "tags": [ "accessprofiletool", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "AccessProfileTool", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "0.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63050f9443fcc416f18f2318", "href": "/api/data/View/63050f9443fcc416f18f2318/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "version_tag": "0.0", "model_type": "data/View", "path": [ "6t0ggef2c0deab00hb595101", "63050f9443fcc416f18f2318" ], "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/View/63050f9443fcc416f18f2318/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/View/63050f9443fcc416f18f2318/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/View/63050f9443fcc416f18f2318/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/View/63050f9443fcc416f18f2318/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/View/63050f9443fcc416f18f2318/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/View/63050f9443fcc416f18f2318/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/View/63050f9443fcc416f18f2318/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/View/63050f9443fcc416f18f2318/help", "method": "GET", "title": "Help" } } ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [ { "pkid": "63050f9443fcc416f18f231a", "version": "0.0", "href": "/api/v0/data/View/63050f9443fcc416f18f2318/?cached=63050f9443fcc416f18f231a" } ] }, "data": { "operations": [ "add", "tag", "help", "configuration_template", "export_bulkload_template" ], "name": "AccessProfileTool", "pkid": "63050f9443fcc416f18f2319", "doc": "Tool to manage access profiles.", "attr_props": [ { "default": "Access Profile Tool", "readonly": true, "type": "string", "name": "description", "title": " " }, { "default": "This view allows you to merge access profile items from one access profile to another.", "readonly": true, "type": "string", "name": "notes", "title": " " }, { "default": "{{ fn.hierarchy_friendly_path }}", "readonly": true, "type": "string", "name": "hierarchy_level", "title": "Hierarchy level" }, { "default": "{{ fn.hierarchy_friendly_path }}", "type": "string", "name": "target_hierarchy", "title": "Target Hierarchy" }, { "choices": [ { "value": "create_snippet", "title": "Create Snippet" }, { "value": "merge", "title": "Merge" } ], "type": "string", "description": "Access Profile Operation", "name": "access_profile_operation", "title": "Access Profile Operation" }, { "type": "string", "description": "The access profile that will be merged or updated from.", "name": "source_access_profile", "title": "Source Access Profile" }, { "items": { "type": "string" }, "type": "array", "name": "source_access_profile_list", "title": "Source Access Profile List" }, { "type": "string", "description": "The access profile that will be updated or merged into.", "name": "target_access_profile", "title": "Target Access Profile" }, { "type": "boolean", "description": "When selected a backup of the target access profile will be made.", "name": "backup", "title": "Backup Access Profile" }, { "type": "boolean", "description": "Create a new access profile with a custom name.", "name": "new", "title": "New Access Profile" }, { "type": "string", "description": "Name of the access profile to create.", "name": "new_access_profile_name", "title": "New Access Profile Name" } ], "workflows": [ { "operation": "add", "workflow": "AccessProfileTool_Management", "tool_workflow": "workflow" } ], "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" } }, { "pkid": "63050f5a43fcc416f18f2042", "meta": { "tags": [ "msteams", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "AddCsolUserTenantDialPlan", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "0.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63050f5a43fcc416f18f2042", "href": "/api/data/View/63050f5a43fcc416f18f2042/" } ], "parent": [ { "pkid": "6305086243fcc416f18ea4ac", "href": "/api/data/HierarchyNode/6305086243fcc416f18ea4ac" } ], "foreign_key": [] }, "version_tag": "1.0", "model_type": "data/View", "path": [ "6t0ggef2c0deab00hb595101", "6305086243fcc416f18ea4ac", "63050f5a43fcc416f18f2042" ], "actions": [ { "update": { "support_async": true, "href": "/api/data/View/63050f5a43fcc416f18f2042/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/View/63050f5a43fcc416f18f2042/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/View/63050f5a43fcc416f18f2042/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/View/63050f5a43fcc416f18f2042/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/View/63050f5a43fcc416f18f2042/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/View/63050f5a43fcc416f18f2042/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/data/View/63050f5a43fcc416f18f2042/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/View/63050f5a43fcc416f18f2042/help", "title": "Help", "class": "help", "method": "GET" } } ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [ { "pkid": "63050f5a43fcc416f18f2044", "version": "1.0", "href": "/api/v0/data/View/63050f5a43fcc416f18f2042/?cached=63050f5a43fcc416f18f2044" } ] }, "data": { "operations": [ "export_bulkload_template", "list", "help" ], "name": "AddCsolUserTenantDialPlan", "pkid": "63050f5a43fcc416f18f2043", "attr_props": [ { "required": false, "type": "string", "name": "firstname", "title": "First Name" }, { "required": true, "type": "string", "name": "lastname", "title": "Last Name" }, { "required": true, "type": "string", "name": "upn", "title": "User Principal Name" }, { "required": true, "type": "string", "name": "deskphoneext", "title": "Desk Phone Extension" } ], "workflows": [ { "operation": "add", "workflow": "AddCsolUserTenantDialPlanPWF", "tool_workflow": "workflow" } ], "hierarchy_friendly_name": "hcs (Hcs)", "hierarchy_path": "sys.hcs" } }, { "pkid": "63050f9343fcc416f18f230c", "meta": { "tags": [ "bap_api", "addcucmcallpickupgroupmember", "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "AddCucmCallPickupGroupMember", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "0.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "63050f9343fcc416f18f230c", "href": "/api/data/View/63050f9343fcc416f18f230c/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "version_tag": "0.0", "model_type": "data/View", "path": [ "6t0ggef2c0deab00hb595101", "63050f9343fcc416f18f230c" ], "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/View/63050f9343fcc416f18f230c/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/View/63050f9343fcc416f18f230c/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/data/View/63050f9343fcc416f18f230c/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/View/63050f9343fcc416f18f230c/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/View/63050f9343fcc416f18f230c/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/View/63050f9343fcc416f18f230c/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/View/63050f9343fcc416f18f230c/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/View/63050f9343fcc416f18f230c/help", "class": "help", "title": "Help" } } ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [ { "pkid": "63050f9343fcc416f18f230e", "version": "0.0", "href": "/api/v0/data/View/63050f9343fcc416f18f230c/?cached=63050f9343fcc416f18f230e" } ] }, "data": { "operations": [ "add", "configuration_template", "export_bulkload_template", "field_display_policy", "get", "help", "tag" ], "name": "AddCucmCallPickupGroupMember", "pkid": "63050f9343fcc416f18f230d", "doc": "View to add one or more users to one or more CUCM Call Pickup Groups.", "attr_props": [ { "type": "string", "description": "Business Key of the CUCM.", "name": "cucm_bkey", "title": "CUCM bkey" }, { "items": { "attr_props": [ { "type": "string", "description": "CUCM username.", "name": "name", "title": "Username" }, { "type": "string", "description": "CUCM Lines associated to the User", "name": "line", "title": "Line" } ], "type": "object" }, "type": "array", "description": "List of CUCM users.", "name": "users", "title": "Users" }, { "type": "string", "description": "Name of the CUCM Call Pickup Group", "name": "call_pickup_group", "title": "Call Pickup Group Name" } ], "workflows": [ { "operation": "add", "workflow": "AddCucmCallPickupGroupMember", "tool_workflow": "workflow" } ], "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" } } ] }
(Show the first instance)
{ "pkid": "63050f9443fcc416f18f2318", "meta": { "tags": [ "accessprofiletool", "V4UC", "ba_CommonOverlay" ], "cached": false, "title": "AccessProfileTool", "business_key": { "hierarchy": false, "unique": [ "name" ] }, "schema_version": "0.1", "references": { "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "self": [ { "pkid": "63050f9443fcc416f18f2318", "href": "/api/data/View/63050f9443fcc416f18f2318/" } ], "foreign_key": [ { "model_type": "data/ProvisioningWorkflow", "path": "workflows.0.workflow" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "version_tag": "0.0", "model_type": "data/View", "path": [ "6t0ggef2c0deab00hb595101", "63050f9443fcc416f18f2318" ], "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/View/63050f9443fcc416f18f2318/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/View/63050f9443fcc416f18f2318/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/View/63050f9443fcc416f18f2318/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/View/63050f9443fcc416f18f2318/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/View/63050f9443fcc416f18f2318/+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/View/63050f9443fcc416f18f2318/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/View/63050f9443fcc416f18f2318/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/View/63050f9443fcc416f18f2318/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [ { "pkid": "63050f9443fcc416f18f231a", "version": "0.0", "href": "/api/v0/data/View/63050f9443fcc416f18f2318/?cached=63050f9443fcc416f18f231a" } ] }, "data": { "operations": [ "add", "tag", "help", "configuration_template", "export_bulkload_template" ], "name": "AccessProfileTool", "pkid": "63050f9443fcc416f18f2319", "doc": "Tool to manage access profiles.", "attr_props": [ { "default": "Access Profile Tool", "readonly": true, "type": "string", "name": "description", "title": " " }, { "default": "This view allows you to merge access profile items from one access profile to another.", "readonly": true, "type": "string", "name": "notes", "title": " " }, { "default": "{{ fn.hierarchy_friendly_path }}", "readonly": true, "type": "string", "name": "hierarchy_level", "title": "Hierarchy level" }, { "default": "{{ fn.hierarchy_friendly_path }}", "type": "string", "name": "target_hierarchy", "title": "Target Hierarchy" }, { "title": "Access Profile Operation", "type": "string", "description": "Access Profile Operation", "name": "access_profile_operation", "choices": [ { "value": "create_snippet", "title": "Create Snippet" }, { "value": "merge", "title": "Merge" } ] }, { "title": "Source Access Profile", "type": "string", "description": "The access profile that will be merged or updated from.", "name": "source_access_profile" }, { "items": { "type": "string" }, "type": "array", "name": "source_access_profile_list", "title": "Source Access Profile List" }, { "title": "Target Access Profile", "type": "string", "description": "The access profile that will be updated or merged into.", "name": "target_access_profile" }, { "title": "Backup Access Profile", "type": "boolean", "description": "When selected a backup of the target access profile will be made.", "name": "backup" }, { "title": "New Access Profile", "type": "boolean", "description": "Create a new access profile with a custom name.", "name": "new" }, { "title": "New Access Profile Name", "type": "string", "description": "Name of the access profile to create.", "name": "new_access_profile_name" } ], "workflows": [ { "operation": "add", "tool_workflow": "workflow", "workflow": "AccessProfileTool_Management" } ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/View. | GET | /api/data/View/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/View as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/View/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/View/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/View/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/View/?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/View; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/View/[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/View and the JSON format can be used to import instances of data/View.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/View/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/View/[pkid]/ | hierarchy=[hierarchy] | The data/View instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/View/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/View. |