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": "376cfe51-bd25-2b03-b9eb-31fdacdfa4f3",
"groups": [
"a1182cd3c71d974a55845328",
"e59f3c35a49fdf65e5cbba7b",
"00045f5ec950b7275b435778",
"144510848cddde9f78915b67",
"be9cd8c005865693b698a15e"
],
"created": "1998-12-22T07:04:53.227Z",
"created_by": "1d0500601e9cb35dbf8a8348",
"last_updated": "1973-07-29T22:32:51.056Z",
"last_updated_by": "df1f3114701d92583ba92e4f"
}