Update Resource Operation

Update Resource Operation

Updates a resource operation by primary key within the current tenant

Request
URI
PUT
https://{api_host}/advanced-designer-service/api/resourceOperations/{resourceOperationId}
COPY
Path Parameters
string
resourceOperationId
Required

The id of resource operation to update


Request Body

The entity to use for updating the state

CsResourceOperation of type(s) application/json
Required
{
    "iconId": "string",
    "access": "string",
    "inputParameter": {
        "name": "string",
        "id": "string",
        "resourceType": {
            "externalTypeName": "string",
            "access": "string",
            "reservationTypeId": "string",
            "mappingWorkflowId": "string",
            "builtIn": false,
            "externalTypeId": "string",
            "description": "string",
            "mappingScriptActionFqn": "string",
            "version": {
                "major": 0,
                "minor": 0,
                "micro": 0,
                "version": "string",
                "revision": 0
            },
            "vcoType": "string",
            "listLayout": {
                "pages": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "sections": [
                            {
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {}
                                    ]
                                },
                                "rows": [
                                    {
                                        "items": [
                                            {
                                                "size": 0
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            "detailsForm": {
                "form": {
                    "designerLayout": {
                        "pages": [
                            {
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {}
                                    ]
                                },
                                "sections": [
                                    {
                                        "designerHidden": false,
                                        "id": "string",
                                        "label": "string",
                                        "state": {
                                            "dependencies": [
                                                "string"
                                            ],
                                            "facets": [
                                                {}
                                            ]
                                        },
                                        "rows": [
                                            {
                                                "items": [
                                                    {
                                                        "size": 0
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    "name": "string"
                },
                "scenario": {
                    "usageClass": "string",
                    "id": "string"
                },
                "id": "string"
            },
            "providerId": "string",
            "mappingWorkflow": {
                "name": "string",
                "description": "string",
                "id": "string",
                "inputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ],
                "outputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ]
            },
            "name": "string",
            "tenantId": "string",
            "id": {
                "id": "string",
                "tenant": "string"
            },
            "mappingScriptAction": {
                "fqn": "string",
                "name": "string",
                "description": "string",
                "resultContentType": {
                    "typeId": "string"
                },
                "inputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ],
                "resultType": "string"
            },
            "categoryId": "string"
        }
    },
    "builtIn": false,
    "description": "string",
    "version": {
        "major": 0,
        "minor": 0,
        "micro": 0,
        "version": "string",
        "revision": 0
    },
    "disposal": false,
    "name": "string",
    "statusName": "string",
    "provisionAsChild": false,
    "id": {
        "id": "string",
        "tenant": "string"
    },
    "outputParameter": {
        "name": "string",
        "id": "string",
        "resourceType": {
            "externalTypeName": "string",
            "access": "string",
            "reservationTypeId": "string",
            "mappingWorkflowId": "string",
            "builtIn": false,
            "externalTypeId": "string",
            "description": "string",
            "mappingScriptActionFqn": "string",
            "version": {
                "major": 0,
                "minor": 0,
                "micro": 0,
                "version": "string",
                "revision": 0
            },
            "vcoType": "string",
            "listLayout": {
                "pages": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "sections": [
                            {
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {}
                                    ]
                                },
                                "rows": [
                                    {
                                        "items": [
                                            {
                                                "size": 0
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            "detailsForm": {
                "form": {
                    "designerLayout": {
                        "pages": [
                            {
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {}
                                    ]
                                },
                                "sections": [
                                    {
                                        "designerHidden": false,
                                        "id": "string",
                                        "label": "string",
                                        "state": {
                                            "dependencies": [
                                                "string"
                                            ],
                                            "facets": [
                                                {}
                                            ]
                                        },
                                        "rows": [
                                            {
                                                "items": [
                                                    {
                                                        "size": 0
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    "name": "string"
                },
                "scenario": {
                    "usageClass": "string",
                    "id": "string"
                },
                "id": "string"
            },
            "providerId": "string",
            "mappingWorkflow": {
                "name": "string",
                "description": "string",
                "id": "string",
                "inputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ],
                "outputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ]
            },
            "name": "string",
            "tenantId": "string",
            "id": {
                "id": "string",
                "tenant": "string"
            },
            "mappingScriptAction": {
                "fqn": "string",
                "name": "string",
                "description": "string",
                "resultContentType": {
                    "typeId": "string"
                },
                "inputParameters": [
                    {
                        "name": "string",
                        "type": "string"
                    }
                ],
                "resultType": "string"
            },
            "categoryId": "string"
        }
    },
    "workflowId": "string",
    "catalogRequestInfoHidden": false,
    "forms": [
        {
            "form": {
                "designerLayout": {
                    "pages": [
                        {
                            "id": "string",
                            "label": "string",
                            "state": {
                                "dependencies": [
                                    "string"
                                ],
                                "facets": [
                                    {}
                                ]
                            },
                            "sections": [
                                {
                                    "designerHidden": false,
                                    "id": "string",
                                    "label": "string",
                                    "state": {
                                        "dependencies": [
                                            "string"
                                        ],
                                        "facets": [
                                            {}
                                        ]
                                    },
                                    "rows": [
                                        {
                                            "items": [
                                                {
                                                    "size": 0
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                "name": "string"
            },
            "scenario": {
                "usageClass": "string",
                "id": "string"
            },
            "id": "string"
        }
    ],
    "status": "string"
}
string
iconId
Optional

iconId

string
access
Optional

access

targetCriteria
Optional

targetCriteria

inputParameter
Optional

inputParameter

boolean
builtIn
Optional

builtIn

string
description
Optional

description

version
Optional

version

boolean
disposal
Optional

disposal

string
name
Required

name

string
statusName
Optional

statusName

boolean
provisionAsChild
Optional

provisionAsChild

id
Optional

id

outputParameter
Optional

outputParameter

string
workflowId
Required

workflowId

boolean
catalogRequestInfoHidden
Optional

catalogRequestInfoHidden

forms
Optional

forms

string
status
Required

status

Possible values are : DRAFT, PUBLISHED, RETIRED,
Responses
200

successful operation

Operation doesn't return any data structure

204
Operation doesn't return any data structure