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. |
| Caption |
Schema caption |
string |
None. |
| Name |
Schema name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"formId": "45dd8742-8ee6-4331-95f4-ad9b415adaae",
"formProperties": {
"cellPropertiesButton": true,
"signButton": true,
"markAsErrorButton": true,
"allowRemoveValues": true,
"openSessionBrowser": true,
"saveOnlyModifiedSignals": true,
"saveOnlySession": true,
"parameterViewerButton": true,
"openSessionMode": 1
},
"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": "0a95e60b-008b-40ee-ab0a-55c77aa22437",
"frames": [
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"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": "0a95e60b-008b-40ee-ab0a-55c77aa22437",
"frames": [
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"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": "48a1487d-6f0e-4752-aa90-8a715aae3e43",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
},
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
}
]
},
{
"scriptId": "48a1487d-6f0e-4752-aa90-8a715aae3e43",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
},
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
},
{
"formId": "45dd8742-8ee6-4331-95f4-ad9b415adaae",
"formProperties": {
"cellPropertiesButton": true,
"signButton": true,
"markAsErrorButton": true,
"allowRemoveValues": true,
"openSessionBrowser": true,
"saveOnlyModifiedSignals": true,
"saveOnlySession": true,
"parameterViewerButton": true,
"openSessionMode": 1
},
"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": "0a95e60b-008b-40ee-ab0a-55c77aa22437",
"frames": [
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"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": "0a95e60b-008b-40ee-ab0a-55c77aa22437",
"frames": [
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "523e88ff-d5c7-4a9c-8e5e-da0ab489f16c",
"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": "48a1487d-6f0e-4752-aa90-8a715aae3e43",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
},
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
}
]
},
{
"scriptId": "48a1487d-6f0e-4752-aa90-8a715aae3e43",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
},
{
"id": "d4b80cbb-5c74-4621-992c-966dd6117ecf",
"eventType": 1,
"sourceControlId": "cbe0e0e2-ad38-4bb4-9acf-b9b24e499353"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
}
]