Retrieve A form.

Retrieve A form.

Retrieve a form.

Request
URI
GET
https://{api_host}/approval-service/api/cafe-forms/forms/{formId}/{instanceId}
COPY
Path Parameters
string
formId
Required

The form id

string
instanceId
Required

The instance id

Query Parameters
object
Required

Responses
200

successful operation

Returns form of type(s) */*
{
    "layout": {
        "pages": [
            {
                "id": "string",
                "label": "string",
                "state": {
                    "dependencies": [
                        "string"
                    ],
                    "facets": [
                        {}
                    ]
                },
                "sections": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "rows": [
                            {
                                "items": [
                                    {
                                        "size": 0
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "fieldPrefixes": [
        "string"
    ],
    "values": {
        "entries": [
            {
                "key": "string"
            }
        ]
    }
}
layout
Optional

layout

array of string
fieldPrefixes
Optional

fieldPrefixes

values
Optional

values