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. |
| 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": "aae19c0c-810b-4e35-9e02-757740135769",
"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": "fe8a8b83-fa93-4992-8cc5-6b71dd5efc01",
"frames": [
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"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": "fe8a8b83-fa93-4992-8cc5-6b71dd5efc01",
"frames": [
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"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": "d0f401b8-9f62-4194-9d84-3aab5be1faab",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
},
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
}
]
},
{
"scriptId": "d0f401b8-9f62-4194-9d84-3aab5be1faab",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
},
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"isLast": true,
"groupId": 1,
"formVersion": 1,
"coSignatures": [
{
"coSignatureId": "707d281e-14d1-4149-8228-9371453da8a2",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
},
{
"coSignatureId": "707d281e-14d1-4149-8228-9371453da8a2",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
}
],
"caption": "sample string 3",
"name": "sample string 4"
},
{
"formId": "aae19c0c-810b-4e35-9e02-757740135769",
"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": "fe8a8b83-fa93-4992-8cc5-6b71dd5efc01",
"frames": [
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"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": "fe8a8b83-fa93-4992-8cc5-6b71dd5efc01",
"frames": [
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"controls": null,
"name": "sample string 2",
"indexInTab": 3,
"isComment": true,
"scriptName": "sample string 5"
},
{
"frameId": "e5fa6692-3668-4d95-b2df-c3e73aea7745",
"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": "d0f401b8-9f62-4194-9d84-3aab5be1faab",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
},
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
}
]
},
{
"scriptId": "d0f401b8-9f62-4194-9d84-3aab5be1faab",
"name": "sample string 2",
"parameters": "sample string 3",
"vbScript": "sample string 4",
"javaScript": "sample string 5",
"events": [
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
},
{
"id": "50582a46-2809-44e9-b165-fc1df3f7f081",
"eventType": 1,
"sourceControlId": "cdfbc674-371f-437a-9f25-5bec1ec799cc"
}
]
}
],
"success": true,
"mobileNotifications": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
},
"isLast": true,
"groupId": 1,
"formVersion": 1,
"coSignatures": [
{
"coSignatureId": "707d281e-14d1-4149-8228-9371453da8a2",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
},
{
"coSignatureId": "707d281e-14d1-4149-8228-9371453da8a2",
"description": "sample string 2",
"policy": 0,
"sortOrder": 3,
"userTypeIds": [
1,
2
]
}
],
"caption": "sample string 3",
"name": "sample string 4"
}
]