Retrieves the metadata Of multiple dynamic elements In single call. It combines the retrieval Of element's ElementState and the list Of permissible values for each element.

Retrieves the metadata Of multiple dynamic elements In single call. It combines the retrieval Of element's ElementState and the list Of permissible values for each element.

Retrieves the metadata of multiple dynamic elements in single call. It combines the retrieval of element's ElementState and the list of permissible values for each element.

Request
URI
POST
https://{api_host}/work-item-service/api/workitems/{id}/form/update
COPY
Path Parameters
string
Required

Request Body
batchElementUpdateRequest of type(s) application/json
Required
"batchElementUpdateRequest Object"
object
formValues
Required

Equivalent of java.util.Map

object
headers
Optional

Equivalent of java.util.Map

string
trigger
Optional

trigger

object
triggeredDetailsLayout
Optional

triggeredDetailsLayout

array of string
affectedElements
Optional

affectedElements

Responses
200

successful operation

Returns formUpdateResponse of type(s) */*
{
    "elementUpdates": [
        {
            "permissibleValues": [
                {
                    "label": "string",
                    "underlyingValue": {}
                }
            ],
            "extensionRendererContext": {
                "entries": [
                    {
                        "value": {},
                        "key": "string"
                    }
                ]
            },
            "facetValues": {
                "facets": [
                    {
                        "type": "string",
                        "value": {}
                    }
                ]
            },
            "id": "string",
            "detailLayout": {
                "pages": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {
                                    "value": {}
                                }
                            ]
                        },
                        "sections": [
                            {
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {
                                            "value": {}
                                        }
                                    ]
                                },
                                "rows": [
                                    {
                                        "items": [
                                            {
                                                "size": 0
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            "errors": [
                "string"
            ]
        }
    ]
}
array of object
elementUpdates
Optional

elementUpdates


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/work-item-service/api/workitems/{id}/form/update