Summary
Get Details of Form by Name
Description
Get details for a specific form by name
Route
GET /formbuilder/getFormByName/:form_name
Roles
admin
apiread
operator
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
form_name |
string |
yes |
Form name |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
Forms details |
Copied to Clipboard
{
"name": "Form 123",
"children": [
{
"type": "field",
"name": "ipaddress",
"properties": {
"type": "string",
"prefix": ""
},
"description": "IP address",
"element": "{\"type\":\"method\",\"id\":{\"name\":\"method_name_1\"}}",
"source_type": "method",
"source": "method_name_1",
"id": "a40044c2-f378-4b2b-a81a-41d78979e583",
"yangkey": "",
"key": "method_name_1.ipAddress"
}
],
"elements": [
{
"type": "method",
"id": {
"name": "method_name_1"
}
}
],
"_id": "d49d9516-da63-50fb-e6e0-be3f1bdcc400",
"groups": [
"056d6c8ed1413165fad78596",
"32eb778f27ff1a1828a5c5a4",
"48df4a2ff43ab06f84051c33",
"72fb03b7034ee9ca886381b1"
],
"created": "1955-11-01T17:28:49.984Z",
"created_by": "f3736d70aa55f71e437ad710",
"last_updated": "2007-08-27T09:53:13.547Z",
"last_updated_by": "cb8ccd010202302c6a3f94bd"
}