GET API/V1/FormSchemas
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of iMDsoft.API.Metavision.Data.Forms.FormSchema| Name | Description | Type | Additional information |
|---|---|---|---|
| FormId |
Form id |
globally unique identifier |
None. |
| FormProperties |
Form properties |
iMDsoft.API.Metavision.Data.Forms.FormProperties |
None. |
| FormButtons |
Form buttons which are outside of the tabs and frames |
Collection of iMDsoft.API.Metavision.Data.Forms.MenuItem |
None. |
| Tabs |
Form tabs |
Collection of iMDsoft.API.Metavision.Data.Forms.FormTab |
None. |
| Scripts |
Form scripts |
Collection of iMDsoft.API.Metavision.Data.Forms.FormScript |
None. |
| Success |
Is request successful |
boolean |
None. |
| MobileNotifications |
Set for Mobile notifications |
boolean |
None. |
| ValidationError |
Validation error |
iMDsoft.API.Metavision.Data.Forms.ValidationError |
None. |
| IsLast |
Is Last |
boolean |
None. |
| GroupId |
Form History Group Id |
integer |
None. |
| FormVersion |
Form History Version |
integer |
None. |
| Caption |
Schema caption |
string |
None. |
| Name |
Schema name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"formId": "b54fa3d1-6fd5-4a5e-987b-3ff156c4b9db",
"formProperties": {
"cellPropertiesButton": true,
"signButton": true,
"markAsErrorButton": true,
"allowRemoveValues": true,
"openSessionBrowser": true,
"saveOnlyModifiedSignals": true,
"saveOnlySession": true,
"parameterViewerButton": true,
"openSessionMode": 1,
"previewButton": true,
"printButton": true
},
"formButtons": [
{
"title": "sample string 1",
"icon": "sample string 2",
"type": 0,
"isDataDriven": true,
"parameters": [
"sample string 1",
"sample string 2"
]
},
{
"title": "sample string 1",
"icon": "sample string 2",
"type": 0,
"isDataDriven": true,
"parameters": [
"sample string 1",
"sample string 2"
]
}
],
"tabs": [
{
"tabId": "3a5d433d-7c3e-4d5b-870e-d96a6ad3fff9",
"frames": [
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
}
],
"name": "sample string 2",
"indexInForm": 3,
"scriptName": "sample string 4"
},
{
"tabId": "3a5d433d-7c3e-4d5b-870e-d96a6ad3fff9",
"frames": [
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
}
],
"name": "sample string 2",
"indexInForm": 3,
"scriptName": "sample string 4"
}
],
"scripts": [
{
"scriptId": "a95e9629-e868-4854-aafb-8fb57636e9a9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
},
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
}
]
},
{
"scriptId": "a95e9629-e868-4854-aafb-8fb57636e9a9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
},
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"isLast": true,
"groupId": 1,
"formVersion": 1,
"caption": "sample string 3",
"name": "sample string 4"
},
{
"formId": "b54fa3d1-6fd5-4a5e-987b-3ff156c4b9db",
"formProperties": {
"cellPropertiesButton": true,
"signButton": true,
"markAsErrorButton": true,
"allowRemoveValues": true,
"openSessionBrowser": true,
"saveOnlyModifiedSignals": true,
"saveOnlySession": true,
"parameterViewerButton": true,
"openSessionMode": 1,
"previewButton": true,
"printButton": true
},
"formButtons": [
{
"title": "sample string 1",
"icon": "sample string 2",
"type": 0,
"isDataDriven": true,
"parameters": [
"sample string 1",
"sample string 2"
]
},
{
"title": "sample string 1",
"icon": "sample string 2",
"type": 0,
"isDataDriven": true,
"parameters": [
"sample string 1",
"sample string 2"
]
}
],
"tabs": [
{
"tabId": "3a5d433d-7c3e-4d5b-870e-d96a6ad3fff9",
"frames": [
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
}
],
"name": "sample string 2",
"indexInForm": 3,
"scriptName": "sample string 4"
},
{
"tabId": "3a5d433d-7c3e-4d5b-870e-d96a6ad3fff9",
"frames": [
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "b1799f20-8d54-4fbf-898c-bb155110850b",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
}
],
"name": "sample string 2",
"indexInForm": 3,
"scriptName": "sample string 4"
}
],
"scripts": [
{
"scriptId": "a95e9629-e868-4854-aafb-8fb57636e9a9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
},
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
}
]
},
{
"scriptId": "a95e9629-e868-4854-aafb-8fb57636e9a9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
},
{
"id": "7fbcfa98-0be0-4ce1-842d-4ef90091e5b3",
"eventType": 1,
"sourceControlId": "7b0432ad-c95e-4b6b-8000-88050916561f"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"isLast": true,
"groupId": 1,
"formVersion": 1,
"caption": "sample string 3",
"name": "sample string 4"
}
]