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": "c6574e6b-4e6e-ceea-bb69-188025bfa49a",
"groups": [
"578c9427a19eceac2ecb2c8b",
"e9c11c1a01f4d91b5efd1d67",
"67ce5bce725281886c8410ec",
"8dad2840600c4e070772dd49",
"2545f052f330a8df7934df6e"
],
"created": "2014-12-17T08:37:19.646Z",
"created_by": "d3fd73dc5011af8e0c4ba2a2",
"last_updated": "2012-10-30T21:33:06.566Z",
"last_updated_by": "abb530799cfbe91ed4722159"
}