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": "253eb8e3-68e2-5c43-f9d5-07fe7092f347",
"groups": [
"f34f5bb572f61f17048e48bc",
"bcef5b772f9c601dd2a71e48",
"406b4abe06fcf1ee32bf475b"
],
"created": "1987-06-06T03:36:14.124Z",
"created_by": "1b3e135f87646f839c9c468b",
"last_updated": "1974-10-18T09:56:09.846Z",
"last_updated_by": "2ae59f75f9b5c764dfaa22cc"
}