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": "c45b02a5-9017-cb3b-d274-81cf8bb0a109",
"groups": [
"c54c87eefebb352c66ad62cf",
"a4bfbcfaf93992aa757d8b60",
"e9677354c3502b90c9ee3d98",
"c474863db39080dd46aaa4d1",
"b2f7ebe9306f1de1ac1f89b3"
],
"created": "1958-07-16T09:51:14.215Z",
"created_by": "311187c70a2a4038114c9f3f",
"last_updated": "1948-01-06T10:21:34.777Z",
"last_updated_by": "c417581bea34371e1b9cf152"
}