Get Presentation For Interaction

Get Presentation For Interaction

Retrieves the definition of a user interaction presentation. To retrieve the definition of a user interaction presentation, make an HTTP GET request at the URL of the presentation. Pass the workflow and execution IDs as a path variable. To retrieve the user interaction presentation definition localized, add Accept-Language header, with the appropriate locale. In advance, localization resource should be present for the workflow of the user interaction, otherwise it defaults to the standard user interaction presentation definition.

Request
URI
GET
https://{api_host}/vco/api/workflows/{workflowId}/executions/{executionId}/interaction/presentation
COPY
Path Parameters
string
workflowId
Required

workflowId

string
executionId
Required

executionId


Responses
200

The request is successful

Returns presentation of type(s) application/json
{
    "steps": [
        {
            "readOnly": false,
            "elements": [
                {
                    "id": "string",
                    "hidden": false,
                    "display-name": "string",
                    "description": "string",
                    "messages": [
                        {
                            "Summary": "string",
                            "Details": "string",
                            "severity": "string",
                            "code": "string"
                        }
                    ]
                }
            ],
            "id": "string",
            "description": "string",
            "display-name": "string",
            "hidden": false,
            "messages": [
                {
                    "Summary": "string",
                    "Details": "string",
                    "severity": "string",
                    "code": "string"
                }
            ]
        }
    ],
    "href": "string",
    "relations": {
        "total": 0,
        "start": 0,
        "link": [
            {
                "attribute": [
                    {
                        "displayValue": "string",
                        "value": "string",
                        "name": "string"
                    }
                ],
                "href": "string",
                "type": "string",
                "rel": "string"
            }
        ]
    },
    "id": "string",
    "name": "string",
    "description": "string",
    "inputParameters": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "outputParameters": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ]
}
array of StepInfo
steps
Optional

steps

string
href
Optional

href

relations
Optional

relations

string
id
Optional

id

string
name
Optional

name

string
description
Optional

description

array of parameter
inputParameters
Optional

inputParameters

array of parameter
outputParameters
Optional

outputParameters


401

The user is not authorized

Operation doesn't return any data structure

404

Cannot find a workflow with the specified ID or the user does not have 'read' access rights for that workflow

Operation doesn't return any data structure