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. |
| Caption |
Schema caption |
string |
None. |
| Name |
Schema name |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"formId": "43e76f6c-ddbe-4cc8-9f99-c8241f215d25",
"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": "d6718b80-18bc-44f7-a4a5-1b2427d505ef",
"frames": [
{
"frameId": "bb8135ce-afb6-4b7d-8bfe-08a28d9c655e",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "bb8135ce-afb6-4b7d-8bfe-08a28d9c655e",
"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": "d6718b80-18bc-44f7-a4a5-1b2427d505ef",
"frames": [
{
"frameId": "bb8135ce-afb6-4b7d-8bfe-08a28d9c655e",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "bb8135ce-afb6-4b7d-8bfe-08a28d9c655e",
"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": "dd6b1df1-ed00-43ec-a8b4-676f6c53bbcc",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "2c5e0813-7963-495b-a498-5901a4836fd2",
"eventType": 1,
"sourceControlId": "35985863-047d-42cd-ad89-c0e4fa5ee1f6"
},
{
"id": "2c5e0813-7963-495b-a498-5901a4836fd2",
"eventType": 1,
"sourceControlId": "35985863-047d-42cd-ad89-c0e4fa5ee1f6"
}
]
},
{
"scriptId": "dd6b1df1-ed00-43ec-a8b4-676f6c53bbcc",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "2c5e0813-7963-495b-a498-5901a4836fd2",
"eventType": 1,
"sourceControlId": "35985863-047d-42cd-ad89-c0e4fa5ee1f6"
},
{
"id": "2c5e0813-7963-495b-a498-5901a4836fd2",
"eventType": 1,
"sourceControlId": "35985863-047d-42cd-ad89-c0e4fa5ee1f6"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
}