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. |
| Caption |
Schema caption |
string |
None. |
| Name |
Schema name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"formId": "bd19d511-8496-4813-8a22-e5725c5f757c",
"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": "9d210460-e8fb-4193-9f00-05d22ca6ddcc",
"frames": [
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"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": "9d210460-e8fb-4193-9f00-05d22ca6ddcc",
"frames": [
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"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": "59fd146a-f9c3-4d62-b145-8798a670bdd9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
},
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
}
]
},
{
"scriptId": "59fd146a-f9c3-4d62-b145-8798a670bdd9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
},
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
},
{
"formId": "bd19d511-8496-4813-8a22-e5725c5f757c",
"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": "9d210460-e8fb-4193-9f00-05d22ca6ddcc",
"frames": [
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"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": "9d210460-e8fb-4193-9f00-05d22ca6ddcc",
"frames": [
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e815b3d6-a14f-4385-ae22-9d0d96ae1ce6",
"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": "59fd146a-f9c3-4d62-b145-8798a670bdd9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
},
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
}
]
},
{
"scriptId": "59fd146a-f9c3-4d62-b145-8798a670bdd9",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
},
{
"id": "99ba799a-9c4f-49fd-9dd1-7e5147c2fe07",
"eventType": 1,
"sourceControlId": "62874b4b-8f97-43a9-919f-3737d5dfb85a"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"caption": "sample string 3",
"name": "sample string 4"
}
]