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": "f105028d-d6ce-25e1-8636-3ae55b6d0729",
"groups": [
"5afc0aff13bdecd2c933e982",
"5c522c4d83832562adb1b2bd",
"df68274aea8717b6f5ece6f2",
"94bf1686a314d240ced447bf"
],
"created": "1948-07-20T04:54:12.799Z",
"created_by": "3d4c6af2b8bd1e7635582a03",
"last_updated": "1959-07-23T15:17:26.023Z",
"last_updated_by": "d03f9af918cca64d35b689b7"
}