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": "d5c34922-49e0-8481-1adc-0d93a84d6334",
"groups": [
"400d21f2866e141a43f62669",
"96b90e62526cf0288e2e895f",
"363b9b3dbeb3144d07c6de8b"
],
"created": "1962-03-25T12:43:25.529Z",
"created_by": "2818622c5395ef4d9c50afdd",
"last_updated": "1973-06-23T22:33:15.305Z",
"last_updated_by": "7913f43ef0a0a03426ffa8c1"
}