Creates A generic form

Creates A generic form

Creates a generic form

Request
URI
POST
https://{api_host}/advanced-designer-service/api/forms
COPY
Request Body

The form to save

GenericForm of type(s) application/json
Required

Show optional properties

{
    "name": "string",
    "tenant": "string"
}
{
    "layout": {
        "pages": [
            {
                "id": "string",
                "label": "string",
                "state": {
                    "dependencies": [
                        "string"
                    ],
                    "facets": [
                        {
                            "value": {}
                        }
                    ]
                },
                "sections": [
                    {
                        "designerHidden": false,
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {
                                    "value": {}
                                }
                            ]
                        },
                        "rows": [
                            {
                                "items": [
                                    {
                                        "size": 0
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "name": "string",
    "description": "string",
    "id": "string",
    "tenant": "string"
}
object
layout
Optional

layout

string
name
Required
Constraints: minLength: 1 maxLength: 255

name

string
description
Optional
Constraints: minLength: 0 maxLength: 2000

description

string As uuid As uuid
id
Optional

id

string
tenant
Required
Constraints: minLength: 1 maxLength: 255

tenant

Responses
200

successful operation

Operation doesn't return any data structure

201
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","tenant:"string"}' https://{api_host}/advanced-designer-service/api/forms