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": "a0f5d601-d844-ab69-ce25-d19b309360c3",
"groups": [
"3fc003fb45a8fe5ca952a744",
"8c58a0575d6288287c83bd2d",
"a38c6e52340c2259138f27da"
],
"created": "1963-04-10T05:08:07.486Z",
"created_by": "71e9a4fc96139416d38770c1",
"last_updated": "1969-01-18T08:09:49.933Z",
"last_updated_by": "873f9af2def8f51a49132c93"
}