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": "12800834-57b3-58b4-8177-2ccc7f44a75c",
"groups": [
"1db0fdc54ee2849bcc154e70",
"d5128ac25faf451aef1257fc",
"10c40a1bb05dc48fa130094f"
],
"created": "1979-11-03T05:12:32.681Z",
"created_by": "21e3be253f89f8b3e33fb057",
"last_updated": "1995-08-22T05:38:31.428Z",
"last_updated_by": "c75d90c801d6bce3b24ff448"
}