POST /api-web/api/admin/dms/forms/{objecttype}
As of Version | product version 2020 Autumn | component version | ||||||||
---|---|---|---|---|---|---|---|---|---|
Request Method | POST | ||||||||
Response Format | JSON | ||||||||
Description | Updates not enriched form by object type ID Behind the object type ID, add the query parameter The response body is a JSON structure with the list The role YUUVIS_TENANT_ADMIN is required. Response HTTP status codes:
| ||||||||
Request Example |
response body { "name": "tenMytenant:qadocscripts", "situation": "EDIT", "script": "any valid script", "elements": [ { "name": "core", "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "name": "appClient:clienttitle", "type": "string", "rows": 1 }, { "name": "appClient:clientdescription", "type": "string", "rows": 1 } ] }, { "name": "data", "type": "o2mGroupStack", "elements": [ { "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "type": "o2mGroup", "layout": { "align": "row" }, "elements": [ { "type": "o2mGroup", "layout": { "align": "row" }, "elements": [ { "name": "tenMytenant:strsingle", "type": "string", "rows": 1 }, { "name": "tenMytenant:strsinglemail", "type": "string", "rows": 1 } ] }, { "type": "o2mGroup", "layout": { "align": "row" }, "elements": [ { "name": "tenMytenant:intsingle", "type": "integer" }, { "name": "tenMytenant:intsingledigit", "type": "integer" } ] } ] } ] } ] } ] } | ||||||||
Response Example |
response body { "errors": [], "valid": true } true} |