Summary
Get Details of Form by ID
Description
Get details for a specific form from by ID
Route
GET /formbuilder/getForm/:form_id
Roles
admin
apiread
operator
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
form_id |
string |
yes |
Form ID |
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": "f3fd28c1-c993-3cc6-e6d8-94928af658a8",
"groups": [
"21396f1ae61f8d7474a1fb51",
"8813c86bfefb2fb7d1a3b8ef",
"dffdece201d68caf8f68ac6a",
"31c4129773fed2be0104b4c2",
"c6719f6f7e01f661a4582820"
],
"created": "1945-11-08T23:09:56.114Z",
"created_by": "00e5430556a6d52605bb9a4a",
"last_updated": "1969-06-11T18:28:41.163Z",
"last_updated_by": "0082f24a2b5e6ccfe3c7f210"
}