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": "fcdcb013-71f5-be6c-9d7a-b2fd7ba52314",
"groups": [
"ae0a67ca6f87bf20cb078905",
"b86d699810d34de94f7b0b59",
"c46c6b504f399c05dddd82a5",
"2a4068c53bbb6cb49b780858",
"dcdf1908af795fb898d4118c"
],
"created": "1979-10-14T00:30:41.284Z",
"created_by": "c60f40dc9fa84139fcac0fc8",
"last_updated": "1951-10-17T16:54:08.189Z",
"last_updated_by": "62ffa042f62a50701c6b0262"
}