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": "d00d4152-2e98-5836-e325-8ac0a1140cbe",
"groups": [
"162ff89b737aac9ab0a64dfa",
"04c50090ba07b795d57c6a92",
"103c47e4783dd68a91d82e69",
"ceb0f249a4bfa76d37d9c615",
"8106dec0196bbe6b48df27cc"
],
"created": "1965-06-18T08:19:51.075Z",
"created_by": "d988d815df8139778783130f",
"last_updated": "2011-08-10T00:53:07.65Z",
"last_updated_by": "9531412459eb8487cde92877"
}