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": "94ccfda4-ab0a-e813-b79e-cb6fd87a724b",
"groups": [
"a3168fcc568762870a6f405d",
"29e6f670ea0cbc17535b9c40",
"4b2c80679fe66bceb9e2c87f",
"63e314c93cd85a40596c8d88"
],
"created": "2006-09-09T11:46:19.087Z",
"created_by": "2772c2cdf6d795c1570b1420",
"last_updated": "1968-09-25T21:55:51.668Z",
"last_updated_by": "b41ccf2eccc27b1aaae06e69"
}