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": "7a68a489-6b2e-9b21-2845-5dfb90fae0af",
"groups": [
"8fb788b34c27b84bfc77e589",
"df68378a43c94311744d94c6",
"19b9bd5a2db69aec072a7ab2",
"d3be944095c628eb1a4d7c09"
],
"created": "2007-09-15T23:35:00.077Z",
"created_by": "2888f293c1160cfd75f4e04c",
"last_updated": "1978-06-29T01:12:37.719Z",
"last_updated_by": "748f97bd8ffad453f06bb062"
}