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": "2dcb7e17-0532-8a13-6ce0-6e31f8e2433d",
"groups": [
"c57cfd3275e36f5eabdbcb52",
"582ddb0752b536e01591e078",
"6fcda94e7c7fa159708e3218"
],
"created": "1982-07-05T04:15:56.538Z",
"created_by": "86e7990b037f4b50e9dc286b",
"last_updated": "1988-08-07T23:49:23.321Z",
"last_updated_by": "f9690ccfa44d271e4bdf8ed4"
}