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": "b8856ce4-2dd3-b60a-2ebb-46685911039e",
"groups": [
"89673f434e9760c898732ad0",
"ee7673f54ecdce5e2ebe308e",
"ac49d2eaf465abbc89074f27",
"daa6e6656128c62b68781dd0",
"c123f429750f570cdb5f78ec"
],
"created": "2007-07-23T08:11:17.938Z",
"created_by": "9b3f2a8094fecd5c14280c58",
"last_updated": "2016-09-10T01:45:13.452Z",
"last_updated_by": "277d4af2ff249703d8229b25"
}