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": "c866d7c1-6702-796b-1cf3-12033458998c",
"groups": [
"037ab898ad9095d36e88cd5e",
"c92e56abb8d1f55c8e721f86",
"d1018d54d6d298fd9bedc1a5",
"575584240c85ee371767ddab",
"3ea3c7aac08123ffd9f391b6"
],
"created": "1983-07-09T08:18:19.857Z",
"created_by": "9d98cef947e89cfc5963fb93",
"last_updated": "1984-02-06T08:04:23.752Z",
"last_updated_by": "6d26a23ae3339d3f4df87cb8"
}