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": "cf10af88-b22b-c4cb-a440-df02bdde5af8",
"groups": [
"3c58dd929bc9132831d2a073",
"fb20f9afa32544c003a3e6fd",
"d447a93c5ddbf8868035582b"
],
"created": "1964-08-17T00:36:11.421Z",
"created_by": "bc212e631abd3b7e4b074e75",
"last_updated": "1956-05-14T14:44:51.454Z",
"last_updated_by": "7d91dc6034e709fb766faa2e"
}