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": "5683c45a-dc0e-1963-80fb-e7f588f1e7fd",
"groups": [
"83462dbaa7d52acfa1270447",
"a9c3dee1545145cedd4717f5",
"caa3ef6c449c229cacb3e4b0",
"8e8076172332b0aa5d6eb2c6",
"944529b2880b4e7285a9ec75"
],
"created": "2020-05-30T08:02:03.315Z",
"created_by": "a95940228f39f049bdbad50e",
"last_updated": "2018-11-27T10:57:44.296Z",
"last_updated_by": "9df9cec83c074af463f874c5"
}