GET /api-web/api/dms/forms/{objecttype}
As of Version | product version 2020 Autumn | component version | ||||||||
---|---|---|---|---|---|---|---|---|---|
Request Method | GET | ||||||||
Response Format | JSON | ||||||||
Description | Retrieves the default form for the object type specified by object type ID Returns Behind the object type ID, add the query parameter Response HTTP status codes:
| ||||||||
Request Example |
| ||||||||
Response 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" } ] } ] } ] } ] } ] } true } |