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": "7cbb3b5b-a28d-3b50-2667-9cdb95cecf32",
"groups": [
"531046861dd42195ee8fbf6f",
"98ea88236e190766358682ea"
],
"created": "2021-10-12T19:14:36.537Z",
"created_by": "1d647185ec57a3daf2050cbe",
"last_updated": "1958-07-07T08:04:30.733Z",
"last_updated_by": "13192c44b8fd9dc1efca09c8"
}