Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider.

Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider.

Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider. If the current user has WRITE access to this form, The submission form is returned, otherwise the details form is returned.

Request
URI
GET
https://{api_host}/work-item-service/api/workitems/{id}/form
COPY
Path Parameters
string
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