Update Presentation

Update Presentation

Update a specific workflow execution user interaction presentation instance. Presentation fields are populated with input parameter values and are validated. If there are any validation errors, they are collected and attached to each field. The presentation is marked as invalid.

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

workflowId

string
executionId
Required

executionId


Request Body
execution-context of type(s) application/json
Optional
{
    "executionId": "string",
    "parameter": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "profilerOptions": {
        "enabled": false,
        "debuggerEnabled": false
    }
}
string
executionId
Optional

executionId

array of parameter
parameter
Optional

parameter

profilerOptions
Optional

profilerOptions

Responses
200

The request is successful

Returns execution 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"
                }
            ]
        }
    ],
    "parameters": [
        {
            "description": "string",
            "value": {
                "objectType": "string"
            },
            "type": "string",
            "name": "string",
            "scope": "string",
            "updated": false,
            "encrypt-value": false
        }
    ],
    "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",
    "object-id": "string",
    "valid": false,
    "start-date": "string",
    "started-by": "string"
}
array of StepInfo
steps
Optional

steps

array of parameter
parameters
Optional

parameters

string
href
Optional

href

relations
Optional

relations

string
id
Optional

id

string
name
Optional

name

string
description
Optional

description

string
object-id
Optional

object-id

boolean
valid
Optional

valid

string As date-time As date-time
start-date
Optional

start-date

string
started-by
Optional

started-by


400

The request is invalid (there's a validation error)

Operation doesn't return any data structure

401

The user is not authorized

Operation doesn't return any data structure

403

The user does not have 'read' access rights for that workflow

Operation doesn't return any data structure

404

Cannot find a workflow with the specified ID, or presentation instance for executionId does not exist

Operation doesn't return any data structure