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. |
| CoSignatures |
Form co-signatures |
Collection of iMDsoft.API.Metavision.Data.Forms.FormCoSignature |
None. |
| Caption |
Schema caption |
string |
None. |
| Name |
Schema name |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"formId": "9b2dd53f-f047-4e1f-9095-f88da8bd80bb",
"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": "a359141f-9987-48fb-bb80-76f2a024cbf8",
"frames": [
{
"frameId": "89c377cf-cddd-4a80-9298-5e052642bb26",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "89c377cf-cddd-4a80-9298-5e052642bb26",
"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": "a359141f-9987-48fb-bb80-76f2a024cbf8",
"frames": [
{
"frameId": "89c377cf-cddd-4a80-9298-5e052642bb26",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "89c377cf-cddd-4a80-9298-5e052642bb26",
"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": "9c10a756-7373-483a-a9a1-ca6ee5202018",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "62443dbf-d0f2-4f3a-be30-edf2a7dd1f45",
"eventType": 1,
"sourceControlId": "8d2d14a6-b0db-4dea-9652-a61fb976210e"
},
{
"id": "62443dbf-d0f2-4f3a-be30-edf2a7dd1f45",
"eventType": 1,
"sourceControlId": "8d2d14a6-b0db-4dea-9652-a61fb976210e"
}
]
},
{
"scriptId": "9c10a756-7373-483a-a9a1-ca6ee5202018",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "62443dbf-d0f2-4f3a-be30-edf2a7dd1f45",
"eventType": 1,
"sourceControlId": "8d2d14a6-b0db-4dea-9652-a61fb976210e"
},
{
"id": "62443dbf-d0f2-4f3a-be30-edf2a7dd1f45",
"eventType": 1,
"sourceControlId": "8d2d14a6-b0db-4dea-9652-a61fb976210e"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"isLast": true,
"groupId": 1,
"formVersion": 1,
"coSignatures": [
{
"coSignatureId": "06165753-5b74-4ef2-970b-df1318c2c8ee",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
},
{
"coSignatureId": "06165753-5b74-4ef2-970b-df1318c2c8ee",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
}
],
"caption": "sample string 3",
"name": "sample string 4"
}