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": "b6f58778-6930-2e1f-cb26-47a85825ff43",
"groups": [
"0ab258386c2df39bd4e18c74",
"941500fbe882299a98d5df8e",
"c08e2f8b907a477efd84da9e"
],
"created": "2012-10-08T05:25:17.935Z",
"created_by": "847478a529b7cb0d5b3ca48a",
"last_updated": "1948-11-03T09:34:52.264Z",
"last_updated_by": "f35bd5eba5f011c3190fa126"
}