POST /api-web/api/system/dms/forms/{objecttype}
As of Version | product version 2020 Autumn | component version | ||||||||
---|---|---|---|---|---|---|---|---|---|
Request Method | POST | ||||||||
Response Format | JSON | ||||||||
Required Permission | Available if listed in | ||||||||
Description | Updates a global or app-specific not enriched form identified by object type ID Behind the object type ID, add the query parameter As of 2022 Autumn, an optional query parameter The response body is a JSON structure with the list Response HTTP status codes:
| ||||||||
Request Example |
request body { "name": "email", "situation": "EDIT", "script": "a valid script", "elements": [ { "name": "core", "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "type": "o2mGroupStack", "elements": [ { "name": "emaildatagroup", "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "readonly": true, "name": "subject", "type": "string", "rows": 1 }, { "type": "o2mGroup", "layout": { "align": "row" }, "elements": [ { "type": "o2mGroupStack", "elements": [ { "name": "Addresses", "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "readonly": true, "name": "from", "type": "string", "rows": 1 }, { "readonly": true, "name": "to", "type": "string", "rows": 1 } ] } ] } ] } ] }, { "name": "appClient:titledescription", "type": "o2mGroup", "layout": { "align": "column" }, "elements": [ { "readonly": true, "name": "appClient:clientdescription", "type": "string", "rows": 1 }, { "type": "o2mGroup", "layout": { "align": "row" }, "elements": [] } ] } ] } ] }, { "name": "data", "type": "o2mGroupStack", "elements": [] } ] } | ||||||||
Response Example |
response body { "errors": [], "valid": true } true } |