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": "4bc7b019-06c8-2b7f-5618-d2de7c5ba38b",
"groups": [
"28f0224dfb80e2c0f45c497c",
"c76235ed0ea2ce6b19620173",
"e0066debd7cef758fe4d34ad"
],
"created": "1998-02-27T13:33:15.206Z",
"created_by": "4b760ac9c77c85c8fee8bf55",
"last_updated": "1950-09-29T07:32:07.103Z",
"last_updated_by": "1ebbd907fd62d7ea87079e6a"
}