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": "41e1b299-c6b1-5d61-8862-bef858bf02c8",
"groups": [
"82ee404842e31f71a67c76af",
"172ec92637589f9141f48c75",
"6729168d8703caab00870c36",
"8a7f321a173c9ad34963b7cb",
"72388bdc6cb79540b93d59cf"
],
"created": "1996-07-19T07:43:07.768Z",
"created_by": "0d10aa0e290c487c987f5677",
"last_updated": "1956-04-03T02:40:19.556Z",
"last_updated_by": "8e0269887fbf998ad326eca9"
}