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": "e52a17a8-64db-4669-924a-36fa469944d8",
"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": "b7d28b1b-249e-44ce-b153-ff3062cc34e2",
"frames": [
{
"frameId": "42a8d7b7-c56c-46de-848a-f8df492d9ec1",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "42a8d7b7-c56c-46de-848a-f8df492d9ec1",
"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": "b7d28b1b-249e-44ce-b153-ff3062cc34e2",
"frames": [
{
"frameId": "42a8d7b7-c56c-46de-848a-f8df492d9ec1",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "42a8d7b7-c56c-46de-848a-f8df492d9ec1",
"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": "a5fed62b-ace7-426b-84b1-c7827962a89d",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "aaee0e2d-a953-4874-b40d-70859141a145",
"eventType": 1,
"sourceControlId": "f0af5bec-642a-46c3-8a63-81156b94dbde"
},
{
"id": "aaee0e2d-a953-4874-b40d-70859141a145",
"eventType": 1,
"sourceControlId": "f0af5bec-642a-46c3-8a63-81156b94dbde"
}
]
},
{
"scriptId": "a5fed62b-ace7-426b-84b1-c7827962a89d",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "aaee0e2d-a953-4874-b40d-70859141a145",
"eventType": 1,
"sourceControlId": "f0af5bec-642a-46c3-8a63-81156b94dbde"
},
{
"id": "aaee0e2d-a953-4874-b40d-70859141a145",
"eventType": 1,
"sourceControlId": "f0af5bec-642a-46c3-8a63-81156b94dbde"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
}