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": "31a02b3d-53a9-ff69-c7ec-cbf39b44ca1d",
"groups": [
"750ca2e38a7075b3ed3b8510",
"20c7079007d02e27c43d46fb",
"7afb6ce240643229c5f5edb6",
"07cb78b38e87037abdf436bc",
"a348245e4abae861656538b8"
],
"created": "1954-06-13T16:55:55.4Z",
"created_by": "ce4a3291e09ddfd30868e9ee",
"last_updated": "1980-12-21T22:18:17.258Z",
"last_updated_by": "a704e9c7d1d73bab6e5544f0"
}