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": "5dcf74ec-5719-4f0f-84d4-d502f6bcff17",
"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": "e8972b54-749b-4e15-a7fd-b656e5c4dc5a",
"frames": [
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"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": "e8972b54-749b-4e15-a7fd-b656e5c4dc5a",
"frames": [
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"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": "ee9ab5bf-e0ee-4f48-942d-e2a66866683a",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
},
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
}
]
},
{
"scriptId": "ee9ab5bf-e0ee-4f48-942d-e2a66866683a",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
},
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
}
]
}
],
"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": "5dcf74ec-5719-4f0f-84d4-d502f6bcff17",
"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": "e8972b54-749b-4e15-a7fd-b656e5c4dc5a",
"frames": [
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"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": "e8972b54-749b-4e15-a7fd-b656e5c4dc5a",
"frames": [
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "a69f84fe-1174-49ff-9878-8682ea4339fe",
"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": "ee9ab5bf-e0ee-4f48-942d-e2a66866683a",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
},
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
}
]
},
{
"scriptId": "ee9ab5bf-e0ee-4f48-942d-e2a66866683a",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
},
{
"id": "d7280afa-83a2-49b4-9179-88924f8db25c",
"eventType": 1,
"sourceControlId": "bb920bb6-280f-4b1a-9e34-99ecf29909d9"
}
]
}
],
"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"
}
]