Get Presentation For

Get Presentation For

Retrieves the definition of a workflow presentation. To retrieve the workflow presentation definition localized, add Accept-Language header, with the appropriate locale. In advance, localization resource should be present for the workflow, otherwise it defaults to the standard workflow presentation definition.

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

workflowId


Responses
200

The request is successful

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

name

string
description
Optional

description

string
href
Optional

href

string
id
Optional

id

relations
Optional

relations

array of StepInfo
steps
Optional

steps

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