GET API/V1/FormSchema
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GetLastForm |
Should last form be retrieved |
boolean |
None. |
| FormId |
The form id |
globally unique identifier |
None. |
| FormName |
The form name |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
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": "635d0b10-9652-454e-ad76-0894be520621",
"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": "a3bc7d17-0d8a-40c3-a65f-a795360b463a",
"frames": [
{
"frameId": "fee18d9a-9ef9-407f-9383-65e1cb795e0d",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "fee18d9a-9ef9-407f-9383-65e1cb795e0d",
"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": "a3bc7d17-0d8a-40c3-a65f-a795360b463a",
"frames": [
{
"frameId": "fee18d9a-9ef9-407f-9383-65e1cb795e0d",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "fee18d9a-9ef9-407f-9383-65e1cb795e0d",
"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": "a07f175c-74f9-49f7-9459-4a34b005f8b7",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "6bd93cdd-2d27-4364-aaba-3b6804451346",
"eventType": 1,
"sourceControlId": "fb3caf7a-5b1a-4c5d-a046-905212da0220"
},
{
"id": "6bd93cdd-2d27-4364-aaba-3b6804451346",
"eventType": 1,
"sourceControlId": "fb3caf7a-5b1a-4c5d-a046-905212da0220"
}
]
},
{
"scriptId": "a07f175c-74f9-49f7-9459-4a34b005f8b7",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "6bd93cdd-2d27-4364-aaba-3b6804451346",
"eventType": 1,
"sourceControlId": "fb3caf7a-5b1a-4c5d-a046-905212da0220"
},
{
"id": "6bd93cdd-2d27-4364-aaba-3b6804451346",
"eventType": 1,
"sourceControlId": "fb3caf7a-5b1a-4c5d-a046-905212da0220"
}
]
}
],
"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"
}